problem with camera apps - Xperia Z5 Q&A, Help & Troubleshooting

In my z5 in camera 2.0 installed so in apps stopped working but when launch camera apps from app drawer works fine
Also tried to remove update but without update camera (stock apk) shows fc
I have rooted z5 dual

If you rooted, your DRM keys are gone (from unlocking bootloader). Someone reported their camera working after this hack to trick DRM keys being there:
http://forum.xda-developers.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383
Not sure it'll fix your issue, but worth a try since you are already rooted. All else fails, factory reset.

rajdeep312 said:
In my z5 in camera 2.0 installed so in apps stopped working but when launch camera apps from app drawer works fine
Also tried to remove update but without update camera (stock apk) shows fc
I have rooted z5 dual
Click to expand...
Click to collapse
Try push deodexed Camera.apk
by ADB (download attachment and copy it to folder where ADB is :
Code:
adb push CameraCommon.apk /data/local/tmp
adb shell
su
busybox mount -o remount,rw /system
dd if=/data/local/tmp/CameraCommon.apk of=/system/priv-app/CameraCommon/CameraCommon.apk
chmod 644 /system/priv-app/CameraCommon/CameraCommon.apk
rm -rf /system/priv-app/CameraCommon/arm
rm -rf /system/priv-app/CameraCommon/arm64
RootExplorer or any other file manager :
Download CameraCommon.apk, copy-paste it to /system/priv-app/CameraCommon/CameraCommon.apk, change chmod to 644 (read write, read, read) and delete arm and arm64 folder.

Thanks you saved my z5

Siudzix said:
Try push deodexed Camera.apk
by ADB (download attachment and copy it to folder where ADB is :
Code:
adb push CameraCommon.apk /data/local/tmp
adb shell
su
busybox mount -o remount,rw /system
dd if=/data/local/tmp/CameraCommon.apk of=/system/priv-app/CameraCommon/CameraCommon.apk
chmod 644 /system/priv-app/CameraCommon/CameraCommon.apk
rm -rf /system/priv-app/CameraCommon/arm
rm -rf /system/priv-app/CameraCommon/arm64
RootExplorer or any other file manager :
Download CameraCommon.apk, copy-paste it to /system/priv-app/CameraCommon/CameraCommon.apk, change chmod to 644 (read write, read, read) and delete arm and arm64 folder.
Click to expand...
Click to collapse
I also have an issue with my Camera, if I open Camera Apps, for example Style Portrait, AR Mask, Sticker creator, Creative effect, they all force-close.
Will pushing the deodexed Camera.apk also fix my issue? And am I still able to update after pushing this update?
Thanks!

Meneer_A said:
I also have an issue with my Camera, if I open Camera Apps, for example Style Portrait, AR Mask, Sticker creator, Creative effect, they all force-close.
Will pushing the deodexed Camera.apk also fix my issue? And am I still able to update after pushing this update?
Thanks!
Click to expand...
Click to collapse
Yes deodex solve your problem

Siudzix said:
Try push deodexed Camera.apk
by ADB (download attachment and copy it to folder where ADB is :
Code:
adb push CameraCommon.apk /data/local/tmp
adb shell
su
busybox mount -o remount,rw /system
dd if=/data/local/tmp/CameraCommon.apk of=/system/priv-app/CameraCommon/CameraCommon.apk
chmod 644 /system/priv-app/CameraCommon/CameraCommon.apk
rm -rf /system/priv-app/CameraCommon/arm
rm -rf /system/priv-app/CameraCommon/arm64
RootExplorer or any other file manager :
Download CameraCommon.apk, copy-paste it to /system/priv-app/CameraCommon/CameraCommon.apk, change chmod to 644 (read write, read, read) and delete arm and arm64 folder.
Click to expand...
Click to collapse
Thank you for this, it really helped me a lot. now I could get camera and plug-ins run again after root. you just bring lots of fun back.:good:

Related

Terminal Apps for 2.1

Anyone find a terminal app that works well on 2.1? Better Terminal Emulator FC's on me, and I haven't found another that works decently with the soft keyboard.
angst911 said:
Anyone find a terminal app that works well on 2.1? Better Terminal Emulator FC's on me, and I haven't found another that works decently with the soft keyboard.
Click to expand...
Click to collapse
ConnectBot works great - just choose connection type local.
I use Android Terminal Emulator. Just up the font size and its good to go
Thomas1218 said:
I use Android Terminal Emulator. Just up the font size and its good to go
Click to expand...
Click to collapse
how do you enter any symbols? like a * ? I tried and I get j* always
Ya I had that problem too but the best workaround I found was to use the 12# key to bring up all the numbers and symbols and I enter them that way
f00kie said:
ConnectBot works great - just choose connection type local.
Click to expand...
Click to collapse
I'm liking connectbot so far
angst911 said:
I'm liking connectbot so far
Click to expand...
Click to collapse
It's also by far the best SSH/telnet client for android.. it should be a great local terminal client as well
The help for soft keyboards should cover any questions on missing keys.
But when I try to remove a file it does not work? (I am rooted)
I have run
cd /system/app/
rm HtcLockScreen*
and
cd /system/app/
sudo rm HtcLockScreen*
chaos67731 said:
But when I try to remove a file it does not work? (I am rooted)
I have run
cd /system/app/
rm HtcLockScreen*
and
cd /system/app/
sudo rm HtcLockScreen*
Click to expand...
Click to collapse
you gotta mount it read/write.
/system is read only
Still very new to this,
How Do I do that?
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app/
rm HtcLockScreen*
exit
I do not have adb installed and am doing it from my phone so I am guessing I need to just do
cd /system/app/
rm HtcLockScreen*
exit
chaos67731 said:
Still very new to this,
How Do I do that?
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app/
rm HtcLockScreen*
exit
I do not have adb installed and am doing it from my phone so I am guessing I need to just do
cd /system/app/
rm HtcLockScreen*
exit
Click to expand...
Click to collapse
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# ls
there ull have the list of all ur system apps just, rm appname.apk or .odex
I was hoping that would give me the Android 2.1 lock screen but it did not work..
Well it did get rid of the htc lock screen
It did not have a way to slide to unlock the screen.
Thanks for the help!

how to unroot my nexus s pls help

hello,
i need help to remove superuser and lock my nexus s
+after doing that should i get official updates?
i did see this topic
http://forum.xda-developers.com/showthread.php?t=879041
and i try this solution
ryude said:
You need to use adb to go in the file system and delete all trace of superuser and busybox. That is the only things rooting does, places those files on your phone and changes file permissions. File permissions, they won't look for, but I've had best buy scroll through the app drawer on multiple occasions looking for superuser/rom manager.
I have attached a zip containing all the files needed for adb. Since they no longer package adb with the sdk. Just open command prompt and cd to the directory containing adb. Make sure your phone has Usb Debugging enabled, then connect your phone.
You might need to download usb drivers in order for windows to recognize the device, but probably not. Once your phone is connected, do the following.
Code:
adb devices
adb shell
su
rm /system/app/Superuser.apk
rm /system/bin/su
rm /system/bin/busybox
rm /system/bin/rootshell
reboot
Click to expand...
Click to collapse
but when i write rm /system/app/Superuser.apk it say
Read-only file system
so what should i do i only get my XS unlock then install superuser using
install-superboot-windows.bat
and i never do recovery!!!!!!
so any help
i need to get my nexus like new and i should then gt updates
You can have superuser and get updates. The update will remove root though. You could always wait for the cm nightly to include 2.3.3
Sent from my Nexus S using XDA App
You have to mount the /system partition as read/write.
Easiest way is use Root Explorer.
You can also try the following from adb or terminal on the phone:
Code:
su
mount -o rw,remount /dev/block/mtdblock3 /system
thanks for your reply
i used Root Explorer to mount the /system partition as read/write.
and then
i did write this codes
adb devices
adb shell
su
rm /system/app/Superuser.apk
and every thing was ok
but i have an error on those lines
rm /system/bin/su
rm /system/bin/busybox
rm /system/bin/rootshell
and every time i get file not found
so what i should do???
hello, tominater12 and thank you for reply
cold you tell me how i can remove superuser and root using the update??????
i want to get my nexus s like new no root no superuser
so any one can help?
hi guys,
this is my first post in the forums, but after reading and watching many videos on how to remove it i have found a solution...my nexus s is now unrooted with no superuser...
make sure u have android sdk installed, and have usb debugging on.
restart phone into recovery
open cmd and type -
cd c:/AndroidSDK/tools/
adb shell mount /system
adb shell rm /system/app/Superuser.apk
ALL CREDITS GO TO 'TheUltraLinx' ON YOUTUBE,
who has fixed my phone to factory settings
flash oem rom and fastboot oem unlock?

[Q] Please help translate some adb instructions into terminal emulator commands

Hi
I have Huawei u8150, Android 2.2, Rooted with z4root.
I want to give widgetsoid access to toggle data using the android apn toggle.
The instructions are:
____
Just put the Widgetsoid apk on /system/app folder
Work only with ADB connected to the phone (doesn't work if you use root explorer or other apps like this) :
* Remount /system as read/write
* adb push Widgetsoid.apk /system/app/Widgetsoid.apk
* Remount /system as read-only
_____
Can someone tell me what I can type in terminal emulator window to achieve this. I can't use adb as it won't recognise my u8150 (It worked fine with my i9000)
Thanks
Kiwi
Widgetsoid website - http://jaumard.android.free.fr/widgetsoid/help_widgetsoid.php?lang=en_EN
PS: Apologies if the wrong forum, but there were only 4 specific android forums, so i thought the general forum would be the best to post this type of question in.
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
http://www.reallylinux.com/docs/files.shtml
Thanks
I had tried
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# CHMOD 777 /SYSTEM
the above works but if i try to push i get
# push
push: not found
I also tried the above then switched over to es-file explorer and was able to copy + pasted the widgetsoid.apk file from my sdcard into the /system/app directory. It correctly pasted the file, but when I clicked on widgetsoid.apk to install the apk i got an error.
"Parse Error: There is a problem parsing the package."
I wouldn't chmod /system ... just leave the permissions the same.
cp /sdcard/downloads/widgetsoid.apk /system/app/
Chmod 644 /system/app/widgetsoid.apk
No need to click install or anything like that... just reboot after copying it to /system/app.
Sent from my Droid using Tapatalk
push is an adb command. You'll want to put the apk on the sdcard then use:
cp /sdcard/Widgetsoid.apk /system/app/
That will copy it to the directory.
Nevermind, do what jeffv2 said.
THANKS! it's working now.
I had placed it in /system/app and did a reboot and it still hadn't installed
then i renamed the file from Widgetsoid2.x.apk to Widgetsoid.apk and also did chmod 644, after a reboot it has successfully installed.
I think it was the chmod 644 to the apk file that allowed it to be installed
Many thanks!

Deodex ur jb rom {not for at&t}

FINALLY MY WIFI CAME BACK !!!
SO I THINK U SHOULD DEODEX UR ROM FOR MORE SPACE AND FLUIDITY
{I COULD NOT CREATE BATCH FILE AS OUR BOOT IMAGE DOES NOT SUPPORT TRUE ADB ROOT AS ITS DEV EDITION}(ANY IDEAS FROM DEVS IS WELCOME)
AGAIN SAYING NOT FOR ATT
OKAY FIRST THANX TO dsixda/Android-Kitchen FOR HELPING TO DEODEX THE ROM
NOW STEPS ::::::
-1.install a third party launcher (like apex for safety purpose)
0.MAKE A BACKUP OF UR SYSTEM (I HOPE U R USING BMM !!!)
1.DOWNLOAD THE APP AND FRAMEWORK FOLDER FROM LINK GIVEN BELOW
2.PUT BOTH THE FOLDERS ON SDCARD AS WELL AS INTERNAL MEMORY (DONNO WHICH IS USED !!)
3.OPEN THE """4.0.4ROOT BY CRC""" FOLDER U DOWNLOADED WHILE ROOTING OR ANY FOLDER WHICH CONTAINS ADB
3.5}NOW HOLDING SHIFT CLICK OPEN COMMAND WINDOW HERE
4.NOW CONNECT PHONE IN MTP MODE WITH DEBUGGING ON
5.TYPE THE FOLLOWING CODE AND U R DONE (WELL IT WILL SLIGHTLY MAKE U FEEL LIKE A TEMPORARY DEV HAAHAH)
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodexedapp/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodexedframe/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
note ::
1.its o not zero
2.when u enter su the $ sign will change to # it means u gained root access
3.i dont remember but after pressing su look at ur phone if supersu notification for root access comes allow it if it is there
4.i am not sure or the stock launcher it may fc so firs install a third party launcher for safety purpose
*links ::::
apps::
https://app.sugarsync.com/iris/wf/D8443834_63525726_687588
framework::::
https://www.sugarsync.com/pf/D8443834_63525726_688199
pls hit thanx bros it motivates me !!!!!!!
make an acc on sugarsync the next famous storage systemm it will help u as well as me
What is MTP mode?
brianmoyano said:
What is MTP mode?
Click to expand...
Click to collapse
When ya connect the phone to PC, it will show 3 different modes. Like USB mass storage and stuff. One of em is MTP. pull down the notification bar, you will get those options (when connected of course)
Sent from my muffin LIFE! Under maintenance.!
Good. Thanks for sharing this!
I already Deodexed and zipaligined my rom using this tutorial to achieve the same.
brianmoyano said:
What is MTP mode?
Click to expand...
Click to collapse
Media Transfer Protocol. Gives you access to your SD Card and phone storage without unmounting them from phone so your SD Card is also available through phone as well as on PC. If you access any file on your phone, it will first copy it to PC and then open it which makes it slower. But its good enough for transferring pics and music and basically MEDIA TRANSFER as the name says..
answersamir said:
Code:
adb shell
su
stop
mount -o rw, remount /system/ /system/
cp /sdcard/deodexedapp/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodexedframe/* /system/framework/
rm /system/framework/*.odex
mount -o ro, remount /system/ /system/
reboot
Click to expand...
Click to collapse
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
shubham412302 said:
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
Click to expand...
Click to collapse
On extremely close observations I found out that both are same :sly:
Buddy order doesn't matter
Sent from my ME865 using xda app-developers app
can you upload an alternate link for 'apps' ...download is not completing...it is stopping after 140mb....
poorna said:
can you upload an alternate link for 'apps' ...download is not completing...it is stopping after 140mb....
Click to expand...
Click to collapse
Thats the full size of zipped apps...
But it has all apps
Sent from my jb atrix 2
shubham412302 said:
Thats the full size of zipped apps...
But it has all apps
Sent from my jb atrix 2
Click to expand...
Click to collapse
when i try to extract it ,i get a message invalid file ...the actual size is 185mb ...twice i downloaded. in the 1st attempt i was able to download 146mb...in the 2nd attempt i was able to download 140mb....
poorna said:
when i try to extract it ,i get a message invalid file ...the actual size is 185mb ...twice i downloaded. in the 1st attempt i was able to download 146mb...in the 2nd attempt i was able to download 140mb....
Click to expand...
Click to collapse
Match this with your d/l file.
146 MB (153,457,466 bytes)
CRC: 7FC9D73F
shubham412302 said:
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
Click to expand...
Click to collapse
the phone is not booting... after i type stop and press enter ,the screen turns off,then when i type mount -o rw,remount /system/ /system/ and press enter i get the same line and then i get the # symbol again..then when type rm /system/app/*.odex and press enter i get the same line and then i get the # symbol again ,same thing for the next rm line...but when i type cp /sdcard/deodexedapp/* /system/app/ and press enter i get the same line again and there is no # symbol,the same thing happens to the following lines ....when i typed reboot and press enter the same line(reboot) appears and the phone is not rebooting...i removed the battery and tried to boot the phone is not booting...i downloaded both the links (apps and framework) and extracted them and copied both(deodexedapp and deodexedframe) to internal phone storage and sd card ....what might be the problem here?
poorna said:
the phone is not booting... after i type stop and press enter ,the screen turns off,then when i type mount -o rw,remount /system/ /system/ and press enter i get the same line and then i get the # symbol again..then when type rm /system/app/*.odex and press enter i get the same line and then i get the # symbol again ,same thing for the next rm line...but when i type cp /sdcard/deodexedapp/* /system/app/ and press enter i get the same line again and there is no # symbol,the same thing happens to the following lines ....when i typed reboot and press enter the same line(reboot) appears and the phone is not rebooting...i removed the battery and tried to boot the phone is not booting...i downloaded both the links (apps and framework) and extracted them and copied both(deodexedapp and deodexedframe) to internal phone storage and sd card ....what might be the problem here?
Click to expand...
Click to collapse
Wait for a while....
Until you get the [email protected] again you must not do any thing because the previous step is not done.....
Be patient.
The step copy system apps take 5 minutes...
And there is a space here before remount
mount -o rw, remount /system/ /system/
Sent from my jb atrix 2
What are the advantages of deodexing the stock rom?
I came across this thread and it gave me curiosity to find-out the stuff which I wanted to read for long time. Odex and deodex..
The only advantage I came across of deodexing was posibility of theme modifications.
Some thread on XDA and google said that with odex rom (1) boot will be faster.
With deodexing, they said (1) it will take up more data space (2) theoritically deodexing will slow some performance and (3) longer boot times because of big dalvik cache...
Please can you tell me exactly where I am wrong?
Sent from my jb atrix 2
Download unsuccessful
Download is not starting...it says it has started but nothing is getting downloaded have tried a lot.... any alternate link pls:silly:
hello , it´s only for jelly bean?

[Q] Moving apps 2 Ext SD 5.0.2

According to sony, the lollipop update brings back the ability to move the apps to the SD, i move the apps but they are still in the internal memory, apps like asphalt 8 that has a single file over 1.5 gigs and i cant move it to the sd, the app control says that its on the sd bus its on the internal memory as i said, some one else got this problem?
Idk. Saw this in the threads today and figured I'd copy it for later. I have the same problem.
By running code below inside your giefroot_v?\files\ folder did the trick on .77!!
(Reboot your device for changes to take effect)
adb push systemrw.sh /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
chmod 777 /data/local/tmp/systemrw.sh
chmod 777 /data/local/tmp/modulecrcpatch
chmod 777 /data/local/tmp/wp_mod.ko
su
cd /data/local/tmp
./systemrw.sh
/system is mounted as r/w (see pics)!! lol
tweker said:
Idk. Saw this in the threads today and figured I'd copy it for later. I have the same problem.
By running code below inside your giefroot_v?\files\ folder did the trick on .77!!
(Reboot your device for changes to take effect)
adb push systemrw.sh /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
chmod 777 /data/local/tmp/systemrw.sh
chmod 777 /data/local/tmp/modulecrcpatch
chmod 777 /data/local/tmp/wp_mod.ko
su
cd /data/local/tmp
./systemrw.sh
/system is mounted as r/w (see pics)!! lol
Click to expand...
Click to collapse
That is not the solution here. That code fixes the system partition as read write, where as the user here wants to write to his SDcard.
Furthermore, the OP is on 5.0.2 not 4.4.4 and is trying to use a stock feature of lollipop. We do not know if he is even rooted.

Categories

Resources