Extract camera.apk form recovery image - Desire Q&A, Help & Troubleshooting

I made my phone image with ClockModRecovery.
And I got:
boot.img
cache.yaffs2.img
cache.yaffs2.img
recovery.img
system.yaffs2.img
.android_secure.vfat.tar
sd-ext.ext3.tar
Where I can find Camera.apk?
I tried to find without success...

It should be inside system. Yaffs or sd-ext depending on if you use an a2sd script. You'll have to unpack it somehow.
Btw, why do you need it. It should be delivered with your rom.
Gesendet von meinem Desire mit Tapatalk

I extracted all img and tar
except boot.img and recovery.img because cannot open
and searched in all extracted files and cannot find camera.apk
I found:
s.system.app.HTCCamera.apk
(this is looks like original camera but this is cache
\data\com.estrongs.android.pop\cache\.apps)
s.sdcard.HDR_Camera_v2.0[szoheb].apk
s.sdcard.backups.apps.Paper Camera-17.apk

I am not sure what you mean by that first apk. But if it is from system/apps it should be the original one.
Could you explain more detailed what you mean by it looks like but isn't?
Gesendet von meinem Desire mit Tapatalk

I cannot open this file, and file size is 4,6KB

Related

[KERNEL] Any Kernel Updater (Moded for eMMC)

I have just edited the AnyKernel updater script by koush to work with eMMC devices :-D
hope ppl can make use of this
its very simple
1) grab the .tar.gz file
2) extract
3) add the zImage to the /kernel/ directory
4) add .ko modules to /system/lib/modules/ directory
5) **optional** change the boot partition location in the updater-script (not normaly needed)
6) zip up the file
7) its ready to flash in CWM
Credits
Koush for the original boot unpack / repack bin's and scripts
IEF for the stand alone dd binary
what does it do?? sorry
does it make so you can update thru your network?
Thank you! This will be useful to me.
Nice, this is exactly what we needed.
Sent from my HTC Vision
Thanks!! I can finally make an Update.zip for my kernel!
nice work.
Now any kernel devs. can easy make a update.zip
G1_enthusiast said:
what does it do?? sorry
does it make so you can update thru your network?
Click to expand...
Click to collapse
Classic...lol
Why do ppl who have no clue even post stuff like that?
Thanks Apache this will come in handy.
Sent from my HTC Vision using XDA App
any chance to rip bootimg.cfg through the zip file?
since somehow I tried to get the cfg file from the boot.img but seems the boot.img and zImage in some kernel are the same.

[Q] Bad ZIP File after cooking with Dsixda Kitchen

Hi.
I have many problems with the cooking from my own ROM.
After updating files in my kitchen I have try to cook this. then I copy the zip file to my SD Card. now in recovery it won't flash. I become an error "E: can't open /sdcard/rom.zip (bad)"
filesize and md5 checksum are match between PC and Sdcard.
can anyone help me?
Greets Lars
geschrieben mit dem Android 4.0.4 powerd HOX
Im not a developer, but check the contents of rom.zip manually and check it contains all required folders
try flashing it in cwm or fastboot
I think it's bad because the modded SystemUI.apk is a little bit smaller as the original one...
geschrieben mit dem Android 4.0.4 powerd HOX

Pulling a kernel from a ROM zip

Howdy, I just tried an AOSP ROM on my gs3 and wanted to try the Bleeding Edge kernel. In case it doesn't work or I want to go back to stock, how do I go about putting the ROMs included kernel back on the phone without doing a dirty flash of the ROM?
Sent from my SPH-L710 using Tapatalk 2
You can do this (using adb) after pulling the boot.img from your current roms zip.
Code:
adb push boot.img /sdcard/boot.img
adb shell
$ su
# dd if=/sdcard/boot.img of=/dev/block/mmcblk0p7
Reboot and your old kernel will be back.
Thanks, never used adb but I can download and the commands seem pretty simple. I bet you also know how to make it into a flashable zip?
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Thanks, never used adb but I can download and the commands seem pretty simple. I bet you also know how to make it into a flashable zip?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
YUP
Take your rom.zip and extract ONLY the META-INF folder and boot.img
Open the "updater-script" file with a text editor and delete everything
Now type the following line, and then make sure to leave 1 line blank after it
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
<blank line here>
Then save it (make sure no extension gets added) and zip up the META-INF folder and boot.img.
The zip should look like this
Inside restoreKernel.zip
---META-INF
---boot.img
Congrats! You just made a universal kernel flasher. If you want to flash any other kernel for your device now (same android version and all that, of course), just swap out the boot.img in the zip and flash away
CNexus said:
YUP
Take your rom.zip and extract ONLY the META-INF folder and boot.img
Open the "updater-script" file with a text editor and delete everything
Now type the following line, and then make sure to leave 1 line blank after it
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
<blank line here>
Then save it (make sure no extension gets added) and zip up the META-INF folder and boot.img.
The zip should look like this
Inside restoreKernel.zip
---META-INF
---boot.img
Congrats! You just made a universal kernel flasher. If you want to flash any other kernel for your device now (same android version and all that, of course), just swap out the boot.img in the zip and flash away
Click to expand...
Click to collapse
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Will this process work on my Ace II ?
dimigeo1996 said:
Will this process work on my Ace II ?
Click to expand...
Click to collapse
You would need to change the partition it flashes the boot.img to (the /dev/block/mmcblk0p7 part)
But other than that, it should

[Q] Black Screen / package manager not running after changing build.prop

Hi,
after my Ouya had been soft-bricked because i didnt accept the new TOS i am trying to get it alive again. After tinkering with "/system/build.prob" and installing 2 new launchers the Fouya comes up with black screen and takes very long until i can access it with "adb". Luckily this still does work.
I did just change the update url in /system/build.prob, nothing more.
Anyone has tips on what to check and how to get the package manager working again?
The exact "adb" error is "Error: Could not access the Package Manager. Is the system running?"
thx,
Tycho
What about recovery? Are you able to enter and Flash stock/custom rom?
But first you might want to Check your build.prop for errors:
Did you mache enter a spaces in last line/ at the end of one line?
Did you push build.prop via adb and forgot to give it the right permissions?
Gesendet von meinem One X+ mit Tapatalk-4
Hi and thx for answering,
nchantmnt said:
What about recovery? Are you able to enter and Flash stock/custom rom?
Click to expand...
Click to collapse
i can boot cwmrecovery via fastboot but it wont boot from the recovery partition. Also i did use "dd" to write the recovery image. I also get sometimes the pink cwm screen and its only using the left half of my monitor.
But first you might want to Check your build.prop for errors:
Did you mache enter a spaces in last line/ at the end of one line?
Click to expand...
Click to collapse
thx, i will check this. As i cant use my old Ubuntu 11.10 i am using windows atm. and edit with notepad++.
There must be no spaces at the end of line then i guess? I think i restore the backup props file and then go from there.
Did you push build.prop via adb and forgot to give it the right permissions?
Click to expand...
Click to collapse
i forgot to memorize the access rights and then set it to 777.
cheers,
Tycho
Should be 644 and dont forget to mount r/w System
Gesendet von meinem One X+ mit Tapatalk-4
So you are able to restore stock or custom rom and even push stock build.prop via adb? What exactly do you need us to tell you then?
If cwm is corrupted try ob another monitor/TV. If recovery doesn't show up hit the windows button on your keyboard a couple of times, this should bring up cwm screen again.
Gesendet von meinem One X+ mit Tapatalk-4
nchantmnt said:
So you are able to restore stock or custom rom and even push stock build.prop via adb?
Click to expand...
Click to collapse
I can access my Ouyas via adb and i can write the recovery flash, which i did several times, but i cant boot to whatever reasons from the recovery partition. Maybe its an issue with the USB keyboard.
What exactly do you need us to tell you then?
Click to expand...
Click to collapse
I needed to know to get the boot process unstuck. Thanx to you its working again. It hab been the wrong access permissions of the build.prop file which did prevent the box from booting into a launcher. After setting "chmod 644" again, like you suggested, everything works again and now my Ouya is alive and kickin with a Nova Launcher and the exposed. I am working on getting cifs/nfs working atm.
Again, thx for the help.
// Tycho

Extract single file from factory image

Which tool i need to use to extract a single file from factory Image? Ex: from sistem Image? Thanks.
http://forum.xda-developers.com/showthread.php?p=41818037
Gesendet von meinem Nexus 5X mit Tapatalk
enzippo said:
Which tool i need to use to extract a single file from factory Image? Ex: from sistem Image? Thanks.
Click to expand...
Click to collapse
Use 7zip, are you after the radio/bootloader?

Categories

Resources