[HELP] Modification Camera.apk in stock rom. - Optimus One, P500, V General

Hi everyone!
As you know the standard chamber well, but in it there is one minus for me. It doesn't make a photo by the search button. Video removes, but doesn't photograph. The help more less understanding people is necessary. I have already a little rummaged and have understood that system code LG in classes.dex differs from other examples интренете. Therefore I do not know, where it is exact and with what to begin editing.
It should like be edited here, but I precisely am not assured:
\tools\dex-camera\com\lge\camera\CameraApp.smali
Because there is a file with the interesting name:
ShutterButton.smali
Let's together try solve this piece.
Sorry for my English. The translator isn't omnipotent

TroyxRUS said:
Hi everyone!
As you know the standard chamber well, but in it there is one minus for me. It doesn't make a photo by the search button. Video removes, but doesn't photograph. The help more less understanding people is necessary. I have already a little rummaged and have understood that system code LG in classes.dex differs from other examples интренете. Therefore I do not know, where it is exact and with what to begin editing.
It should like be edited here, but I precisely am not assured:
\tools\dex-camera\com\lge\camera\CameraApp.smali
Because there is a file with the interesting name:
ShutterButton.smali
Let's together try solve this piece.
Sorry for my English. The translator isn't omnipotent
Click to expand...
Click to collapse
What do you wanna edit/change??
YOu have several .smali decoders, so you can give Java commands to what it does.

Related

[Q] Software to edit photo

Hi,!!! sorry for my english..
i'm italian and i don't speek very well the english..
I find a software for my HTC HD2 for edit or travesty a photo..
anythings alike a facewarp for symbian...but i have a WM...
i hope that someone help me...
thanks to all...
Bye.....
see this thread:
http://forum.xda-developers.com/showthread.php?t=751278
thanks for a fast reply...
but there aren't software that i find...
i find a program for take a picture with frames, or take a cartoon...
Do you understand me??
a program alike facewarp for symbian...
thanks a lot..
don't know face warp or what it does, sorry.
did you look at what i posted?
paint now:
http://forum.xda-developers.com/showthread.php?t=678556
pocket picture:
http://code.google.com/p/pocketpicture/
they seem to be able to do more than add frames, but don't really know! other than that, good luck!
thanks however...
but they aren't that i find...
i hope that someone else help me...
??
are you looking for an app that will allow you to take a picture with the camera and then edit it so you can for example: make the nose bigger, make the face look fatter/ thinner, massive ears, etc etc?
i dont know of an app like this for the HD2. but will keep an eye out. cant see anyone developoing it though as its just a 'bit of fun' app as apposed to proper photo edit software.
thanks for a reply..yes i find a software "to take a picture with the camera and then edit it so you can for example: make the nose bigger, make the face look fatter/ thinner, massive ears, etc etc?"
If you discover...link me...
aaaabbb said:
thanks for a reply..yes i find a software "to take a picture with the camera and then edit it so you can for example: make the nose bigger, make the face look fatter/ thinner, massive ears, etc etc?"
If you discover...link me...
Click to expand...
Click to collapse
As I know, FaceWarp is a java application, made for the SE devices, but forunatelly it has been ported to other - java-supported - handsets.
As the HD2 supports the java, you can easily download the .jad or .jar file, and after you copied it to your device, you'll be able to use it without any installation process. I'm not sure that the software will work, but a worth a try I think.
I was looking for it, but unluckily I haven't found a version with 800x480 resolution, the biggest one I found is in 400*240, so you may not use it in fullscreen...
Thanks for the interest, but face warl don't work on htc hd2..
i find a program alike it...if exists ....
Help..........
Link
aaaabbb said:
thanks for a reply..yes i find a software "to take a picture with the camera and then edit it so you can for example: make the nose bigger, make the face look fatter/ thinner, massive ears, etc etc?"
If you discover...link me...
Click to expand...
Click to collapse
http://pocket-goo-2.en.softonic.com/windowsmobile
give this a try, ive not used it but looks liek what ure after.
Not Found
The requested URL /downloadi.asp was not found on this server.
the download's link is incorrect...
help....
it's impossible that not exsist....
aaaabbb said:
help....
it's impossible that not exsist....
Click to expand...
Click to collapse
There's one in marketplace called Imagewarper - no idea how good it is but it looks like it works on an hd2
https://marketplace.windowsphone.com/details.aspx?appId=62766df5-e80d-45d5-a8d8-f6aa7a3b8ba1
Looks like it might be fun. there used to be an amazing program on the pc called powergoo which did this - great fun turning your friends faces in to caricatures.
try Resco Photo Manager Pro? it's worth it

Xml file with the app info: does it exist?

Hi guys,
not knowing where to post this request I put it here. If it's not the right place, I'm sorry.
I'm a blogger and the admin of the blog have created a shortcode that can get a lot of information from the app ID: icon, title, etc. It's really useful because it makes the filling of the box review we use faster.
Unfortunally this works only for the iPhone app because it uses the xml file.
Is there an xml file (like the one for the iPhone) we can use to do the same thing with the applications of Market? or will I, who am the only one to review apps for Android, have to complete the box manually?
I'm really sorry for my bad English but I have some problem explaining this technical issue

[Q] All of the theme and rom building questions

Hey guys, I have a few questions. I looked around a bit before posting this, but I may have missed some stuff so if I need to remove this thread just let me know that I should have looked harder(and kindly provide a link please).
First I would like to know how to get into "Themeing". I want to know how to change the colors mostly. I can usually find the file I need to edit in order to change the icon shape, but If I'm not mistaken, the colors are probably controlled in an xml file. They may all look for a "central file" that contains the colors, or I may need to change each one individually. If there is a central file could someone help me find out what it is.
I have only found how to edit apps, so here's where I get a major case of the noobs. Are the system colors controlled by the launcher or the theme or is there a UI that can be edited what do I need to do. I want to be able to change the number styles, the fonts of the keyboard, and all that jazz. The most important thing, though; is that I need to be able to change the colors. I really don't have an issue with the current fonts and don't have a good idea what to replace them with anyway.
---------------------------------------------------------------------------------------------
Now that the above train wreck is over I have some harder questions.
I also want to get into developing. I will probably start by modifying someone else's. (side question, could I re-release theirs with my changes just so that people could test it provided I ask and give them credit. I know this depends on the person, but is it taboo, or just a no for some people) I already read through and followed shrike1978's. It was possibly the best thing that could have happened to me. It showed me that it was actually possible to do for someone with less android experience. (link)
But after I have built it what do I need to do to get started modifying it? I'm not even sure what all I want to do, but is there any suggestions of a starter project, as well as a how to do it?(maybe changing the launcher, or something like that)
Also I have been using xfce linux mint on a second hard drive of 75 gigs. Will this be an ok setup? Should I switch to ubuntu although I don't really like it as much?
Should I be s-off or on (maybe on so that I know that they will be supported)? Also is there any good vm's that run in linux and will run android?
I probably missed a few questions that I intended to ask, so I will edit them in when needed.
I plan to make a how to thread on my findings(hopefully good enough shrike gives me a :highfive: for doing a good job) so everyone who helps (provided I actually learn how and am capable of making the how to) will be thanked in my future famous thread
Also I apologize for any miss-types. I will do my best to correct them, but my keyboard is pretty broken (it took a tumble when I moved home for winter break)
I figured out the fonts(at least for the few roms I checked). They are easy to change and add. They are controlled in a system_fonts.xml in the "\system\etc" folder of the rom. The files that they represent are in the "\system\fonts" folder of the rom. The xml file has a pretty good explanation of how it is read, so adding your own should be pretty easy.
If anyone here has any suggestions even if you dont know for sure let me know please.;
Here's some threads I had bookmarked that may help:
http://forum.xda-developers.com/showthread.php?p=16459009
http://forum.xda-developers.com/showthread.php?t=916814
I had another one that I can't find the bookmark for.
feralicious said:
Here's some threads I had bookmarked that may help:
http://forum.xda-developers.com/showthread.php?p=16459009
http://forum.xda-developers.com/showthread.php?t=916814
I had another one that I can't find the bookmark for.
Click to expand...
Click to collapse
You are my hero.

Decompile an APK and change some functions

hello guys,
I am new in this forum and I am Form Germany so maybe I have some mistakes in this Text but I hope you will understand.
I have lots of experience in C++ and VB.net.. I startet a few month ago with Java now I learn to do something with Android.
I have to say that I hacked much in c++ because I like it.. So no I asked myself how to do the same thing with Android.
Is it possible to decompile an apk and change some function? For example: A game give you always 50 gems for an exercise. Is it possible to change the function so you will get 100 gems? I would love to learn it because it is very interesting and useful too.
I hope you will help me
Thank you
Btw: I know that my sentences are very simple but I tried to say you what I think in german.
xR0fl said:
hello guys,
I am new in this forum and I am Form Germany so maybe I have some mistakes in this Text but I hope you will understand.
I have lots of experience in C++ and VB.net.. I startet a few month ago with Java now I learn to do something with Android.
I have to say that I hacked much in c++ because I like it.. So no I asked myself how to do the same thing with Android.
Is it possible to decompile an apk and change some function? For example: A game give you always 50 gems for an exercise. Is it possible to change the function so you will get 100 gems? I would love to learn it because it is very interesting and useful too.
I hope you will help me
Thank you
Btw: I know that my sentences are very simple but I tried to say you what I think in german.
Click to expand...
Click to collapse
there are some news I decompiled the apk with apk multi tool..then I put the .dex file into the dex2jar folder I have a.java file..I opened it and I found something what I was looking for. But I have to change the code in the .smali file but how should that work? I cant understand the **** in the smali file...
how could it works?

[Q] i want to learn how to mod a Rom up to my device, but i can't

i very like learn to mod the apps or a rom with my device, but i can't know which way is easy, i think i or new member like me will aslo like to do this work. Give me to advice. Thanks all you.
keveinee said:
i very like learn to mod the apps or a rom with my device, but i can't know which way is easy, i think i or new member like me will aslo like to do this work. Give me to advice. Thanks all you.
Click to expand...
Click to collapse
There is no easy way. First you have to learn Linux (ROM building) or learn to decompile the apps and look threw thousands of files. Alot of which are xmls and smali code.
^ true
Also depends which device you have
Mtk or snapdragon
zelendel said:
There is no easy way. First you have to learn Linux (ROM building) or learn to decompile the apps and look threw thousands of files. Alot of which are xmls and smali code.
Click to expand...
Click to collapse
i knew it, but i have one question that im using my device with snapdragon chip, but i don't understand that why some app, when i get from the other devices then some app, i can use, but something some app i can't use to my device? But all app from google play, the alls that can use to setup to my device, all things what is the different?
Ok first your chip has very little to do with what apps will or will not work on your device. Those are concidered by many other factors. Like screen res, ram, and in some very rare cases gpu. Others are OEM dependent. Some are dependent in if your rooted or not.
I would advise putting any development ideas on hold while you go back and do alot of research.
zelendel said:
Ok first your chip has very little to do with what apps will or will not work on your device. Those are concidered by many other factors. Like screen res, ram, and in some very rare cases gpu. Others are OEM dependent. Some are dependent in if your rooted or not.
I would advise putting any development ideas on hold while you go back and do alot of research.
Click to expand...
Click to collapse
thanks about your advice!!! First, my device had been rooted (my device is LG) then i can setup the apps from outside, and i see that when the modders decompile or rebuild a app, they also had added lge-res.apk, lge-res.odex, lge-framework.apk with command ' if ' in apktool like that 'apktool if lge-res.apk.....'
why did they do that?
I already have found very things from google search, but i could not find what things i need, cause be able to my english level is not good. im very exciting to do anything about that.
IF you be modder, professional in the modifier work. Can you help me to do that? Again that i thanks about your advice.
keveinee said:
thanks about your advice!!! First, my device had been rooted (my device is LG) then i can setup the apps from outside, and i see that when the modders decompile or rebuild a app, they also had added lge-res.apk, lge-res.odex, lge-framework.apk with command ' if ' in apktool like that 'apktool if lge-res.apk.....'
why did they do that?
I already have found very things from google search, but i could not find what things i need, cause be able to my english level is not good. im very exciting to do anything about that.
IF you be modder, professional in the modifier work. Can you help me to do that? Again that i thanks about your advice.
Click to expand...
Click to collapse
I am not an expert modder but I can try and point you in the right direction, those files are framework files that are required by the LG framework to function correctly, essentially they are extra resources that are required for the app to work correctly based on the changes LG made. Samsung, HTC, Motorola, etc. all have similar files that are required when working on any of there apk's (For example S Note is a Samsung specific app I would first have to input "if" the touchwiz framework for the app to compile and re-compile successfully in order to make any modifications to it). What other resources where you looking for?
shimp208 said:
I am not an expert modder but I can try and point you in the right direction, those files are framework files that are required by the LG framework to function correctly, essentially they are extra resources that are required for the app to work correctly based on the changes LG made. Samsung, HTC, Motorola, etc. all have similar files that are required when working on any of there apk's (For example S Note is a Samsung specific app I would first have to input "if" the touchwiz framework for the app to compile and re-compile successfully in order to make any modifications to it). What other resources where you looking for?
Click to expand...
Click to collapse
thanks your answer, you're so right. I would to be a really modder, i've just been learnt about electrical technology in my school, but i very exciting be become modder. Sure i will find additional to adding my leaked knowledge. Thank alot.

Categories

Resources