Related
Hello,
I found this thread :
http://forum.xda-developers.com/showthread.php?t=765419
and I have some questions about this :
1) Is it possible to "tweak" our framework-res.apk with this battery mod.
2) Can I use this method to "tweak my framework-res.apk : http://circle.glx.nl/
3) When I download my new framework-res.apk, how to boot on recover mode on the phone to put the framework-res.apk on the system ?
4) Do you know an other easylier method to tweak icons on the HD2 under android ?
Thanks a lot !
+1 I asked myself to but no time to seach forum
@Karlichon
What is with this batmod? Are you done with them?
karlichon said:
1) Is it possible to "tweak" our framework-res.apk with this battery mod.
2) Can I use this method to "tweak my framework-res.apk : http://circle.glx.nl/
3) When I download my new framework-res.apk, how to boot on recover mode on the phone to put the framework-res.apk on the system ?
Thanks a lot !
Click to expand...
Click to collapse
Ok I think I'll answer this, but bear with me as it's NOT easy or for the faint of heart. If you read this and you DO NOT feel comfortable I would recommend you not giving this a go.
Before you start ANY of these steps below, MAKE SURE YOU BACKUP YOUR FILES BEFORE REPLACING THEM. I WILL NOT BE HELD RESPONSIBLE FOR ANY DAMAGE CAUSED FOLLOWING THESE STEPS! You have been warned.
1) Visit the website above and run through the steps to get the battery images you want. For the purposes of this tutorial/howto I am not covering how to change anything else (KISS: Keep It Simple, Stupid).
2) The easiest ones to change are the Version A-I ones, just choose which battery set would work best for you on your phone and click "Next"
3) Choose "Do not include icons" and click next. The icons it is talking about here are the signal, wifi, usb etc notification bar icons and as I mentioned I will not cover how to change those here.
4) Leave "Do not change notification status bar" selected and click next. Again I'm not covering that here.
5) You can choose a different boot anim if you want, they are very easy to upload to your phone and you can figure out where they have to be put yourself with no problems. IMPORTANT: If you do change the boot animation, make sure you choose the correct type of rom you have from the dropdown selection.
6) Upload your existing framework-res.apk (using something like DroidExplorer, navigate to /system/framework and paste it onto your desktop, then upload here). This will update the relevant files in your framework-res.apk automatically. (If you cannot obtain your existing framework-res.apk I cannot guarantee method 2 will work, sorry but feel free to try)
7) Replace your framework-res.apk (via DroidExplorer or your chosen ADB browser) on your phone and reboot. Voila!
This worked for me on shubcraft 2.0 drop mode but obviously I cannot guarantee it will work for everyone. Please remember my warnings above that this is not guranteed.
hello, thanks for your quick help, but it doesn't work for hyperdroid rom V1.7
any idea ?
karlichon said:
hello, thanks for your quick help, but it doesn't work for hyperdroid rom V1.7
any idea ?
Click to expand...
Click to collapse
there is another far more complicated way around it, but it really does take about half an hour to work out.
Basically, you need to get your framework-res.apk and extract it with winrar or something similar (an apk is basically just a zip file) and find the folder called res/drawable-HDPI. this is where all the icons for things like your battery icons live.
Copy and paste the new icons from someone elses framework-res or even one you download from the website above into this folder and replace the drawable-HDPI folder into your framework-res.apk, replace it onto your phone and reboot.
Again, this is a quick description of a much lengthier way of doing it but it does work. Also, my disclaimer in the post I made before still stands, do this AT YOUR OWN RISK and do NOT complain to me if something breaks. If you don't fully understand, don't do anything.
I tried the kitchen method, but I receive a huge error log after uploading the framework apk
is the page currently partly down?
rafpigna said:
I tried the kitchen method, but I receive a huge error log after uploading the framework apk
Click to expand...
Click to collapse
It doesn't seem to work all that well with frameworks from our current modded builds. I've tried it with a rooted desire framework (from my gf's desire) and that worked. Evidently all the work that the devs do on our hd2's make them very different to other android builds. the second method I posted (adding the png's to your existing framework) works perfectly.
BlackPit666 said:
is the page currently partly down?
Click to expand...
Click to collapse
Nope, seems up to me.
yes its up again
rafpigna said:
I tried the kitchen method, but I receive a huge error log after uploading the framework apk
Click to expand...
Click to collapse
for me the same, desirehd revolution rom of mdj
can anybody help me?
Reno_79 said:
there is another far more complicated way around it, but it really does take about half an hour to work out.
Basically, you need to get your framework-res.apk and extract it with winrar or something similar (an apk is basically just a zip file) and find the folder called res/drawable-HDPI. this is where all the icons for things like your battery icons live.
Copy and paste the new icons from someone elses framework-res or even one you download from the website above into this folder and replace the drawable-HDPI folder into your framework-res.apk, replace it onto your phone and reboot.
Again, this is a quick description of a much lengthier way of doing it but it does work. Also, my disclaimer in the post I made before still stands, do this AT YOUR OWN RISK and do NOT complain to me if something breaks. If you don't fully understand, don't do anything.
Click to expand...
Click to collapse
can you tell me which files i need to replace to get another battery icon? only the files which "batt" in it?
Reno_79 said:
there is another far more complicated way around it, but it really does take about half an hour to work out.
Basically, you need to get your framework-res.apk and extract it with winrar or something similar (an apk is basically just a zip file) and find the folder called res/drawable-HDPI. this is where all the icons for things like your battery icons live.
Copy and paste the new icons from someone elses framework-res or even one you download from the website above into this folder and replace the drawable-HDPI folder into your framework-res.apk, replace it onto your phone and reboot.
Again, this is a quick description of a much lengthier way of doing it but it does work. Also, my disclaimer in the post I made before still stands, do this AT YOUR OWN RISK and do NOT complain to me if something breaks. If you don't fully understand, don't do anything.
Click to expand...
Click to collapse
This method will not work with the battery icons which shows all 100% increments. This method will only work for the standard battery icons, which only involves like 12 battery icons.
In order to add the 1% increment readings in the battery, it involves modifying xml files to read and associate the correct battery icons at each increment.
can you give a tut how to add the version a manually?
nvm, I got it!
Here is a bit of why I wrote this manual:
Back at December 2010 Paul from modaco found how to enable sip over 3g for the gingerbread native client, his original thread is here:
http://android.modaco.com/topic/327770-using-gingerbread-internet-calling-sip-without-wifi/
For chefs it is probably straight forward how to use this tip, but for me I always begged for cookers to include this in their roms usually they didn't even replay to my request, so I investigated this, and here is very easy way to enable this feature.
This guide assumes you are a little familiar with changing files on your ROM.
*I take no responsibility for this guide, use it at your own risk
So, what we are doing is modifying the framework-res.apk from from our framework directory.
We need:
apktools from here: http://code.google.com/p/android-apktool/
Two files are needed, this: http://code.google.com/p/android-apktool/downloads/detail?name=apktool1.4.1.tar.bz2&can=2&q=
And this: http://code.google.com/p/android-apktool/downloads/detail?name=apktool-install-windows-r04-brut1.tar.bz2&can=2&q=
(You can also do this for Linux and Mac, this guide will use windows)
Take the framework-res.apk from your ROMS zip file inside /system/framework directory.
How its done:
Extract both files that you downloaded to c:\apktools (can be any dir...)
You should have 3 files.
Copy the framework-res.apk to the same directory: c:\apktools
start --> run --> cmd
c:
cd \apktools
apktools d framework-res.apk temp
Now a folder named temp will appear named temp
inside temp, edit the file: C:\apktools\temp\res\values\bools.xml
I use notepad++, search for a line:
<bool name="config_sip_wifi_only">true</bool>th
change in the line the "true" into "false"
save the file.
go back to cmd
c:
cd \apktools
apktools b temp temp.apk
Now rename your original framework-res.apk to framework-res.apk.zip
open it with winrar/winzip/7zip it will open like regular archive.
take the file that was created by the build process:
C:\apktools\temp\build\apk\resources.arsc
Use this file to replace the file inside the archive of framerwork-res.apk.zip (overwriting the original, inside the zip)
rename the file back to framework-res.apk
And now you have a sip over 3g enabled framework-res.apk.
There are few options to push this file, easiest is just replace it in your ROM zip and flush the ROM, you need to wipe cache and dalvik cache.
There are other ways to push this to your rom but I won't discuss them here.
I used this on stock roms, AOSP roms, MIUI roms and Sense roms, worked for me on all, if you find a roms it doesn't work on please report.
Thats it, its actually quite easy.
You are Awesome! Thank you for posting this. I just setup my phone with this and it works great.
Great Process, a few little remarks
Shalom,
This is a great process tutorial and within 15 minutes I flashed my HTC Sensation to support Internet calls on 3G/4G, while before it was WiFi ONLY.
So now, no need to have any cellular minutes purchased, have DATA have LIFE.
Remarks:
1. Have only 2 files. You mentioned 1 download and then 2 more. The 1st is duplicated withing the 2.
2. The BAT file is apktool.bat and not apktools.bat.
Other then that, SWEEET.
Toda Raba.
Easy
---------- Post added at 04:29 AM ---------- Previous post was at 04:11 AM ----------
HTC Sensation T-Mobile.
Forgot to mention earlier.
Thanks.
HI
tryed not working stoped at temp file cretion is showing an eror cant go further plz help
Does this change your phone to use 3g to make calls? If so that is excellent.
Sent from my Sabotaged Droid Incredible 2.
Thanks, but why don't we use SIP third-party such as Sipdroid, 3CXPhone...? I think they are easy to use.
Nice work , What about Xperia Lines, will there appear 3G video calling button ?
I tried on Wet Dreams 1.3.0 for Atrig 4G and didn't works (Didn't show SIP Calling option)... maybe my mistake or isn't working with Moto's 2.3.6 build. But I asked to be added by the chef! Thanks for this tip!
If SIP options are not present in your Settings.APK it may have been disabled by the carrier.
The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.
Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Nice, surprisingly easy, almost to much so lol
lotherius said:
If SIP options are not present in your Settings.APK it may have been disabled by the carrier.
The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.
Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Click to expand...
Click to collapse
Thanx.
But it didnt work for me, and still not seeing sip settings.
I plased the attached file in system/etc/permissions, rebooted.
Also tried to fix permissions, and still didnt work.
Please Help
Verizon Motorola Droid 3
Stock deodexed Rom, Android 2.3.4
BTLINU said:
Thanx.
But it didnt work for me, and still not seeing sip settings.
I plased the attached file in system/etc/permissions, rebooted.
Also tried to fix permissions, and still didnt work.
Please Help
Verizon Motorola Droid 3
Stock deodexed Rom, Android 2.3.4
Click to expand...
Click to collapse
Then the options probably just aren't there in your carrier's Rom. They were present in my LG Rom, after I pushed the permissions file. However, when I tried to use SIP, it would force close as soon as the call connected... something else missing.
In my case and yours, the answer is to use SipDroid from the market.
Pls any guide on how to do this in ICC ROMs
I have the Verizon variant and I'm on CleanROM
So I did a little research into how I can change the status bar icons. I was hoping I could get some confirmation before I start messing with system files. Here is the process as far as I understand it:
1. Extract LGsystemUI.apk
2. Replace whichever .png's I want as long as they are the same resolution as the original.
3. Re zip the file and rename to LGsystemUI.apk
4. Fix permissions
5. Copy back to /system/app
Am I missing any steps? Also, I'm wondering if someone could clue me in on what the file names are for the following: The wifi icon, 3G/4G icon, signal bars, and battery icon (would love to be able to have circle battery with percent if possible).
First ok all, Move if not in the correct spot (Or Delete if against TOS)!
Unsure if this is possible but I'm trying to extract an APK (Not sure if I should mention the App, I Did purchase the app) to make a small change to the code. I Can get to a certain point of extraction and then it stops. The files I need to edit are extracteded however so I can change what I need to, but as files are missing, when I recompile the app does not launch.
Any thoughts? Suggestions?
I've tried both APK Studio & APKTools
Just wanted to share a few CSC features that are tested to work on the S6/S6 edge.
This is not my work, just sharing.
To enable these you will need root, a root explorer and text editor.
Simply navigate to system/csc/Features.xml and add the corresponding line to the end of the file but before the very last few lines that say </feature> and </Samsung>
(if this file does not exist, create the csc folder in system and a txt file within it then change the name to features.xml and add the correct lines and save) if this does not work you can try the same method with Others.XML in the same folder
*Make sure you make backups of the stock files in case there are issues.*
Enable WiFi calling in phone settings:
Code:
<CscFeature_Setting_SupportWifiCall>TRUE</CscFeature_Setting_SupportWifiCall>
Enable native voice call recording(maybe illegal is some countries):
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Enable shutter sound switch in camera settings(maybe illegal is some countries):
Code:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Enable camera during call:
Code:
<CscFeature_Camera_EnableCameraDuringCall></CscFeature_Camera_EnableCameraDuringCall>
Enable manual rotation option in gallery:
Code:
<CscFeature_Gallery_AddAutoRotationIcon>true</CscFeature_Gallery_AddAutoRotationIcon>
Continuous music while using camera:
Code:
<CscFeature_Camera_CamcorderDoNotPauseMusic></CscFeature_Camera_CamcorderDoNotPauseMusic>
Enable scheduled messaging option in messaging app:
Code:
<CscFeature_Message_EnableScheduledMessage>true</CscFeature_Message_EnableScheduledMessage>
<CscFeature_Message_EnableScheduledMsgBox>true</CscFeature_Message_EnableScheduledMsgBox>
Enable exit buttons in default browser:
Code:
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
Enable 2nd symbol keys on stock keyboard:
Code:
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB</CscFeature_Sip_EnableSymbolInSecondary>
Enable VoLTE Support: Thanks to IakobosJ
Code:
<CscFeature_RIL_SupportVolte>true</CscFeature_RIL_SupportVolte>
<CscFeature_IMS_EnableVoLTE>true</CscFeature_IMS_EnableVoLTE>
Remove NFC enabled icon in the status bar: Thanks to evonc
Code:
[COLOR="Red"]Delete line[/COLOR] : <CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
ADDED 21/04/15
Sort app draw alphabetically:
Code:
<CscFeature_Launcher_EnableViewByAlphabetAsDefault>true</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
I Hope this helps someone out,
Big Thanks to this post for the info, there are many more in the original post but these are the only ones I've tried and have worked so far,
and IakobosJ for his help in the wifi calling thread
if anything needs adding let us know and it can be added to this post,
This is dedicated to the hard working XDA community
Thank You All
Theres also some nice tools in the play store -:- Be careful when using these!
Samsung CSC Master
CSC Feature Expert
(I own google so get a big cut of the profit made on these )
I've tried CSC Feature Expert now -and it seems to work well,
Quick tut:
I would backup original CSC folder first
Just search for the option you want to enable,
Select the value ( see pic 1)
in the popup - Input the correct value (see pic 2 - label 1)
(a few examples of values)
' RecordingAllowed ' to enable call recording,
' true ' for shutter sound menu,
' true ' for launcher by alphabet,
' true ' for rotation icon in gallery,
' true ' for support wifi call,
then click save (see pic 2 - label 2)
restart you device
Hope this helps
If only we could root, without tripping Knox.
I don't want to root my phone in fear that Samsung Pay won't work with a tripped Knox.
Nice to see you've put all of this information together
For those on EE you may also want to enable VoLTE. I know it's unlikely to be in anyones area yet, but they are rolling it out across the UK (Very slowly)
Enable VoLTE Support
<CscFeature_RIL_SupportVolte>TRUE</CscFeature_RIL_SupportVolte>
Enable VoLTE
<CscFeature_IMS_EnableVoLTE>true</CscFeature_IMS_EnableVoLTE>
Just a quick note that the commands have to be added before the
</FeatureSet>
</SamsungMobileFeauture> tags at the end of the file.
Tested the Call recording and Shutter sound edits. Worked great.
Lastly if you want to remove that ugly NFC enabled icon in the status bar, delete line
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
from the file and it will hide the icon.
evonc said:
Just a quick note that the commands have to be added before the
</FeatureSet>
</SamsungMobileFeauture> tags at the end of the file.
Tested the Call recording and Shutter sound edits. Worked great.
Lastly if you want to remove that ugly NFC enabled icon in the status bar, delete line
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
from the file and it will hide the icon.
Click to expand...
Click to collapse
Thats strange as I've added mine after the samsung tags and all is working fine fine on my device.
Have you had problems in the past with doing that?
No. I saw the file header and noticed they're inserting commands between those tags. The original guide also has that listed but I guess it may or may not work.
Also I believe the file may get reset when you enter stock recovery so I'm assuming this should work as a fix.
1. Open the sales_code.dat to find your csc code.
2. Open the folder above with the same code.
3. Navigate to <code>/system/csc and you'll see another others.xml
4. This is most likely the file that gets applied after a factory reset/activation.
5. Make changes to this file as well.
*Make sure you make backups of the stock files in case there are issues.*
evonc said:
No. I saw the file header and noticed they're inserting commands between those tags. The original guide also has that listed but I guess it may or may not work.
Also I believe the file may get reset when you enter stock recovery so I'm assuming this should work as a fix.
1. Open the sales_code.dat to find your csc code.
2. Open the folder above with the same code.
3. Navigate to <code>/system/csc and you'll see another others.xml
4. This is most likely the file that gets applied after a factory reset/activation.
5. Make changes to this file as well.
*Make sure you make backups of the stock files in case there are issues.*
Click to expand...
Click to collapse
I would have thought it would have had to be within those tags too. Only found it didn't when i wasn't paying attention while modding it. LoL
Nice tip. Thanks. hoping there's more cool things that can enabled with this, maybe some S6 exclusives finds .
I'm on the Sprint Edge and don't have that folder. I guess I'll create and see what happens
SantinoInc said:
I'm on the Sprint Edge and don't have that folder. I guess I'll create and see what happens
Click to expand...
Click to collapse
I didnt have it either . Just create the csc folder and make a txt file and change the name to others.xml. as the op states. infact ill post a copy with basic changes i the first post.
It works fine for me. hopfully you wont have any issues
I actually did have the folder. I was looking at the folder ". System" However, after adding those lines and saving it had no effect. Can you take a look at this to see if it's right?
Edit: can't upload the xml file.
SantinoInc said:
I actually did have the folder. I was looking at the folder ". System" However, after adding those lines and saving it had no effect. Can you take a look at this to see if it's right?
Edit: can't upload the xml file.
Click to expand...
Click to collapse
You'll have to zip it before you can upload it... or rename others.xml to others.txt
I've attached a basic others.xml with all functions listed in the OP
and an original copy of the EE csc folder that IakobosJ uploaded in the WIFI calling thread
(it would be good if everybody could upload their original csc folders for reference and backups in case someone messes up theirs by accident.)
You can just copy and paste my others.xml into the bottom of your own others.xml(backup yours first)
I've had to do this as XDA's forum system seems to have changed at least one of the lines I've posted, and I've even tried going back and editing and it keeps putting a space in the middle of one of them, so use the upload if your having trouble,
I've deleted all but this file in my csc folder and tested it to make sure there nothing else it depends on - everything is working fine on my device.
But feel free to upload your for us to have a look at
im confused?
i can already do wifi calling and most of these things already without root
im on tmobile
tiboric said:
You'll have to zip it before you can upload it... or rename others.xml to others.txt
I've attached a basic others.xml with all functions listed in the OP
and an original copy of the EE csc folder that IakobosJ uploaded in the WIFI calling thread
(it would be good if everybody could upload their original csc folders for reference and backups in case someone messes up theirs by accident.)
You can just copy and paste my others.xml into the bottom of your own others.xml(backup yours first)
I've had to do this as XDA's forum system seems to have changed at least one of the lines I've posted, and I've even tried going back and editing and it keeps putting a space in the middle of one of them, so use the upload if your having trouble,
I've deleted all but this file in my csc folder and tested it to make sure there nothing else it depends on - everything is working fine on my device.
But feel free to upload your for us to have a look at
Click to expand...
Click to collapse
Ok, I'm finally on a PC so I had a chance to zip that file and have uploaded it. IDK where I screwed up. I'm rooted, I found the System/CSC/Others file and made the proper edits and then saved it. The original file was automatically backed up. The permissions were the same as the original file. IDK what I did wrong.
SantinoInc said:
Ok, I'm finally on a PC so I had a chance to zip that file and have uploaded it. IDK where I screwed up. I'm rooted, I found the System/CSC/Others file and made the proper edits and then saved it. The original file was automatically backed up. The permissions were the same as the original file. IDK what I did wrong.
Click to expand...
Click to collapse
is it just call recording and shutter sound toggle you want to add?
I want to add the NO NFC notification, CALL RECORDING, WI-FI CALLING and NO SOUND for snapping pics.
SantinoInc said:
I want to add the NO NFC notification, CALL RECORDING, WI-FI CALLING and NO SOUND for snapping pics.
Click to expand...
Click to collapse
I've uploaded two versions, one with the feature you've asked for and a full featured one, both based on your original other.xml and tested on my device to be working
just copy one to your csc folder
let me know if you have any problems
tiboric said:
I've uploaded two versions, one with the feature you've asked for and a full featured one, both based on your original other.xml and tested on my device to be working
just copy one to your csc folder
let me know if you have any problems
Click to expand...
Click to collapse
I really appreciate the effort but that didn't work either. I used the file you uploaded for me and made sure the permissions were the same and rebooted. None of the mods worked. It's really weird. I'm going to inquire in the Sprint thread to see if anyone can get these to work.
Unrelated do you know which folder I can find the boot sounds and camera sounds? I'm just going to delete them and that will solve part of my problem.
SantinoInc said:
I really appreciate the effort but that didn't work either. I used the file you uploaded for me and made sure the permissions were the same and rebooted. None of the mods worked. It's really weird. I'm going to inquire in the Sprint thread to see if anyone can get these to work.
Unrelated do you know which folder I can find the boot sounds and camera sounds? I'm just going to delete them and that will solve part of my problem.
Click to expand...
Click to collapse
Thats a shame maybe sprint have changed something.
Sure its
/system/media/audio/ui/PowerOn.ogg
Hope this helps
Killed boot sound but I must have not found the right OGG file for the camera. Do you know the name of the file?
SantinoInc said:
Killed boot sound but I must have not found the right OGG file for the camera. Do you know the name of the file?
Click to expand...
Click to collapse
I believe its
/system/media/audio/ui/camera_click.ogg
P.s did you try any of the apps posted in the second post. I dont know how well the work but ghey seem to have good reviews