goi camera settings file - Samsung Galaxy Gio GT-S5660

can anyone tell me in which system file the settings/prefs for the galaxy gio android camera are stored?
In the file has to be some line where is set that the camera won't work when battery is below 15%.
I want to change that percentage so I'm looking for the file where this info is stored..
can anyone help me?
I already looked in the com.android.camera map but I couldn't find it there.

maybe in /system/build.prop or it is in the code so you can't change it... on custom roms you don't have this "problem" you can use the camera even you have only 5%
Sorry for my bad englisch

emyaz said:
maybe in /system/build.prop or it is in the code so you can't change it... on custom roms you don't have this "problem" you can use the camera even you have only 5%
Sorry for my bad englisch
Click to expand...
Click to collapse
why does this problem not occur on custom roms? when creating these custom roms, there is still some original line that has to be removed?

DutchArjo said:
why does this problem not occur on custom roms? when creating these custom roms, there is still some original line that has to be removed?
Click to expand...
Click to collapse
yes they remove the line or change the settings in the code...
Sorry for my bad englisch

I think that file is stored in Camera.apk

Yesh you'll need to edit camera.apk

How can I edit camera.apk?
Sent from my GT-S5660 using xda app-developers app

You need to decompile it with APKmanager
Sent from my GT-S5660 using xda app-developers app

i decompiled camera.apk
Where and in which file should i look for this setting?

DutchArjo said:
i decompiled camera.apk
Where and in which file should i look for this setting?
Click to expand...
Click to collapse
In smali
It isnt that easy as u think
Sent from my ST25i using xda app-developers app

hmmmz... i hoped it was...
maybe someone will help me with this...

is there somebody who can / will help me with this? I'd like to fix the setting and return to stock rom to see if battery life is so bad also (on aosp and cm10.1, i have max 12 hours battery life)

Related

[Q] using bootanimation.zip instead of .qmg

Hey, is it possible to use bootanimation.zips instead of those .qmgs? I've got some pretty cool animations but idk how to use them on this phone...
swyped from my overclocked GT-I9100 using XDA Premium App
Does nobody know how to ?
swyped from my overclocked GT-I9100 using XDA Premium App
We have to wait for a Kernel which supports custom bootanimation.zip's
KLoNe1 said:
We have to wait for a Kernel which supports custom bootanimation.zip's
Click to expand...
Click to collapse
I don't really think that we have to use custom kernels... Isn't there any normal file we have to change to get it working..?
Swyped from my overclocked GT-I9100 using XDA Premium App
You can try dropping it in the usual place it will either work or not .
Modified QMG will don't know about zip.
System Media
jje
I know i'm not a newb at android
Ok never used .qmgs so how can i modify them? which programm do i have to use?
I prefer .zips instead of those .qmgs
/system/media
/system/media/video
There
Swyped from my overclocked GT-I9100 using XDA Premium App
PoTi_96 said:
I don't really think that we have to use custom kernels...
Click to expand...
Click to collapse
Yes you do. You can use this kernel : http://forum.xda-developers.com/showthread.php?t=1103399
PoTi_96 said:
I know i'm not a newb at android
Ok never used .qmgs so how can i modify them? which programm do i have to use?
http://quramsoft.com/solution_e/qmage.asp
jje
Click to expand...
Click to collapse
BlueScreenJunky said:
Yes you do. You can use this kernel : http://forum.xda-developers.com/showthread.php?t=1103399
Click to expand...
Click to collapse
I know CF and his things so no need for linking, i'm a active member but THANKS
Swyped from my overclocked GT-I9100 using XDA Premium App
JJEgan said:
PoTi_96 said:
I know i'm not a newb at android
Ok never used .qmgs so how can i modify them? which programm do i have to use?
http://quramsoft.com/solution_e/qmage.asp
jje
Click to expand...
Click to collapse
Thanks
But i can't find any programm there...
Am i blind?
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
PoTi_96 said:
JJEgan said:
Thanks
But i can't find any programm there...
Am i blind?
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
There is no program to get. It's a closed format, if you want edit their files - then you need to pay.
Click to expand...
Click to collapse
DuMaX said:
PoTi_96 said:
There is no program to get. It's a closed format, if you want edit their files - then you need to pay.
Click to expand...
Click to collapse
Oh but i read somewhere that there is a program to edit it...
Anyways thank you
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
well theres a way
guys theres no way to edit those .qmg formats.....but theres a way we can make our phones use zip formats.....this mod is for froyo and gingerbread.you can try on honeycomb and ics but follow the precautions given in the end:
1.go to system/bin folder....find the file named samsungani ,rename it to samsungani.bak.....
2.then find the file bootanimation in the same folder,rename it to samsungani...set its permissions as rwxr-xr-x.if you dont understand these permissions then simply check the permissions of any other file in the same folder and set the same permissions.
3.place your bootanimation.zip in system/media and set its permissions ---rwxr-x
4.now, when i did this on my phone,i entered a bootloop and even after my phone had booted properly,the custom bootanimation kept playing .thank god i have and external keyboard and when i opened it the screen orientation changed .now,the bootanimation was unable to cover the whole screen,so some part of the screen became visible, i used that part to go to system/bin/samsungani and i renamed it back to bootanimation,then i rebooted and there was no bootanimation
due to above problems i suggest u to use a bootanimation of the smallest possible size.that way ,even if u enter a bootloop the bootanimation will cover a small part of the screen and u will be able to revvert the changes .
actually ,gingerbread needs custom kernel to support the above mod,thats why i entered a bootloop.....all of us have different kernels so not all will encounter the same problem.....
please hit thanks button if i helped.......(really important ,otherwise the mod wont work
Simple method use a kernel that supports boot animation zip and place boot animation.zip in system/media folder job done .
jje
Thank you!
shredmatix said:
guys theres no way to edit those .qmg formats.....but theres a way we can make our phones use zip formats.....this mod is for froyo and gingerbread.you can try on honeycomb and ics but follow the precautions given in the end:
1.go to system/bin folder....find the file named samsungani ,rename it to samsungani.bak.....
2.then find the file bootanimation in the same folder,rename it to samsungani...set its permissions as rwxr-xr-x.if you dont understand these permissions then simply check the permissions of any other file in the same folder and set the same permissions.
3.place your bootanimation.zip in system/media and set its permissions ---rwxr-x
4.now, when i did this on my phone,i entered a bootloop and even after my phone had booted properly,the custom bootanimation kept playing .thank god i have and external keyboard and when i opened it the screen orientation changed .now,the bootanimation was unable to cover the whole screen,so some part of the screen became visible, i used that part to go to system/bin/samsungani and i renamed it back to bootanimation,then i rebooted and there was no bootanimation
due to above problems i suggest u to use a bootanimation of the smallest possible size.that way ,even if u enter a bootloop the bootanimation will cover a small part of the screen and u will be able to revvert the changes .
actually ,gingerbread needs custom kernel to support the above mod,thats why i entered a bootloop.....all of us have different kernels so not all will encounter the same problem.....
please hit thanks button if i helped.......(really important ,otherwise the mod wont work
Click to expand...
Click to collapse
Thank you very much!
It works on Samsung Galaxy note 2 but the dimensions of bootanimation.zip must be instead 720/1280 ยป 360/640.
Merry Christmas!

[REQ][HOWTO] Making your own battery mod?

People are using different rom's , some other are asking for specific mod etc
Could someone write some guide how to do it, to enlight those who are not aware ?
Take the framework-res.apk from your current rom and upload it to http://uot.dakra.lt/kitchen
Once uploaded go to battery mod and select the battery style u want and cook it.
When its cooked extract the framework-res.apk from the downloaded file and either replace it with root explorer or push it with adb back into the phone.
Sent from my GT-I9100 using Tapatalk
Locster126 said:
Take the framework-res.apk from your current rom and upload it to http://uot.dakra.lt/kitchen
Once uploaded go to battery mod and select the battery style u want and cook it.
When its cooked extract the framework-res.apk from the downloaded file and either replace it with root explorer or push it with adb back into the phone.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
This is what I know already, but this is not working and phone is keeping crashing
masi0 said:
This is what I know already, but this is not working and phone is keeping crashing
Click to expand...
Click to collapse
Depends of which rom you are running but if you use VillainRom I think you need to open your modded framework with 7-zip and replace "META-INF" directory with the one found in the original framework of your rom. This is needed to sign the file.
However I'm not sure you use VillainRom (where files must be signed) and I didn't use yet the kitchen ... but your feedback is usefull if you want to try ...
shaolin79 said:
Depends of which rom you are running but if you use VillainRom I think you need to open your modded framework with 7-zip and replace "META-INF" directory with the one found in the original framework of your rom. This is needed to sign the file.
However I'm not sure you use VillainRom (where files must be signed) and I didn't use yet the kitchen ... but your feedback is usefull if you want to try ...
Click to expand...
Click to collapse
I am using stock KE4
masi0 said:
I am using stock KE4
Click to expand...
Click to collapse
Ok so ignore what I said upper ... should be only for signature of the rom (not needed in stock roms).
Anyway ... if someone has the solution ...
I always made that on my own...
Open the decompiled .xml in the framework-res.apk, edit those lines, add my own battery.pngs and that was all...
I didnt test it on my sgs2... But it should be the same way to get it...
Swyped from my overclocked GT-I9100 using XDA Premium App
PoTi_96 said:
I always made that on my own...
Open the decompiled .xml in the framework-res.apk, edit those lines, add my own battery.pngs and that was all...
I didnt test it on my sgs2... But it should be the same way to get it...
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
could you tell which .xml to edit and what to add within the file?
I juz grab one of the batt mod out there and replace the .png files under /res/drawable-hdpi-v4 with the ones I want. guess its kind of a lazy way to do it=)
I have KE2 and get a "signature verification failed" error when trying to apply the UOT.zip file :-(
Anyone some idea how to get this applied?
Also my original framework-res.apk file doesn't have any folder called "/res/drawable-hdpi-v4" but the UOT file has!?
masi0 said:
could you tell which .xml to edit and what to add within the file?
Click to expand...
Click to collapse
I dunno exactly which one it was right now but I think the battery.xml somewhere in the first 3 or 4 folders...
sorry idk it anymore ... Long time no use for :/
Swyped from my overclocked GT-I9100 using XDA Premium App

how edit SystemUI.apk and build

I used apk took, apk manager edit systemUI.apk but when i build and cook rom then (process.com.androind.systemui) has stopped unexpectedly
i want edit images and XML
sorry . my bad english
check your xml files in the systemui, or maybe you did not sign the apk or you did not set perpissions to rw-r-r
also post in the right forum we have a Q&A thread in the general section
deathnotice01 said:
check your xml files in the systemui, or maybe you did not sign the apk or you did not set perpissions to rw-r-r
also post in the right forum we have a Q&A thread in the general section
Click to expand...
Click to collapse
i'm copy this in custom rom and flash,you can guilde 1 video or text ?
levanhau03 said:
I used apk took, apk manager edit systemUI.apk but when i build and cook rom then (process.com.androind.systemui) has stopped unexpectedly
i want edit images and XML
sorry . my bad english
Click to expand...
Click to collapse
What were the modifications you made?
Sent from my GT-S5360 using XDA
hell_lock said:
What were the modifications you made?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
edit 14 toogle , mod flash light in xml , and build .Help me
levanhau03 said:
edit 14 toogle , mod flash light in xml , and build .Help me
Click to expand...
Click to collapse
well... try it without editing the xml.. even i got bootloops when i tried to edit the xml files
hell_lock said:
well... try it without editing the xml.. even i got bootloops when i tried to edit the xml files
Click to expand...
Click to collapse
can you guilde video or text ?
levanhau03 said:
can you guilde video or text ?
Click to expand...
Click to collapse
I will help you after I complete my rom, I am busy these days..
Sent from my GT-S5360 using XDA App
hell_lock said:
I will help you after I complete my rom, I am busy these days..
Sent from my GT-S5360 using XDA App
Click to expand...
Click to collapse
please , very need..
levanhau03 said:
please , very need..
Click to expand...
Click to collapse
Pm me ur systemui.apk
Sent from my GT-S5360 using XDA

how to add app. while porting a rom

does any one know how to add apps to a rom while porting and after that does i have to edit some think in build.prop please help me i want to port a rom for lg p690 and want some apps in it so please help me
guys if u found my question useful then thank me
It depends on some apps. Some are tied to system folders and some aren't.
Which ones are you trying to add?
And no need for build.prop edits
Sent from my HTC One X using xda premium
just download the .apk and with Esexplorer mount system as r\w and copt the apk to ^^system root/app^^ touch and hold copied apk and change permission and tick all apply and REBOOT!
WALLAH!!!!!!!!:victory:
i want to add you tube and camera.apks so what to do
J.E.abhishek kumar said:
i want to add you tube and camera.apks so what to do
Click to expand...
Click to collapse
just put them in your rom's /system/app folder
then can i flash my rom after pasting the apks
I want to change the kernel in Miui v5 How to do it?
the boot.img in rom zip is kernel so u can try to change it .just put the boot.img of any rom like for cm to cm and aokp toaokp.etc built for your device and had not tried it yet so try it on your wn risk and reply what happened
waleed78636 said:
just download the .apk and with Esexplorer mount system as r\w and copt the apk to ^^system root/app^^ touch and hold copied apk and change permission and tick all apply and REBOOT!
WALLAH!!!!!!!!:victory:
Click to expand...
Click to collapse
Wallah bro?
J.E.abhishek kumar said:
then can i flash my rom after pasting the apks
Click to expand...
Click to collapse
It depends if your roms format is correctly. Deleting something that is required by the system bootloops the rom.
What are you pasting them with?
i want learn too
Sent from my YP-G70 using xda app-developers app
J.E.abhishek kumar said:
does any one know how to add apps to a rom while porting and after that does i have to edit some think in build.prop please help me i want to port a rom for lg p690 and want some apps in it so please help me
guys if u found my question useful then thank me
Click to expand...
Click to collapse
You shouldn't be porting ROMs if you don't know this..
just drag your app to flashable zip rom
Sent from my SCH-i509 using xda premium
J.E.abhishek kumar said:
does any one know how to add apps to a rom while porting and after that does i have to edit some think in build.prop please help me i want to port a rom for lg p690 and want some apps in it so please help me
guys if u found my question useful then thank me
Click to expand...
Click to collapse
Just put the .apk file in the app folder and compress it but some application also need lib files with them
So make sure you also put them in lib folder
Sent from my HTC Explorer using xda premium
Tell me how framework edit? For add app while porting ROM??
Sent from my AD683G using xda app-developers app

[MOD] "M" unlocked ring

I don't really know where to post it .so, I decided to create a new thread for this...
Inspired by https://plus.google.com/u/1/+PankajGehloach/posts/LEC17sUfpAM
Flash via CWM
It works fine on my XT1032 ...retal.en.US. Any other Phones (XT10xx) or firmwares (...retail.en.XX or GPE) - I don't know will it work or not.
I highly recommend anyone do copy of your Keyguard.apk (/system/priv-app) before flashing this.
If you wanna do the same for your phone:
copy Keyguard.apk from your phone on your PC
download M[1].zip , find Keyguard.apk. Open it. Find ic_lockscreen_handle_normal.png and extract it.
Open yours Keyguard.apk via 7.zip (WinRar etc), and replace ic_lockscreen_handle_normal.png with mine without compressing
Replace Keyguard.apk in M[1].zip with yours and flash it.
S0bes said:
I don't really know where to post it .so, I decided to create a new thread for this...
Inspired by https://plus.google.com/u/1/+PankajGehloach/posts/LEC17sUfpAM
Flash via CWM
Click to expand...
Click to collapse
looks gud u replaced the png bro? and ur battery icon seems to be modded any share on how u did that battery icon mod?
yeshwanthvshenoy said:
looks gud u replaced the png bro? and ur battery icon seems to be modded any share on how u did that battery icon mod?
Click to expand...
Click to collapse
yes, I just replaced ic_lockscreen_handle_normal.png in Keyguard.apk
Battery icon was modified by gravitibox (root + xposed framework + gravitybox module). But I think it's not so hard to do a circle battery mod manually.
S0bes said:
yes, I just replaced ic_lockscreen_handle_normal.png in Keyguard.apk
Battery icon was modified by gravitibox (root + xposed framework + gravitybox module). But I think it's not so hard to do a circle battery mod manually.
Click to expand...
Click to collapse
nope manually isnt easy itz not abt replacing pngs for battery we gotta do a lot of smali editing tried and got fc
Which weather widget are u using??
dragonvasu said:
Which weather widget are u using??
Click to expand...
Click to collapse
the one from CM11
yeshwanthvshenoy said:
nope manually isnt easy itz not abt replacing pngs for battery we gotta do a lot of smali editing tried and got fc
Click to expand...
Click to collapse
may be you're right. I haven't been modifying battery manually since 2.3.6
S0bes said:
the one from CM11
may be you're right. I haven't been modifying battery manually since 2.3.6
Click to expand...
Click to collapse
yes but will be a gud one if we can manually edit it and suceed! i know itz a hell job though!
Which xposed module did you use for the battery icon?
Sent from my XT1033 using XDA Free mobile app
Would this work on XT1031?
Sent from my XT1031 using XDA Free mobile app
Guys seriously it's the gravitybox module even xblast could do it as we all know, the thread ain't about his circle battery. It's made for the "M" unlocker and I'm giving it a shot later on. Thanks mate.
Kohltont22 said:
Would this work on XT1031?
Sent from my XT1031 using XDA Free mobile app
Click to expand...
Click to collapse
As far as I know It should be working on any 4.4.2
But I tested it only on my xt1032.
dark ryder said:
Which xposed module did you use for the battery icon?
Sent from my XT1033 using XDA Free mobile app
Click to expand...
Click to collapse
Can you read 3d post?
Didnt exactly work on my XT1033
uberano26 said:
Didnt exactly work on my XT1033
Click to expand...
Click to collapse
what exactly happened?
Do you have a black screen instead of lockscreen or just nothing changed? @uberano26 Try this one. It was modified by vitamerlan for xt1033 asia.retail
Not a black screen but no lockscreen altogether, also the home button stopped working for some reason.
That works to some extent, the M shows but then the on screen keys starts behaving erratically.
S0bes said:
what exactly happened?
Do you have a black screen instead of lockscreen or just nothing changed? @uberano26 Try this one. It was modified by vitamerlan for xt1033
Click to expand...
Click to collapse
Can you give the zip file which revert back to stock.. Because when I flashed it, none of the locks are working and home button also not working...
Sent from my XT1032 using XDA Premium 4 mobile app
padhu1989 said:
Can you give the zip file which revert back to stock.. Because when I flashed it, none of the locks are working and home button also not working...
Sent from my XT1032 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Unfortunately I can not just create this zip from air. Zip should consist of files from your firmware
S0bes said:
Unfortunately I can not just create this zip from air. Zip should consist of files from your firmware
Click to expand...
Click to collapse
I can give you what are the files you needed.. Can you make a zip and post it.. It will help others too...
Sent from my XT1032 using XDA Premium 4 mobile app
padhu1989 said:
I can give you what are the files you needed.. Can you make a zip and post it.. It will help others too...
Sent from my XT1032 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Zip already exists. You should just replace Keyguard.apk in my zip with yours Keyguard.apk and flash.
S0bes said:
Zip already exists. You should just replace Keyguard.apk in my zip with yours Keyguard.apk and flash.
Click to expand...
Click to collapse
Sorry for the dump question.. Can I extract key guard.apk from firmware file?
Sent from my XT1032 using XDA Premium 4 mobile app

Categories

Resources