Camera Quick Launch - Sony Xperia ZR

Hi all,
The camera quick launch from standby mode doesn't work when I migrated into cm10.1
Searching around the thread, it seems like I can make it work by modifying some .kl files in system/usr/keylayout
I tried editing each and every .kl files but to no luck, the quick launch for camera still does not work.
Can any stock ROM user with root post me their .kl files found in system/usr/keylayout for my reference?
Thank you

nah. here u go...

chewdaniel said:
nah. here u go...
Click to expand...
Click to collapse
You're my man!
Thanks!

Tried to include the key 212 CAMERA line into different .kl files again.
Can't make my camera launch from standby mode.
Any advise anyone?

Hi guys,
Need some help in obtaining the android.policy.jar from STOCK Sony ROM.
Need it to compare the smali code and do the camera quick launch feature in cm10.1.
Your help is much appreciated.
Thanks.

Related

Two "Taskbar" Questions

So I have two questions regarding the icons in the "taskbar" (ie 3G, BT, WIFI, time, etc)...
1. Is it possible to make these icons smaller? If I have Service, BT on and the phone on Vibrate the taskbar gets filled up pretty quickly and I was wondering if there was a way to shrink these down?
2. Has anyone been able to replace the battery icon with a percentage?
Thanks.
Stigy said:
So I have two questions regarding the icons in the "taskbar" (ie 3G, BT, WIFI, time, etc)...
1. Is it possible to make these icons smaller? If I have Service, BT on and the phone on Vibrate the taskbar gets filled up pretty quickly and I was wondering if there was a way to shrink these down?
2. Has anyone been able to replace the battery icon with a percentage?
Thanks.
Click to expand...
Click to collapse
Any of that is possible by editing the .xml files.
supremeteam256 said:
Any of that is possible by editing the .xml files.
Click to expand...
Click to collapse
So I would have to edit these .xml files (location?) and then resign the update and flash my phone?
Stigy said:
So I would have to edit these .xml files (location?) and then resign the update and flash my phone?
Click to expand...
Click to collapse
You can't edit the compiled xml files straight from an apk. You'd have to rebuild that apk from the source.
goldenarmZ said:
You can't edit the compiled xml files straight from an apk. You'd have to rebuild that apk from the source.
Click to expand...
Click to collapse
Okay so do you know which apk the battery icon is in?
I'm surprised no one has replaced the battery icon with a percentage yet.
Thanks.
I *think* it's in framework-res.. let me just check.
Edit: yep.. /system/framework/framework-res.apk
goldenarmZ said:
I *think* it's in framework-res.. let me just check.
Edit: yep.. /system/framework/framework-res.apk
Click to expand...
Click to collapse
Okay so I can go in there, edit the files accordingly and just re-push that file via adb correct? I would have NO idea what I was doing a few months back. Its so awesome to be involved in these forums.
Thanks in advance.
Stigy said:
Okay so I can go in there, edit the files accordingly and just re-push that file via adb correct? I would have NO idea what I was doing a few months back. Its so awesome to be involved in these forums.
Thanks in advance.
Click to expand...
Click to collapse
You can edit the images that way, but if you want to edit the xml's you'll have to pull them from the android source and recompile through eclipse. The xml files within an apk are in binary format and you can only really change them with a hex editor.. not very practical.
The documentation here will help you get started with the source:
http://source.android.com/download
You might also want to run through the "hello world" project to get used to compiling with eclipse.
Once you start digging around in the source you're getting deep into the geek sh*t.. It may seem daunting at first but you can accomplish so much.
This falls under "theming".. theres some good info for you here:
http://forum.xda-developers.com/showthread.php?t=471586
goldenarmZ said:
You can edit the images that way, but if you want to edit the xml's you'll have to pull them from the android source and recompile through eclipse. The xml files within an apk are in binary format and you can only really change them with a hex editor.. not very practical.
The documentation here will help you get started with the source:
http://source.android.com/download
You might also want to run through the "hello world" project to get used to compiling with eclipse.
Once you start digging around in the source you're getting deep into the geek sh*t.. It may seem daunting at first but you can accomplish so much.
This falls under "theming".. theres some good info for you here:
http://forum.xda-developers.com/showthread.php?t=471586
Click to expand...
Click to collapse
Perfect, thanks.

Toggle Buttons in Statusbar

Hi, I've searched thoroughly through this and other forums, but this topic doesn't seem to interest many people...and even when there are questions, answers are often imprecise and evasive.
I'd like to know how to modify the toggle buttons in my statusbar. I want to remove the orientation switch (who uses it, seriously?), and add (for a total of 6 buttons), toggle data and 2G/3G switch...is that possible? Yes it is, it's Android
But how to do it? Is there a guide or even some files ready for flashing? I'd like to get rid of Extended Controls once and for all...
Thanks in advance, looking forward for an answer
Unfortunately it's not possible to edit those buttons on the Stock LG ROM.
remczar69 said:
Unfortunately it's not possible to edit those buttons on the Stock LG ROM.
Click to expand...
Click to collapse
Another good reason to switch to a cooked ROM
Anyway, can you post anything you are willing to (links to guides, files...) for doing this on other ROMs? And maybe a list of ROMs that allow this operation (or, at least, the characteristic they need to have, for example a certain kernel or other stuff).
Thanks in advance
I know for sure that CM 7 has that possibility. I use CM7 it is pretty stable for me.
it it possible to hide the buttons?
(using modaco r19)
thx
lixeira said:
it it possible to hide the buttons?
(using modaco r19)
thx
Click to expand...
Click to collapse
cook rom without buttons, you can choose in kitchen
75markus said:
cook rom without buttons, you can choose in kitchen
Click to expand...
Click to collapse
i know ... dont have modaco premium account
you can use apk manager to decompile the framework-res.apk file
then modify a file called status_bar_expanded.xml (found in /res/layout)
then compile it
i have made the edits to the files, but i cant get it do compile again
(attached the xml file, rename the file back to .xml)
Mjuksel said:
you can use apk manager to decompile the framework-res.apk file
then modify a file called status_bar_expanded.xml (found in /res/layout)
then compile it
i have made the edits to the files, but i cant get it do compile again
(attached the xml file, rename the file back to .xml)
Click to expand...
Click to collapse
Not that skilled yet still learning ... but thanks
i'm not that skilled either so don't mind it
i just can't get it to recompile

[q] icon size!!

GUys, can any one tell me how we can increase the SIze of our icons in TOuchwiz!!?. any way!!, I have rooted my device and I am running xxlt5 Rom by Mr.Thaidai!!? any way??
Help would be appreciated!!
NoteboyTech said:
GUys, can any one tell me how we can increase the SIze of our icons in TOuchwiz!!?. any way!!, I have rooted my device and I am running xxlt5 Rom by Mr.Thaidai!!? any way??
Help would be appreciated!!
Click to expand...
Click to collapse
Decompile SecLauncher2.apk and change parameters in dimens.xml in res/values-sw399dp. Compile and push to your device.
THanks for the reply!!
ThaiDai said:
Decompile SecLauncher2.apk and change parameters in dimens.xml in res/values-sw399dp. Compile and push to your device.
Click to expand...
Click to collapse
Sir, Wish I knew all that!!.. I am a NOOB! Sorry.. but it would be a gr8 help if you tell me how to do that!!
NoteboyTech said:
Sir, Wish I knew all that!!.. I am a NOOB! Sorry.. but it would be a gr8 help if you tell me how to do that!!
Click to expand...
Click to collapse
No, I will not make a tutorial how to decompile/compile apps, change values in files etc.
Why? Because they all here in XDA - in many different forms and versions and "granularity". And I do not have the time for making the hundredth one right now, sorry.
And if you are really a Noob there would be many many questions from you more.
I searched myself and learned by reading and trying. It is not so difficult - but of course you have to put some energy and time into it.
If you want to change system files - learn. If you do not want to - use what is provided.
By the way: if you make icons bigger you only might get 3x3 or 4x4 on the home screen. Is that really what you need?
NoteboyTech said:
GUys, can any one tell me how we can increase the SIze of our icons in TOuchwiz!!?. any way!!, I have rooted my device and I am running xxlt5 Rom by Mr.Thaidai!!? any way??
Help would be appreciated!!
Click to expand...
Click to collapse
you could use "giganticon" app from the playstore
it won't change the icon size in the app drawer but you can put the huge icons on the home screen instead
Donno if this is what you are looking for....
Well, download the apk of the launcher and open it. You'll find a folder called res/values-sw399 dp. In that edit the values in the file dimens.xml and set the values you want. And recompile it. How To recompile, change values in that .xml file, you can search these processes individually.
Can't Understand!!!
Varad297 said:
Well, download the apk of the launcher and open it. You'll find a folder called res/values-sw399 dp. In that edit the values in the file dimens.xml and set the values you want. And recompile it. How To recompile, change values in that .xml file, you can search these processes individually.
Click to expand...
Click to collapse
Bro, i am not able to find the specified file!!..
If you want to check you can check these files are not present!!!
ThaiDai said:
No, I will not make a tutorial how to decompile/compile apps, change values in files etc.
Why? Because they all here in XDA - in many different forms and versions and "granularity". And I do not have the time for making the hundredth one right now, sorry.
And if you are really a Noob there would be many many questions from you more.
I searched myself and learned by reading and trying. It is not so difficult - but of course you have to put some energy and time into it.
If you want to change system files - learn. If you do not want to - use what is provided.
By the way: if you make icons bigger you only might get 3x3 or 4x4 on the home screen. Is that really what you need?
Click to expand...
Click to collapse
Yes actually I want a 5x4 Menu grid on my Galaxy Note
NoteboyTech said:
Yes actually I want a 5x4 Menu grid on my Galaxy Note
Click to expand...
Click to collapse
go here get the tools n learn it http://forum.xda-developers.com/showthread.php?t=2038675
everything is provided by majdinj

Enable KitKat Mobile Data Toggle (zip)

I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
How are these .Zip files flashed since it can't be done through stock recovery. Through "Flash gordon"? Is that the most stable way?
mikelets456 said:
How are these .Zip files flashed since it can't be done through stock recovery. Through "Flash gordon"? Is that the most stable way?
Click to expand...
Click to collapse
I you dont have safestrap then use flash gordon.Ive never used it before so let me know if it works. Really you should just install safestrap and be done with it.
blaz1nr said:
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
Click to expand...
Click to collapse
Nice work @blaz1nr, just installed vis SS, works great and glad to have this back :good:
Good job
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
Kool
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
You DA bomb! Thank you, thank you! :beer:
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
Thank you sooo much. This is perfect!
blaz1nr said:
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
Click to expand...
Click to collapse
Sorry to ask this, but does this work on the note 3 4.4.2?
And has anyone tried using flash Gordon to flash this? Does it work?
Possible flashlight toggle solution?
blaz1nr said:
I made this for me but I thought why not share. I enabled data toggle for quick settings. Just flash zip and profit.
Any other toggles you may want just post request.Flashlight requires xml editing which I really dont want to do,so i might not get around to enabling this. If you like my work please give thanks.Enjoy. If you press reset in toggles you will need to reinstall this mod.
Click to expand...
Click to collapse
Hey @blaz1nr I found this thread in the Sprint Galaxy S III forum about modding SystemUI.apk and SecSettings.apk for the purpose of creating a flashlight toggle for quick settings. It's sprinkled with S4 and S5 users who (if I read correctly) had various levels of success.
http://forum.xda-developers.com/showthread.php?t=2617552&highlight=decompile
Anyway, I've been trying my hand at modding system apk's lately (I edited one of the xml files in PopupuiReceiver.apk to disable those annoying battery cover notifications), and I wanted to give this a shot because I'd really like a flashlight toggle in the drop down menu. Unfortunately every time I try to decompile either SystemUI.apk and SecSettings.apk, the directories and files I'm supposed to be working on aren't showing up. I've decompiled/recompiled successfully before, and now I've tried virtuous ten studio, apk-multi-tool, and apktool, and every time I have this problem decompiling. So what I'm trying to say is I'd be happy to try my hand at doing the xml editing for you, I just can't seem to completely decompile the apps in question. So either someone please tell me what I'm doing wrong decompiling these apk's (I've searched everywhere and none of the supposed fixes have changed anything) or even better, if someone wants to decompile those apk's themselves and share with me, I'll get to work ASAP. Or if I'm wrong/being a stupid n00b, etc. let me know. For anyone else interested, these two apk's are in system/priv-app, not system/app (I had trouble finding them at first, because, again, n00b).
TLDR: Help me decompile these apk's or do it for me and send me the files, and maybe I can make us a dropdown flashlight toggle
Update: I got the directories and files I needed and I've been able to edit everything, but there's a new twist. I had to deodex SystemUI.apk and SecSettings.apk using Universal Deodexer, in order to access those elusive files and directories. I'm getting compile errors when I try to recompile, and even if it did compile successfully, I have no freakin' clue how much I could potentially screw up the phone by replacing the regular old apk files with the deodexed ones I created. There's a plethora of information and guides on deodexing apks, but not so much support on odexing them (re-odexing them?). I feel like I might be close to getting this working, but if anyone out there has this knowledge and/or is as fixated as I am on a drop-down flashlight toggle, help would be appreciated.
Got it working. I was being an idiot n00b and forgot the relatively minor step of de-odexing my stock rom. Once that was done it was as easy as following the directions on that thread I linked to. The actual LED light lagged like crazy the first time I actually tried the new toggle, but since then it's been smooth and instantaneous. Hope this helps someone
Worked as a charm. Thank you!
Comfirmed worked on NH3 !

AOSP 6.0.1 keyboard

could someone pull and upload the 6.0.1. aosp keyboard? I am on stock but would like to use the AOSP keyboard since (from what I can tell) is the only keyboard with all the new emojis. I have tried the stock google keyboard and the modded keyboard that is floating around. Neither have the options that the AOSP keyboard has. Thanks!!
mattlowry said:
could someone pull and upload the 6.0.1. aosp keyboard? I am on stock but would like to use the AOSP keyboard since (from what I can tell) is the only keyboard with all the new emojis. I have tried the stock google keyboard and the modded keyboard that is floating around. Neither have the options that the AOSP keyboard has. Thanks!!
Click to expand...
Click to collapse
Here you go. Although it's my understanding that anyone not on 6.0.1 can't see the new emojis. (I could be wrong)
https://drive.google.com/file/d/0B_VyBYecMnQoejFnNm0wWWdmZVU/view?usp=docslist_api
shel692 said:
Here you go. Although it's my understanding that anyone not on 6.0.1 can't see the new emojis. (I could be wrong)
https://drive.google.com/file/d/0B_VyBYecMnQoejFnNm0wWWdmZVU/view?usp=docslist_api
Click to expand...
Click to collapse
Thanks!! Im on 6.0.1 so i should be good
shel692 said:
Here you go. Although it's my understanding that anyone not on 6.0.1 can't see the new emojis. (I could be wrong)
https://drive.google.com/file/d/0B_VyBYecMnQoejFnNm0wWWdmZVU/view?usp=docslist_api
Click to expand...
Click to collapse
I think i may be missing a lib or something. In your app folder that you pulled this from, is there a lib folder? Could you get me that file as well? I would appreciate it!
Oops. Here it is.
https://drive.google.com/file/d/0B_VyBYecMnQoSjJueUtiZHE1VzQ/view?usp=docslist_api
This keeps crashing for me. It won't even show me the keyboard. Just ups and crashes, even with the .so file.
EDIT: nvm it needed an arm folder inside the lib folder. What does libjni_keyboarddecoder.so do? Is it required for the AOSP keyboard?
txtsd said:
This keeps crashing for me. It won't even show me the keyboard. Just ups and crashes, even with the .so file.
EDIT: nvm it needed an arm folder inside the lib folder. What does libjni_keyboarddecoder.so do? Is it required for the AOSP keyboard?
Click to expand...
Click to collapse
Do you get it to work? If so, could you explain what to do after the .so file?
Sent from my Nexus 6 using XDA Free mobile app
ogxeman said:
Do you get it to work? If so, could you explain what to do after the .so file?
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
There should be a com.android.inputmethod.latin-1 folder in /data/app/ if you've installed the apk
The .so file goes in /data/app/com.android.inputmethod.latin-1/lib/arm/
(Create those last two folders)
txtsd said:
There should be a com.android.inputmethod.latin-1 folder in /data/app/ if you've installed the apk
The .so file goes in /data/app/com.android.inputmethod.latin-1/lib/arm/
(Create those last two folders)
Click to expand...
Click to collapse
Ok I created the arm folder in the lib and put the linked .so file in there but it's still not working? Am I missing anything?
ogxeman said:
Ok I created the arm folder in the lib and put the linked .so file in there but it's still not working? Am I missing anything?
Click to expand...
Click to collapse
What's it doing? Is it just crashing whenever the keyboard needs to come up?
Try reinstalling it. See if that fixes it. Or a reboot.
if anyone is still struggling with this. after you copy over the lib., you need to change the attributes (of the lib) to -rw-r--r
jewnersey said:
if anyone is still struggling with this. after you copy over the lib., you need to change the attributes (of the lib) to -rw-r--r
Click to expand...
Click to collapse
I tried this keyboard with the attributes of lib -rw-r--r but it doesn't found, then I tried rwxr-xr-x and it started to work!
Will the darkcloud additions help anyone for the keyboard lib?
http://own.darkcloud.ca:90/Android-Builds/?C=N;O=A
Both links show no file. Says it doesn't exist.. Could you (or someone else) provide me a link tot aosp 6.0.1 keyboard APK?
Link is dead, reupload please.
here try this. *NOT a flashable zip
Hello
How to add .so files? My ESS explorer dont show data folder. Need root? I have Samsung S7, and I woud like to use AOSP keyboad on stock rom without root. It is possible?
Thx
redcat30 said:
Hello
How to add .so files? My ESS explorer dont show data folder. Need root? I have Samsung S7, and I woud like to use AOSP keyboad on stock rom without root. It is possible?
Thx
Click to expand...
Click to collapse
You need root
mattlowry said:
here try this. *NOT a flashable zip
Click to expand...
Click to collapse
Thank you for this! I found that this version had been customized tho, so I modified the framework of this apk to be as close to stock as possible. Here is a flashable zip ?
https://drive.google.com/file/d/0B-fM6Dv2sEB0WGItdUVxaFBlS0E/view?usp=drivesdk
I use this on my G930FD Galaxy S7
Sent from my SM-G935F using XDA-Developers mobile app

Categories

Resources