[Q] Vending mod issue - Eee Pad Transformer Q&A, Help & Troubleshooting

So I modifed the vending.apk by changing some of the colors in the xml and by theming some of the png files. I recompiled it and everything compiled fine. I signed it and then flashed it and it said that it installed yet when it boots up I still have the old marketplace. Any help would be appreciated. I have the file attached.

Did you replace it in /system/app?

freeza said:
Did you replace it in /system/app?
Click to expand...
Click to collapse
I used the same install script that I used on the Gmail that I modified and it installed correctly.

If google has updated the market, it may be in data/app and is using thst one instead

freeza said:
If google has updated the market, it may be in data/app and is using thst one instead
Click to expand...
Click to collapse
No it is in system/app...looks like I got it to install...I just need to do more modifications to it.

In the public.xml is has lines like this
<public type="color" name="header_background_highdarkTransparent1" id="0x7f090029" />
<public type="color" name="header_background_highdark2" id="0x7f09002a" />
<public type="color" name="light_foreground" id="0x7f09002b" />
<public type="color" name="black" id="0x7f09002c" />
<public type="color" name="white" id="0x7f09002d" />
<public type="color" name="header_text" id="0x7f09002e" />
What does id="0x7f09002e mean? is that a color? I do not recognize that as a color.

So no one can tell me what the above means?

Related

Adding background to application problem, need DEV help asap!

This is my FIRST time trying something like this so bear with me...
So I'm really trying to make my froyo rom look like my old SE 2.1 rom...
I've been trying to add a background to the ORIGINAL SE calculator.apk (ORIGINAL Calculator.apk is below). I used apktool to decomplie it and build it with my modifications.
I edited androidmanifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="7" android:versionName="2.1-update1" package="com.android.calculator2"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" />
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:theme="@style/calcBackgroundTheme" android:name="Calculator">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
^I put in the line <activity android:theme="@style/calcBackgroundTheme"
and I edited the Styles.xml in the values folder..
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="button_style">
<item name="android:textSize">40.0dip</item>
<item name="android:background">@drawable/transparent_button</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_margin">2.0dip</item>
<item name="android:layout_marginLeft">1.0dip</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="digit_button_style" parent="@style/button_style">
<item name="android:background">@drawable/transparent_button</item>
</style>
<style name="button_small_style" parent="@style/button_style">
<item name="android:textSize">30.0dip</item>
</style>
<style name="display_style">
<item name="android:textSize">36.0dip</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:gravity">right|center</item>
<item name="android:padding">8.0dip</item>
<item name="android:scrollbars">none</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:maxLines">1</item>
<item name="android:scrollHorizontally">true</item>
</style>
<style name="calcBackgroundTheme" parent="@android:style/Theme">
<item name="android:windowBackground">@drawable/calc_bg</item>
</style>
</resources>
^I put in <style name="calcBackgroundTheme" parent="@android:style/Theme">
<item name="android:windowBackground">@drawable/calc_bg</item>
</style>
Then I placed my calc_bg.apk in my drawable and drawable_hdpi folders....
Then i built the application and put it on my phone but when I try to install it, it would say application not installed, when i put it through xrecovery it wouldnt show up at all... Did I mess up the background? Is it a signing issue?
The modified Calculator.apk and its decompiled files can be found here
HTML:
http://www.mediafire.com/?i70bh1pzbcmvhbi
Any help is appreciated...please...
Sent from a pyramid in Canadada
egyptshun said:
Any help is appreciated...please...
Sent from a pyramid in Canadada
Click to expand...
Click to collapse
i think its signing issues. not the background issues.
Try that see if its working.
you can't install it as it is a system application. and you should not sign it too.
you need to push it to /system/app through adb or use root explorer and set the right permission.
realunited123 said:
you can't install it as it is a system application. and you should not sign it too.
you need to push it to /system/app through adb or use root explorer and set the right permission.
Click to expand...
Click to collapse
agree with the push it but you should also sign it...
rdannar said:
agree with the push it but you should also sign it...
Click to expand...
Click to collapse
If it's going to /system/app, you don't have to sign it.
I've modified Smart Keyboard Pro and pushed it to /system without signing.
If you are using Root Explorer, copy it into /system/app, replace the original,
then change permissions to rw-r-r (meaning, check all the first column, and the first one from the second) reboot and enjoy!
take the apk file from your froyo rom
open it with 7zip
search in the files to see the backgroung image
change it with anything you want and reinstall the new apk
it's simple
اذا كان هذا قصدك :d
اما اذا انت جالس تبرمج حاجه ثانيه ما اقدر افيدك لووول
لو عاوز اي حاجه تانيه عالبي ام يا مان
Ghaith Alshareef said:
take the apk file from your froyo rom
open it with 7zip
search in the files to see the backgroung image
change it with anything you want and reinstall the new apk
it's simple
Click to expand...
Click to collapse
The original apk points to an image in 2.1 framework-res for the background so he had to add the code that points to an image he added to the apk itself and therefore has to recompile, but not sign since it's a system apk.
It's safe to say My_Immortal knows what she's talking about. If you do what she said & it still doesn't install, check the new code for errors.
Sent from my X10a using XDA App
It still doesn't went to instal with my mods...WTF DO I DO? MY FIRST PROJECT IS LOOKING LIKE MY LAST... GRAHH, STUPID CODES.....
Sent from a pyramid in Canadada
Ghaith Alshareef said:
take the apk file from your froyo rom
open it with 7zip
search in the files to see the backgroung image
change it with anything you want and reinstall the new apk
it's simple
اذا كان هذا قصدك :d
اما اذا انت جالس تبرمج حاجه ثانيه ما اقدر افيدك لووول
لو عاوز اي حاجه تانيه عالبي ام يا مان
Click to expand...
Click to collapse
No bud, thats not what I'm trying to do, thanks tho..
hierarchy666 said:
i think its signing issues. not the background issues.
Try that see if its working.
Click to expand...
Click to collapse
Nope... thanks tho aswell..
egyptshun said:
No bud, thats not what I'm trying to do, thanks tho..
Nope... thanks tho aswell..
Click to expand...
Click to collapse
have you tried addin this
Code:
android:background="@drawable/calc_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
to styles it mite work lol , but dont give up dude
jase81 said:
have you tried addin this
Code:
android:background="@drawable/calc_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
to styles it mite work lol , but dont give up dude
Click to expand...
Click to collapse
Isnt it already there?
Sent from a pyramid in Canadada

[Q][HARD] App XML Font Color Editing

Hey guys I am trying to edit the mms.apk so that all the text color is cyan. I have NinjaMorph but I don't know which xml file the text part is in. My question is where the xml file is so i can edit it.
The drawables.xml has the following values:
Code:
<item type="drawable" name="text_color">#ffffffff</item>
<item type="drawable" name="text_color_red">#ffff0000</item>
<item type="drawable" name="text_color_black">#ff000000</item>
<item type="drawable" name="text_color_offwhite">#55ffffff</item>
<item type="drawable" name="text_color_green">#ff00ff00</item>
Have you tried those?
wewoapsiak said:
The drawables.xml has the following values:
Code:
<item type="drawable" name="text_color">#ffffffff</item>
<item type="drawable" name="text_color_red">#ffff0000</item>
<item type="drawable" name="text_color_black">#ff000000</item>
<item type="drawable" name="text_color_offwhite">#55ffffff</item>
<item type="drawable" name="text_color_green">#ff00ff00</item>
Have you tried those?
Click to expand...
Click to collapse
Where is that xml file in the .apk?
Mms.apk\res\values
You have to decompile the apk for values subfolder to be viewable. When compiled this along with a bunch of other stuff gets "hidden" and lumped into the resources.arsc file.
wewoapsiak said:
Mms.apk\res\values
You have to decompile the apk for values subfolder to be viewable. When compiled this along with a bunch of other stuff gets "hidden" and lumped into the resources.arsc file.
Click to expand...
Click to collapse
Stupid me forgot to decompile
wewoapsiak said:
The drawables.xml has the following values:
Code:
<item type="drawable" name="text_color">#ffffffff</item>
<item type="drawable" name="text_color_red">#ffff0000</item>
<item type="drawable" name="text_color_black">#ff000000</item>
<item type="drawable" name="text_color_offwhite">#55ffffff</item>
<item type="drawable" name="text_color_green">#ff00ff00</item>
Have you tried those?
Click to expand...
Click to collapse
Just making sure but I edit all of the text colors to the cyan code (#00FFFF) to make all text a cyan text color right?
You have to add transparency (alpha) code to the beginning of the setting. Cyan would be:
#ff00ffff
I've never messed with the mms.apk, but I think these should be the values you need to change.
wewoapsiak said:
You have to add transparency (alpha) code to the beginning of the setting. Cyan would be:
#ff00ffff
I've never messed with the mms.apk, but I think these should be the values you need to change.
Click to expand...
Click to collapse
But do I edit every text code in the xml to #ff00ffff?
Yeah I got nothing on which one to change. Just keep trying until you get what you want.
Woah I can't compile my apk with APK Manager, Im getting an error. Any help?
thor6577 said:
Woah I can't compile my apk with APK Manager, Im getting an error. Any help?
Click to expand...
Click to collapse
What error? I just changed all the values I listed above then recompiled perfectly. Selected yes for system apk, then yes for the error question, deleted the resources.arsc, then continued.
Also the styles.xml has the following value that might help you if the above ones don't
<item name="android:textColor">?android:textColorPrimary</item>
You could try changing the ?android....Primary to the code for your color.
wewoapsiak said:
What error? I just changed all the values I listed above then recompiled perfectly. Selected yes for system apk, then yes for the error question, deleted the resources.arsc, then continued.
Also the styles.xml has the following value that might help you if the above ones don't
<item name="android:textColor">?android:textColorPrimary</item>
You could try changing the ?android....Primary to the code for your color.
Click to expand...
Click to collapse
What did you use to recompile?
Sent from my phone
I use APK Manager 4.9 for decompiling/recompiling. Editpad Lite for editing xml files.
I will try that version. I think I was using 5.2, but its a little glitchy. How large was your compiled apk after the delete of resources file? Mine is only 554 KB and im not sure if that is large enough.
hy
what exactly line in the drawable to change the color of text font i want to change it to yellow thnx

[MOD] [GUIDE] Status Bar Network Traffic (Separate In/Out)

Hello XDA,
This guide will show you how to add network traffic data to your status bar, with customization options in Settings. There are already several similar guides on XDA, but all of the one I've seen only give you one overall speed, whereas this gives you separate in and out speeds.
Everything needed to make this mod work was pulled from CM12, so full credit goes to the Cyanogenmod Team and Temasek, who I believe contributed it to CM. Out of respect, I have left the Temasek folder structure intact, but you may alter it as you see fit...
I have tested this on Kit-Kat and Lollipop TouchWiz ROMs, and on AOSP Lollipop ROMs, but it should work on just about anything. If it does not work on your ROM for some reason, let me know and I'll see if I can help you figure it out.
***Before proceeding, MAKE A BACKUP***
***I am not responsible for any loss of data or ***
***damage to your device resulting from this mod.***​
This mod assumes that you have working knowledge of how to decompile, edit, and recompile apps. If you do not, there are plenty of threads on XDA that will teach you. This is not one of them.
Now, let's get down to business....
We are going to be working with two apps, SystemUI and Settings (or SecSettings, depending on your ROM). Go ahead and decompile both of them, then download the attached zip file, and extract it to a location of your choice.
SystemUI
-Begin by copying the smali files from the attached zip to their respective location in your decompiled SystemUI. The correct folder structure is in the zip file, so just make sure you're putting them in the same place in your apk.
-Do the same thing for the .png files in drawable-xxhdpi.
***Note, if your device has a resolution lower than xxhdpi, you will probably need to resize the included images and place them in the drawable folder corresponding to your device's resolution***​
-Next, open up the values folder in your decompiled SystemUI. In the corresponding folder in the zip file, you will see four xml files: colors, dimens, ids, and styles. Open them up one at a time, and add the lines to the same files in your values folder.
-Finally, go to layout/status_bar.xml in your decompiled SystemUI, and add the following line wherever you choose:
Code:
<com.android.systemui.statusbar.policy.NetworkTraffic android:id="@id/networkTraffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
***Note: Where you place this line determines where on your status bar it will be shown, so pay attention***​
-Next, recompile your SystemUI, and once it's done, go ahead and decompile the one you just compiled (say that ten times fast).
-Go to res/values/public.xml, keep it open in a separate window, then open up smali/com/android/systemui/statusbar/policy/NetworkTraffic.smali. You are going to search the smali file for the IDs on the left, then search your public.xml for the matching string on the right, and replace the IDs in the smali with the corresponding ID from your public.xml. To make things simpler, I have also included a list of the IDs and what they correspond to in the zip file...
Code:
0x7f0c00c9 <public type="dimen" name="net_traffic_single_text_size"
0x7f0c00ca <public type="dimen" name="net_traffic_multi_text_size"
0x7f02042a <public type="drawable" name="stat_sys_network_traffic_updown"
0x7f020429 <public type="drawable" name="stat_sys_network_traffic_up"
0x7f020428 <public type="drawable" name="stat_sys_network_traffic_down"
-Once you have replaced all the IDs, recompile your SystemUI, push it back to your phone, and get ready to do Settings!
Settings
-This will be almost the same as SystemUI....Begin by copying the smali files from the zip to the corresponding locations in your decompiled Settings. Again, be sure to keep the folder structure intact.
-Next up, copy network_traffic.xml from the zip to res/xml, dialog_color_picker.xml and seek_bar_preference to res/layout, add the lines in the five files in values to the corresponding files in your res/values, and finally copy ic_action_set and ic_settings_backup.png to res/drawable-xxhdpi.
***Note: You don't have to worry about resizing ic_settings_backup if you're on a lower resolution device, as you'll never actually see it. It was part of the mod when I pulled it from CM12, so that's why it's here...***
***If you're on a lower resolution than xxhdpi, ic_action_set will need to be resized, or else it will be quite large (though still perfectly functional) in the color picker window.***​
-Next, recompile your Settings, then immediately decompile it again (any guesses as to what comes next?)
-Open up res/values/public.xml in your decompiled Settings, and then navigate to the smali files you copied earlier. Again, you are going to search the smali for the IDs below, then search your public.xml for the string next to the ID, then replace the ID in the smali with the corresponding ID from your public.xml...
NetworkTraffic.smali
Code:
0x7f0e000f <public type="integer" name="maskUp"
0x7f0e0010 <public type="integer" name="maskDown"
0x7f0e0011 <public type="integer" name="maskUnit"
0x7f0e0012 <public type="integer" name="maskPeriod"
0x7f09188a <public type="string" name="network_traffic_color_reset"
0x7f09188b <public type="string" name="network_traffic_color_reset_message"
0x7f091677 <public type="string" name="ok"
0x7f090198 <public type="string" name="cancel"
0x7f0700ef <public type="xml" name="network_traffic"
0x7f09188a <public type="string" name="network_traffic_color_reset"
0x7f02021d <public type="drawable" name="ic_settings_backup"
SeekBarPreference.smali
Code:
0x7f0b0696 <public type="id" name="seekBarPrefBarContainer"
0x7f040229 <public type="layout" name="seek_bar_preference"
0x7f0b0694 <public type="id" name="seekBarPrefValue"
0x7f0b0693 <public type="id" name="seekBarPrefUnitsRight"
0x7f0b0695 <public type="id" name="seekBarPrefUnitsLeft"
ColorPickerDialog.smali
Code:
0x7f04022b <public type="layout" name="dialog_color_picker”
0x7f091920 <public type="string" name="dialog_color_picker"
0x7f0b069f <public type="id" name="color_picker_view"
0x7f0b06a2 <public type="id" name="old_color_panel"
0x7f0b069a <public type="id" name="new_color_panel"
0x7f0b069b <public type="id" name="white_panel"
0x7f0b069d <public type="id" name="black_panel"
0x7f0b069c <public type="id" name="cyan_panel"
0x7f0b069e <public type="id" name="red_panel"
0x7f0b06a0 <public type="id" name="green_panel"
0x7f0b06a1 <public type="id" name="yellow_panel"
0x7f0b06a5 <public type="id" name="hex"
0x7f0b06a6 <public type="id" name="enter"
0x7f0b069a <public type="id" name="new_color_panel"
[STRIKE]0x7f020035 <public type=“drawable” name=“ic_action_set”[/STRIKE]
*** NOTE: I made a mistake with 'ic_action_set' above. It is not ***
*** referenced in the smali, only in layouts. If I mentioned it in the ***
*** text file in the zip, please disregard it there as well. ***​
-Finally, paste the following line into the xml corresponding to the Settings Category you wish the options to be listed under. These will either be in res/xml or res/layout. Personally, I've placed mine at the end of display_settings.xml.
Code:
<PreferenceScreen android:title="@string/network_traffic_title" android:key="network_traffic_state " android:summary="@string/network_traffic_summary" android:fragment="com.android.settings.temasek.NetworkTraffic" />
-Once you're done, recompile you Settings.apk, push back to your phone, set permissions, reboot, and you should be all set!
If I've left anything out, or if you have any questions on any part of the process, please feel free to ask!
Enjoy!
This is awesome but am I blind where is the downloadable zip? lol
sawixso81 said:
This is awesome but am I blind where is the downloadable zip? lol
Click to expand...
Click to collapse
+1 double lol!
This is a great post, but i did not imagine it would be so much work (even having to recompile)...
there's a great tool (free) which i use over 4 years, does exactly the same thing and does not require root:
Network Monitor Mini by KF Software House.
it will run not in the status bar, but just below it. if you make the label transparent, decrease font size and change the color to something more visible, it will be just perfect.
I believe this was first on OmniROM before it was on CM (via Temasek or not), but good stuff I know I got it from there(Omni) for my CM build months ago.
@Morningstar where is attach dear?
Network Monitor Mini Pro
I've been using Network Monitor Mini Pro for maybe a couple of years, and Pro has an option to display upload & download speeds in the status bar. You'll see it in the middle of the status bar - size, width, font, position all configurable.
I don't have time or expertise to follow the decomple/recompile route, but respect to Morningstar for the post.
I'm using official CM12 for Nexus5, and I can't seem to find the network traffic options in settings by default?
@Morningstar are you teasing us ? Forget to put the zip attached
Hey OP have a question for you I havent tried this yet but my said rom I am running has the network deal like this by thanhfhuongf(built into rom) but I was actually going to use your guide to reverse the mod back to stock, needless to say I managed to get it to how I want network indicator gone and regular 4g/lte icon back but the problem is the indicator arrows do not move I have web service able to browse web and download but no arrow movement Im thinking it has to with my icons because I did take from another stock systemUI and copyed/paste into my Current systemUI those icons and later on noticed that the original Icon was 54x54 in size where as my modded systemUI was bigger in size but any way if you can assist me give me a pm,thanks and I do plan on giving this a try I like the looks of this one better if I decide to give it ago.:highfive:
Awesome stuff morningstar. Thanx for sharing and taking the time to make this guide.
Sent from my SCH-I545 using Xparent BlueTapatalk 2
Simply use cool tool
https://play.google.com/store/apps/details?id=ds.cpuoverlay&hl=en
Crap, sorry guys. Forgot to attach the zip! It's been a long week.... I'll be back at my computer in about 10 minutes and I'll add it to the OP. Sorry...
nice sir :good:
waiting for attach the zip
Updated OP to include the zip, and one image/id I had forgotten. Sorry again for the tease!
[emoji12]
itachi_2611 said:
Simply use cool tool
https://play.google.com/store/apps/details?id=ds.cpuoverlay&hl=en
Click to expand...
Click to collapse
That's always an option, but I prefer to use in-built services rather than external apps whenever possible, as it results in better performance and less overhead.
I started from scratch (noob here) and it was worth my time. I read forums on how to decompile and compile an apk and just followed carefully the instructions given plus some patience. Thank you @Morningstar for your effort.
Sent from my GT-I9505 using XDA Free mobile app
@Morningstar
there is no 0x7f020035 hex in ColorPickerDialog.smali
please check it and tell me correct id for ic_action_set
Hamidreza2010 said:
@Morningstar
there is no 0x7f020035 hex in ColorPickerDialog.smali
please check it and tell me correct id for ic_action_set
Click to expand...
Click to collapse
Dammit, I had a feeling that might happen...That's the one I forgot initially, and pulled from a different build...lemme check....
Morningstar said:
Dammit, I had a feeling that might happen...That's the one I forgot initially, and pulled from a different build...lemme check....
Click to expand...
Click to collapse
Yes dear i checked a lot
Please check it and tell me , because i want to finish it
Thanks

How to remove SIM Icon from SystemUI.apk 5.0.2 Lollipop

pls help me remove the sim icon from status bar
Galaxy A3 SM-A300H 5.0.2 Lollipop
If you don't know how to decompile or recompile apk's, You can go and learn by searching it on google.
Requirements:
SystemUI.apk (deodex)
Text editor like Notepad++ or etc.
Know how to decompile/recompile apk's
Have a basic editing xml skills
Usefull brain
Patience
Some snacks
Steps:
Decompile SystemUI.apk
Open res/layout-sw320dp-hdpi/signal_cluster_view
Find android:id="@id/sim_icon_chn" and replace that line with this line
<ImageView android:id="@id/sim_icon_chn" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginRight="0.0dip" />
Still on signal_cluster_view, find android:id="@id/sim_icon" and replace that line with this
<ImageView android:id="@id/sim_icon" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginRight="0.0dip" />
Save
Recompile
Push/Flash using flashable zip via CWM/TWRP
Enjoy
I give full credit to their developers.
Peace

[FIX] Motorola Camera write to ExternalSD permisson on CM/AOSP ROM's

As noticed in Custom ROM's. The MOTOROLA CAMERA application is unable to do following 2 things for the user.
1. Storage - Phone (Option Greyed out)
Solution:
You need to add a permission line to fix this. Follow the steps below.
Download QuickEdit app from playstore for editing the xml file.
Navigate to "/data/system" folder
Edit "packages.xml" with QuickEdit app
Search for "com.motorola.cameraone" and paste the following code line before the end of </perms> tag
Code:
<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />
Save the file and REBOOT your phone.
Fixed..!
2. Shutter Sound - ON (Cannot disable it)
Solution:
I couldn't identify the right permission line for this. But however here is an alternate solution that does the needful.
Navigate to "/system/media/audio/ui"
Rename the file "camera_click.ogg" to "camera_click.ogg.bak"
That's it..!
Tested working on CM13/CM14.1 ROM's.
Thank you buddy
==vj== said:
As noticed in Custom ROM's. The MOTOROLA CAMERA application is unable to do following 2 things for the user.
1. Storage - Phone (Option Greyed out)
Solution:
You need to add a permission line to fix this. Follow the steps below.
Download QuickEdit app from playstore for editing the xml file.
Navigate to "/data/system" folder
Edit "packages.xml" with QuickEdit app
Search for "com.motorola.cameraone" and paste the following code line before the end of </perms> tag
Save the file and REBOOT your phone.
Fixed..!
2. Shutter Sound - ON (Cannot disable it)
Solution:
I couldn't identify the right permission line for this. But however here is an alternate solution that does the needful.
Navigate to "/system/media/audio/ui"
Rename the file "camera_click.ogg" to "camera_click.ogg.bak"
That's it..!
Tested working on CM13/CM14.1 ROM's.
Click to expand...
Click to collapse
Thanks for sharing this! But my phone erases the code I add at every reboot..
It is set on rw-rw----
Maybe my system it isn't as permissive as I thought :fingers-crossed:
Is there a fix for this issue too?
Thanks again,
BoZ
Edit
Solved allowing System Modifications in setting/app/Camera/Authorizations
plz
gamer96 said:
Thank you buddy
Click to expand...
Click to collapse
Plz tel me with screenshots where to paste that codes
balboyz said:
Plz tel me with screenshots where to paste that codes
Click to expand...
Click to collapse
The op has a fully detailed step by step guide. Where's the problem?
But the shutter sound can be disabled for me without any edit.
XT1643/Lineage
jyoti.id said:
But the shutter sound can be disabled for me without any edit.
XT1643/Lineage
Click to expand...
Click to collapse
+1
Sent from my XT1644
jyoti.id said:
But the shutter sound can be disabled for me without any edit.
XT1643/Lineage
Click to expand...
Click to collapse
mendozaram said:
+1
Sent from my XT1644
Click to expand...
Click to collapse
You'll may notice, OP was written as of 12-Nov-2016 and your observations made are as of 21-Jan-2017 onwards. By this date there are many changes taken place in AOSP code that might have solved the Shutter Sound bug without any trick.

			
				
What do you mean by before the end of </perms> tag? Do we have to replace the whole line?
M-in-M said:
What do you mean by before the end of </perms> tag? Do we have to replace the whole line?
Click to expand...
Click to collapse
You have to ADD that line. As in, [ENTER], paste that line, save and reboot.
M-in-M said:
What do you mean by before the end of </perms> tag? Do we have to replace the whole line?
Click to expand...
Click to collapse
Nah you have to add that given code before that </perms> tag. See the attached screenshot.
I pasted the text mention above but nothing happened, could someone please define the process completely or rather in a basic manner.... Thanks
amitkuliyal said:
I pasted the text mention above but nothing happened, could someone please define the process completely or rather in a basic manner.... Thanks
Click to expand...
Click to collapse
Where's the problem? The instructions in op are easy to understand? You can upload your file to hastebin or so and we can check.
strongst said:
Where's the problem? The instructions in op are easy to understand? You can upload your file to hastebin or so and we can check.
Click to expand...
Click to collapse
http://www49.zippyshare.com/v/TXMJyKCp/file.html
Don't know how that hastebin work, So i've uploaded the file, please have a look at it
M-in-M said:
What do you mean by before the end of </perms> tag? Do we have to replace the whole line?
Click to expand...
Click to collapse
He means exactly that, you're gonna put it just above the </perms> tag. You don't replace or remove it.
amitkuliyal said:
http://www49.zippyshare.com/v/TXMJyKCp/file.html
Don't know how that hastebin work, So i've uploaded the file, please have a look at it
Click to expand...
Click to collapse
Have a look, that should work
bozinsky73 said:
Thanks for sharing this! But my phone erases the code I add at every reboot..
It is set on rw-rw----
Maybe my system it isn't as permissive as I thought :fingers-crossed:
Is there a fix for this issue too?
Thanks again,
BoZ
Edit
Solved allowing System Modifications in setting/app/Camera/Authorizations
Click to expand...
Click to collapse
How did you manage to do the last thing mate? Or with wich app? Thanks in advance.
JoeyTorres87 said:
How did you manage to do the last thing mate? Or with wich app? Thanks in advance.
Click to expand...
Click to collapse
Justo go to settings than app and select Motorola Camera. At bottom of settings there's what you need to edit
Sent from my Motorola XT1524 using XDA Labs
OK, let's see:
allowed system modifications in the mentioned location
modified permissions in packages.xml
rebooted phone
checked for permissions in packages.xml:
Code:
<package name="com.motorola.cameraone" codePath="/system/priv-app/MotCamera" nativeLibraryPath="/system/priv-app/MotCamera/lib" p
<sigs count="1">
<cert index="30" key="3082038130820269a003020102020479741d42300d06092a864886f70d01010b050030703110300e06035504061307556e6
</sigs>
<perms>
<item name="android.permission.WRITE_SETTINGS" granted="true" flags="0" />
<item name="android.permission.MODIFY_AUDIO_SETTINGS" granted="true" flags="0" />
<item name="com.motorola.camera.permission.CONTROL_CAMERA" granted="true" flags="0" />
<item name="android.permission.RECEIVE_BOOT_COMPLETED" granted="true" flags="0" />
<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />
<item name="android.permission.STOP_APP_SWITCHES" granted="true" flags="0" />
<item name="android.permission.WRITE_SECURE_SETTINGS" granted="true" flags="0" />
<item name="android.permission.CHANGE_WIFI_STATE" granted="true" flags="0" />
<item name="android.permission.ACCESS_NETWORK_STATE" granted="true" flags="0" />
<item name="android.permission.DISABLE_KEYGUARD" granted="true" flags="0" />
<item name="android.permission.VIBRATE" granted="true" flags="0" />
<item name="android.permission.ACCESS_WIFI_STATE" granted="true" flags="0" />
<item name="android.permission.WAKE_LOCK" granted="true" flags="0" />
</perms>
<proper-signing-keyset identifier="36" />
</package>
But still I can't choose the location for picture saving.
Any ideas?

Categories

Resources