[Q] how to make bluetooth visible all the time - Galaxy S I9000 Q&A, Help & Troubleshooting

hi guys
this featurs in android i disliked
I need bluetooth to be visible all the time
so pls pls any help or suggestion

Stil Im looking for sulotion
any help please?

You need to edit /etc/bluez/main.conf file.
Code:
DiscoverableTimeout=0

which editor do you recommend?
Thanks

I use astro file mananger
Isnt it etc/bluetooth/main not bluez?

hello guys, im trying to do this mod, i used adb to pull the file main.conf from /etc/bluez/
i edited the file using notepad changed the value 120 to 0 saved the file and pushed it back to my phone.
the result is the timer keeps running for 120 seconds...
can anyone help me pls?
i attached the edited file in a txt format.
what did i do wrong?

jimacid said:
hello guys, im trying to do this mod, i used adb to pull the file main.conf from /etc/bluez/
i edited the file using notepad changed the value 120 to 0 saved the file and pushed it back to my phone.
the result is the timer keeps running for 120 seconds...
can anyone help me pls?
i attached the edited file in a txt format.
what did i do wrong?
Click to expand...
Click to collapse
The same for me

i'm currently using MIUI MCGv7.7 and once i edited i don't even have to reboot the computer.

Did not work for me
Sent from my GT-I9000 using Tapatalk

Sorry double post
Sent from my GT-I9000 using Tapatalk

Related

[MOD] Transparent Music Widget

I really did not like the gray background on the music widget so I made a transparent version that looks real good on the Xoom.
To apply the apk you will need adb and root running.
adb remount
adb push Music2.apk /system/app/Music2.apk
What exactly did you edit to get it to do that? I'd like to play around with it a little bit.
arrtoodeetoo said:
What exactly did you edit to get it to do that? I'd like to play around with it a little bit.
Click to expand...
Click to collapse
Used Photoshop to edit the images. If you extract the files from the .apk using winrar or something similar you can find the background files in res/drawable-mdpi. There are 4 files in there that all start with bg_panel and are 9.png's.
Once I had the files edited the way I wanted, I just dragged and dropped them into the .apk using winrar.
Hope that helps.
great job on this
why do you use advanced task killer?
Works great, thanks.
Note to anyone trying to be lazy like me: You must use the ADB method he instructed how to use, simply trying to install the .apk doesn't work.
PaulG1488 said:
why do you use advanced task killer?
Click to expand...
Click to collapse
I use ATK more out of habit than anything else. I like to know what is running and kill what is not needed to reduce battery usage. Have used this since the G1 days
B Dizzle said:
Used Photoshop to edit the images. If you extract the files from the .apk using winrar or something similar you can find the background files in res/drawable-mdpi. There are 4 files in there that all start with bg_panel and are 9.png's.
Once I had the files edited the way I wanted, I just dragged and dropped them into the .apk using winrar.
Hope that helps.
Click to expand...
Click to collapse
Thank you! I knew how to edit them, I just couldn't track down the files.
There is also a preview file that shows up when you are adding widgets to the screen. I don't recall which folder it is in but the name of the png is obvious.
Was searching for a market alternative that looked like this but none I found worked so this made my day! Thanks!
pure music should be working sometime soon, i emailed the dev about it and he acknowledged that there was a problem.
@B Dizzle: Thanks for this. I have not rooted yet but will soon to get this music widget mod. I am trying to make all my widgets have transparency (except CNN) and Pandora is the only one I have left to make my home screen complete. Do you know if it is possible to do something similar with Pandora widget?
See screen here (lower center).
Please HELP
Ive tried to install this mod, but music app is now lost.
Anyone can help me on this one?
Thanks in advance!
drziddo said:
Ive tried to install this mod, but music app is now lost.
Anyone can help me on this one?
Thanks in advance!
Click to expand...
Click to collapse
For simplicity put the music2.apk file in the same directory as adb. Then attempt to push the file again.
A reboot may also fix this.
If all else fails, download the official dump from the dev section and push the original music2.apk back to your device.
Sent from my Xoom using Tapatalk
I havnt got a XOOM yet so I can only use the emulator but maybe I could make one with the blue "holographic" outline if anyone is interested. Just let me know.
B Dizzle said:
For simplicity put the music2.apk file in the same directory as adb. Then attempt to push the file again.
A reboot may also fix this.
If all else fails, download the official dump from the dev section and push the original music2.apk back to your device.
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
Downloaded the dump, pushed the apk, not working.
Any ideas?
If I had to guess there is a permission issue if the music2.apk is actually in the /system/app folder. Check permissions on the apk. Check the owner of the file. Try replacing the file with another using Root Explorer.

[MOD] Lower Auto-Brightness levels to save battery

This is best done after you flash a ROM as you might lose some settings.
(I noticed my wall paper changed and i had to sign back into Google account)
---This framework-res.apk file is different for every ROM---
Hi,
I wanted to share a little mod that could help in extending battery life - lowering default auto-brightness levels. As all of You know our big, bright SuperLCD is an excelent display but for that it uses most of our battery:/
I like the idea of auto-brightness but I find it too bright for most of the time. Setting brightness manualy to one level makes it either too dim or it uses too much battery and switching it all the time that You go outside or turn on the light is a little bit inconvenient.
In order to lower auto-brightness levels You have to change values in framework-res.apk/res/values/arrays.xml and here is how (read whole post first )
These are stock HTC Raider values:
Click to expand...
Click to collapse
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>75</item>
<item>75</item>
<item>75</item>
<item>97</item>
<item>120</item>
<item>142</item>
<item>170</item>
<item>198</item>
<item>227</item>
<item>255</item>
</integer-array>
These are values that I use and found best for me:
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>20</item>
<item>40</item>
<item>50</item>
<item>70</item>
<item>90</item>
<item>100</item>
<item>130</item>
<item>155</item>
<item>180</item>
<item>225</item>
</integer-array>
These brightness levels are corresponding to the amount of light that light sensor is getting - the lowest value is while in the low light the highest when for example your phone is in direct sunlight. Brightness values are defined by numbers 1 is the lowest possible setting and 255 is the maximum brightness that can be set.
As You can see I was pretty aggressive with lowering these values and yet the screen is still bright in every situation. You can set them a little bit higher or lower in order to suit your preferences.
Here is a guide on how to perform this mod on any framework-res.apk using apk manager (thanks for the guide goes to desean):
1. Download APK manager and unpack somewhere
2. Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
3. Run Script.bat and select option 9
4. Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
5. Once edited, compile the apk using option 11
6. Qn: Is this a system apk. Ans: y
7. Qn: Aside from the signatures, would .... least. Ans: y
8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
9. Once done, input 25 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk".
10. Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk.
11.Rename it back to framework-res.apk and adb push the file back to your phone
Click to expand...
Click to collapse
To send it back to your phone
Prerequisites have...
The file you are pushing must be placed in the platform-tools folder of adb so if you are pushing file "framework-res.apk" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\platform-tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\platform-tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices:
Code:
adb push framework-res.apk /system/framework
7. adb reboot this is how you finish
Click to expand...
Click to collapse
You have to copy the file to your phone with ADB or you will get a boot loop and have to re install your ROM.
Link for APK Manager HERE
If you have problems with apk manager showing java error (like it did) this post helped me fix that
Sources:
http://forum.xda-developers.com/showthread.php?t=1235212
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=642437
APK Manager 4.9 download link (currently original thread link down)
http://www.zshare.net/download/99034654c32618ba/
WOW! I was just about to ask if anyone knew how to accomplish this! Thanks dude!
Edit: Er..phone just went into a bootloop. Lemme try again..
Edit2: I first replaced the framework-res.apk using root explorer...big mistake, phone went into a bootloop and I couldnt adb to it to push the apk correctly, whoops. Just reinstalled the ROM I was using and pushed the apk using adb and all is well.
I noticed two other very similar looking values: config_autoBrightnessLcdBacklightValuesUp and config_autoBrightnessLcdBacklightValuesDown. Is it necessary to change these as well?
m0biusace said:
WOW! I was just about to ask if anyone knew how to accomplish this! Thanks dude!
Edit: Er..phone just went into a bootloop. Lemme try again..
Edit2: I first replaced the framework-res.apk using root explorer...big mistake, phone went into a bootloop and I couldnt adb to it to push the apk correctly, whoops. Just reinstalled the ROM I was using and pushed the apk using adb and all is well.
I noticed two other very similar looking values: config_autoBrightnessLcdBacklightValuesUp and config_autoBrightnessLcdBacklightValuesDown. Is it necessary to change these as well?
Click to expand...
Click to collapse
Yes you have to use adb ill put that in the first post,
to be honest i am not entirely sure what that is for i assume, that it is when you move the slider what values it displays when you slide it, i noticed a change without changing those values.
also i changed the button back lights to 200, i find it more than enough for me.
Is there a working mirror to APK manager? The link in the thread is down.
uploaded
sbddude said:
Is there a working mirror to APK manager? The link in the thread is down.
Click to expand...
Click to collapse
uploaded here
http://www.zshare.net/download/99034654c32618ba/
Serious props to you jul644 for detailing this process! I've always hated how the Hero, Evo, & now Vivid I've had never got dark enough in pitch black rooms, and now I'm excited to fix that problem. I was curious though since I just modded my battery meter using UOT Kitchen, if I could drop in the backlight-modded framework-res.apk via 7-zip replacing the UOT framework-res.apk file then flash it via recovery. I wonder if that would make me sign into Google and mess with settings like you mentioned. Thanks.
How-To with UOT
jul644 said:
You have to copy the file to your phone with ADB or you will get a boot loop and have to re install your ROM.
Click to expand...
Click to collapse
How, if it's possible, do we integrate this modded framework-res.apk into a UOT Kitchen zip flash file? I want to mod my battery icons and would like to install at the same time so one doesn't interfere with the other. Should I upload the framework-res.apk from this to UOT Kitchen (with my original SystemUI.apk) and then change the battery icons, then download and flash?
Thanks for your help!
*****EDIT - 2/15/2011*****
Ok so I did the framework-res.apk edits by decompiling/recompiling per jul644, uploaded that into UOT Kitchen along with original SystemUI.apk and com.htc.resources.apk. I chose my battery icon mod, downloaded, cleared all the caches and flashed in recovery with no problems ) Just wanted to let you guys know how to make it a recovery flashable zip instead of pushing via ADB.
ICS?
So can anyone confirm or deny if this still works wit ICS will be trying it myself, when I get a chance, but would rather not waste time if it wont work!
It does work, I have done it. ICS it's just more difficult to decompile & recompile. I added it & 1% stock-style battery icons into Pirateghost's CWM .56 flashable ROM.
Keep getting errors when recompiling using stock telstra ICS+ root
error on 1st line after selecting option 11 ie. step 5 above
could not find sources????
Any suggestions what I am doing wrong????
---------- Post added at 09:37 PM ---------- Previous post was at 09:24 PM ----------
okay also getting this error twice before it de-compiles
the system cannot find the path specified
then seems to decompile happily???????????
Any suggestions?
I'm getting an 'Operation not permitted' when I try to remount before pushing the file back. Anyone else having this problem? I'm running a WCX GB ROM (no ICS, I'm on Rogers).
formicae said:
I'm getting an 'Operation not permitted' when I try to remount before pushing the file back. Anyone else having this problem? I'm running a WCX GB ROM (no ICS, I'm on Rogers).
Click to expand...
Click to collapse
are you trying to remount your sd card? if so do not, just select charge only
No, just trying to remount as per the instructions in the first post, so /system is R/W. Setting it to charge only. No dice.
I tried doing it in recovery (by mounting /system, then going through the ADB commands, all of which are successful), but the result is a bootloop once I'm done.
Edit: It's also worth noting that newer versions of APK Manager/Multi-tool seem to have different numbering for the operations. In step 9, number 22 sets the compression level, whereas I think it used to set the active APK (which I think is 25 now).
I ended up taking the stock framework-res from the ROM, modifying the arrays.xml values as per the OP instructions, then going through the UOT Kitchen (I had a battery mod anyway). Worked perfectly.
Thanks to pauley for reporting success earlier, which provided me with the workaround.
Has anyone done this that could possibly create a flashable zipped version of it? I tried to do it myself but with the new APK Multi Tool things were different to the instructions of OP and I couldn't get it to work
Edit: Nvm managed to fix it and make my own flashable zip. Thanks for the effort OP
I have tried to do this... And I keep getting an error on the recompile side...
Just wondering... Does apkmanager require windows 7 or something... Or is there some reason it wouldn't work on windows xp?
Sent from my HTC PH39100 using Tapatalk 2
rignfool said:
I have tried to do this... And I keep getting an error on the recompile side...
Just wondering... Does apkmanager require windows 7 or something... Or is there some reason it wouldn't work on windows xp?
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
The errors I encountered when compiling were solved by:
1) Putting Java in the windows path
2) Putting ADB in the windows path
3) Not having any spaces in the APK Manager file path
There are no OS dependencies that I'm aware of. Just open the log from within the APK manager and you should be able to identify the error.
The problem is I don't really speak java all that well...
Could I just move the java executable to the working directory?
Sent from my HTC PH39100 using Tapatalk 2
rignfool said:
The problem is I don't really speak java all that well...
Could I just move the java executable to the working directory?
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
For java, all you have to do is download the JDK (i got the 32 bit version), and then add 'C:\Program Files (x86)\Java\jdk1.7.0_03\bin' to the windows path so it becomes something like:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\MKVToolNix;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Android\android-sdk\platform-tools\;C:\Android\APKMultiTools\
For Windows XP, you'd probably be running 32 bit and so it would be installed in the regular program files.
pod0087 said:
For java, all you have to do is download the JDK (i got the 32 bit version), and then add 'C:\Program Files (x86)\Java\jdk1.7.0_03\bin' to the windows path so it becomes something like:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\MKVToolNix;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Android\android-sdk\platform-tools\;C:\Android\APKMultiTools\
For Windows XP, you'd probably be running 32 bit and so it would be installed in the regular program files.
Click to expand...
Click to collapse
thanks for the help! can you tell me the new number system with apk manager?

[Q] Help!

Hello XDA!!
When I go to Settings>About Phone and then Press "Android Version" It will show me a picture and then if I touch the picture It show me text like "Zombie art created by..." I'm trying to find file with this text three days and I can't find it. Please if someone know in which apk and xml is this text PM me. I tried to find it in Settings.apk; SystemUI.apk and framework-res.apk without result. Thanks.
What did you check? Strings?
Sent from my X8 to your screen
Chris95X8 said:
What did you check? Strings?
Sent from my X8 to your screen
Click to expand...
Click to collapse
I checked all XML files in this three apks.
Sent from my X8 with Android 4.0.4 using XDA Premium
Maybe it's written with Java. Check the smali files.
Sent from my X8 to your screen
Ok thanks I will try it.
Sent from my X8 with Android 4.0.4 using XDA Premium
oke lets me try give the answer,
The zombie art picture located at \framework-res.apk\res\drawable-nodpi
with the name "platlogo.jpg" .
follow this step to decompile the framework-res.apk
1. download apk_manager_4.9 tool here
2. extract to your c:\
3. put your framework-res.apk to the c:\apk_manager_4.9\place-apk-here-for-modding folder.
4. go back to apk-manager folder then run the script.bat file.
5. type 22 then enter
6. type the number of your framework-res.apk file .
7. type 9 to start decompile the file.
8. after finish goto c:\apk_manager_4.9\projects\framework-res.apk\res\drawable-nodpi\ folder of apk_manager_4.9
9. thats it,, you will find the file with name platlogo.jpg
He wants to edit the string, not the image.
@OP
The notification type is a toast. I'm pretty sure it's in the smali files.
Sent from my X8 to your screen
Okay guys, after three days of searching this message I didn't find it I checked ALL smali and xml files in SystemUI.apk; Settings.apk and xml files in framework-res.apk (in this one I don't have smali files. Is it right or it is problem on my site ?) I checked all this files at least 2-3 times but without results. But anyway thank you for your help
EDIT: I have next question. If I edit "device_info_settings.xml" I get FC's on my phone. I can open Settings but if I touch on "About Phone" I get FC's. Did I something wrong ? I edited files, saved, then I compiled it and deleted resources.arsc and all xml's I edited. Everything works well but this one no. Please if someone know how to solve it please help.

problem with .thumbdata

hi guys,
my .thumbdata in sdcard0/DCIM/.thumbnails increases in size until i am out of memory .its current size is 1.07 GB each ( i have 2 .thumbdata files). how to stop gallery from creating those huge files?
Copy the name of that .thumbdata file.
Now delete it and create a new file (or use any other file of small size) and rename it to the name of that .thumbdata file you delete.
This worked for me, hope it works for you too..
Sent from my GT-I9070 using Tapatalk
That's correct @dagger.
I think that file was related with pic preview directly from camera app, when you click on little thumbnail.
When I deleted it, camera stopped working and that thumbnail was blank until file was recreated, then it worked again (with 2GB pictures and a 2,5 GB .thumbdata!)
Now creating the folder with the same name of file stopped that huge file from recreating himself.
I think camera now refers directly to thumbnail files (in thumbnails folder) for preview. Or, if not, that's the same because now I have 2.5GB more on my internal SD!
dagger said:
Copy the name of that .thumbdata file.
Now delete it and create a new file (or use any other file of small size) and rename it to the name of that .thumbdata file you delete.
This worked for me, hope it works for you too..
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
R_a_z_v_a_n said:
That's correct @dagger.
I think that file was related with pic preview directly from camera app, when you click on little thumbnail.
When I deleted it, camera stopped working and that thumbnail was blank until file was recreated, then it worked again (with 2GB pictures and a 2,5 GB .thumbdata!)
Now creating the folder with the same name of file stopped that huge file from recreating himself.
I think camera now refers directly to thumbnail files (in thumbnails folder) for preview. Or, if not, that's the same because now I have 2.5GB more on my internal SD!
Click to expand...
Click to collapse
ok...will try it. thanks for your help
Creating a file with the same .thumbsdata name doesn't solve my problem. Any other suggestions?
Sent from my GT-I9070 using xda app-developers app
Patlcs said:
Creating a file with the same .thumbsdata name doesn't solve my problem. Any other suggestions?
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Did you name it correctly??
Make sure not to leave any gaps before the name..
Sent from my GT-I9070 using Tapatalk
dagger said:
Did you name it correctly??
Make sure not to leave any gaps before the name..
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
i copied the file name and created a file using root explorer. in fact, if i do not restart my phone the file size will remain 0 bytes. on the other hand if i restart it the file size is 1.07 gb again
Patlcs said:
i copied the file name and created a file using root explorer. in fact, if i do not restart my phone the file size will remain 0 bytes. on the other hand if i restart it the file size is 1.07 gb again
Click to expand...
Click to collapse
should i change the file permissions?
Patlcs said:
should i change the file permissions?
Click to expand...
Click to collapse
I don't think that is needed.
Sent from my GT-I9070 using Tapatalk

Can't edit/replace/write some system files (set immutable.list?)

Hi! This is my first post on XDA, sorry for my poor english(google translate)
A few hours ago I root my p7-L10 But I discovered that I can not edit some system files, I found a file that has a list of immune files be edited or deleted.
So if I delete "set immutable.list" or edit the file lines can solve the problem? Does the cell can result in softbrick?
If this file does not cause the problem, what is or what is the solution? I appreciate any help you can give me!
You must follow next steps to edit or delete immutable.list.
http://forum.xda-developers.com/showthread.php?p=55569089
Sent from my HUAWEI P6-U06 using Tapatalk
It works [emoji106]
can anyone make a script for CWM to get full root access and hopefully remove a file set immutable.list
adrianbass09 said:
Hi! This is my first post on XDA, sorry for my poor english(google translate)
A few hours ago I root my p7-L10 But I discovered that I can not edit some system files, I found a file that has a list of immune files be edited or deleted.
So if I delete "set immutable.list" or edit the file lines can solve the problem? Does the cell can result in softbrick?
If this file does not cause the problem, what is or what is the solution? I appreciate any help you can give me!
Click to expand...
Click to collapse
Use X-Plore to delete ...

Categories

Resources