[Q]Taking Camera With Power Button

Search This thread

Junnie

Senior Member
Jul 4, 2011
241
16
Jakarta Capital Region
good evening everybody ;) god bless you all...

okay straight to topic,anyone knows how to hack/tutorial taking picture with power button on stock camera?? like emanoN ROM did :confused: thanks

__________________________________________

solved,thanks to adib_17
 
Last edited:

dheeraj (dhlalit11)

Senior Member
Sep 30, 2011
2,540
1,512
fatehabad (hry)
pull camera.apk with from emanon zip file

rename camera.apk to Cramer.zip file open it from there take out classes.dex file and copy it to your desktop copy your current camera app to desktop rename it to camera.zip and open it from there delete classes.dex and copy the previous one to new camera app

rename the modified camera.zip to camera.apk and resign it with zipsigner 2
 

GenomeX

Senior Member
Dec 5, 2011
373
241
Rasht
Redmi K20 / Xiaomi Mi 9T
pull camera.apk with from emanon zip file

rename camera.apk to Cramer.zip file open it from there take out classes.dex file and copy it to your desktop copy your current camera app to desktop rename it to camera.zip and open it from there delete classes.dex and copy the previous one to new camera app

rename the modified camera.zip to camera.apk and resign it with zipsigner 2
no man emanoN rom is odex ... and don't sign system app.
here classes.dex
extract rar file the dex file in that. put in your camera app with 7-zip (better use this progeram, it's free software)
Do't forgot backup your rom!!!
 

Attachments

  • classes.rar
    207.4 KB · Views: 20
  • Like
Reactions: Junnie

dheeraj (dhlalit11)

Senior Member
Sep 30, 2011
2,540
1,512
fatehabad (hry)
no man emanoN rom is odex ... and don't sign system app.
here classes.dex
extract rar file the dex file in that. put in your camera app with 7-zip (better use this progeram, it's free software)
Do't forgot backup your rom!!!

oh just for knowledge can you tell me what is the difference between classes.dex of an odex and deodex app

---------- Post added at 12:00 PM ---------- Previous post was at 11:58 AM ----------

oh just for knowledge can you tell me what is the difference between classes.dex of an odex and deodex app
as soon as you open the camera app you will see classes.dex file just replace with the one you have downloaded
 

GenomeX

Senior Member
Dec 5, 2011
373
241
Rasht
Redmi K20 / Xiaomi Mi 9T
oh just for knowledge can you tell me what is the difference between classes.dex of an odex and deodex app

when a rom is odex classes.dex convert to odex file behind that app like:
Mms.apk
Mms.odex
if you open Mms.apk you can't find any classes.dex

for de-odex rom all java code in apk. better thameing but slow boot and slow app start on coold start, more RAM use and more cpu and internal memory use.
if you open apk fine classes.dex in it.
:D

but you can make dex file from odex file. with backsmali.jar and smali.jar.
 
Last edited:
  • Like
Reactions: dheeraj (dhlalit11)

dheeraj (dhlalit11)

Senior Member
Sep 30, 2011
2,540
1,512
fatehabad (hry)
when a rom is odex classes.dex convert to odex file behind that app like:
Mms.apk
Mms.odex
if you open Mms.apk you can't find any classes.dex

for de-odex rom all java code in apk. better thameing but slow boot and slow app start on coold start, more RAM use and more cpu and internal memory use.
if you open apk fine classes.dex in it.
:D

but you can make dex file from odex file. with backsmali.jar and smali.jar.

thanks for the info
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    pull camera.apk with from emanon zip file

    rename camera.apk to Cramer.zip file open it from there take out classes.dex file and copy it to your desktop copy your current camera app to desktop rename it to camera.zip and open it from there delete classes.dex and copy the previous one to new camera app

    rename the modified camera.zip to camera.apk and resign it with zipsigner 2
    no man emanoN rom is odex ... and don't sign system app.
    here classes.dex
    extract rar file the dex file in that. put in your camera app with 7-zip (better use this progeram, it's free software)
    Do't forgot backup your rom!!!
    1
    oh just for knowledge can you tell me what is the difference between classes.dex of an odex and deodex app

    when a rom is odex classes.dex convert to odex file behind that app like:
    Mms.apk
    Mms.odex
    if you open Mms.apk you can't find any classes.dex

    for de-odex rom all java code in apk. better thameing but slow boot and slow app start on coold start, more RAM use and more cpu and internal memory use.
    if you open apk fine classes.dex in it.
    :D

    but you can make dex file from odex file. with backsmali.jar and smali.jar.