Camera not working :( - G1 General

For a while my G1 has not been able to run the camera, on all ROMs of GB and Froyo. Can someone help me?
It gives me this error :
E/QualcommCameraHardware( 80): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 80): createInstance: startCamera failed!
Can someone help me please?!?!
Sent from my HTC Magic/Dream using XDA App

bestofrhcp said:
For a while my G1 has not been able to run the camera, on all ROMs of GB and Froyo. Can someone help me?
It gives me this error :
E/QualcommCameraHardware( 80): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 80): createInstance: startCamera failed!
Can someone help me please?!?!
Sent from my HTC Magic/Dream using XDA App
Click to expand...
Click to collapse
Ever thought it's just simply broke?

Yeah, I'm guessing it is broken since you tried different ROMs and it didn't work.

shadowch31 said:
Ever thought it's just simply broke?
Click to expand...
Click to collapse
could be, but i thought of something, if you're willing to help
can you send me a zip of the whole dev/msm_camera/ section from your phone?
maybe it is simply just creating the directory and it actually finding the module to get it working

It started working again weirdly, but I'm sure it will disappear after. A reboot
Sent from my Gingerbread on Dream using XDA App

Related

Build MusicPlayer

I want to build MusicPlayer, using source code of standart android music player(projects / platform/packages/apps/Music).
When I build the project and run it, I have following error:
Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
Is it signed?
How I can chek it out?
bedwa said:
Is it signed?
Click to expand...
Click to collapse
How I can chek it out?

Plz deodex S5360_JPLG1_OJPLG1_XXLF3

can someone please deodex S5360_JPLG1_OJPLG1_XXLF3 and upload it
i have tried but failed all the time
thanks
I guess the only way to deodex ROM is by using xUltimate...
Please search it before posting...
I am sure you will get the answer ...
Sent from my GT-S5360 using xda app-developers app
i tried using xultimate but failed
What type of error you are experiencing when deodexing ...
Copy and paste the whole error here shown in xUltimate ...
got stuck on Samsung Galaxy LOGO after doing everything
Solehria said:
can someone please deodex S5360_JPLG1_OJPLG1_XXLF3 and upload it
i have tried but failed all the time
thanks
Click to expand...
Click to collapse
you should have android-sdk in your comp and the latest busybox installed.. most important rooted..
☆★☆★☆★☆★☆★☆★☆★☆★
i did but no luck
Solehria said:
i did but no luck
Click to expand...
Click to collapse
pOst your screenshot here maybe he can help u..
http://forum.xda-developers.com/showthread.php?t=1600805
☆★☆★☆★☆★☆★☆★☆★☆★

[Q] Installing Google Chorme Defy+

Hello guys, somebody knows how to install the Google Chrome on my Defy+ with XPERIA D 3.4 (CM10), i try to download it from play store, the download finish, but i get an error when it will install.
Alan Miranda said:
Hello guys, somebody knows how to install the Google Chrome on my Defy+ with XPERIA D 3.4 (CM10), i try to download it from play store, the download finish, but i get an error when it will install.
Click to expand...
Click to collapse
download the apk file from other sites and try installing it
Sent from my MB526 using xda premium
Rawwr said:
download the apk file from other sites and try installing it
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
I have try this, but when it is finishing the installation i get an error and it's not installed.
Alan Miranda said:
I have try this, but when it is finishing the installation i get an error and it's not installed.
Click to expand...
Click to collapse
probably the ROM problem i guess
i m on jb sister rom
no problems with the chrome

AndroidRuntime: java.lang.RuntimeException Phone app not working

Dear Guys,
I have an LTE tab with Android version 4.0.4, when i make GSM call, black screen appears in portrait, and phone app crash by FC message "Unfortunately, the process com.android.phone has stopped", unable to make calls, now with the help of logcat, i found below exception.
AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.InCallScreen}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020109
I am trying to locate the Resource ID #0x7f020109, but unable to find it , Kindly suggest some solution please. Please help me
Take a look on logcat again. Just after these lines you will see where this resource is called.
Post Some more logcat. I try to explain it.
Sent from my GT-S5360 using XDA Premium 4 mobile app
muzi786 said:
Dear Guys,
I have an LTE tab with Android version 4.0.4, when i make GSM call, black screen appears in portrait, and phone app crash by FC message "Unfortunately, the process com.android.phone has stopped", unable to make calls, now with the help of logcat, i found below exception.
AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.InCallScreen}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020109
I am trying to locate the Resource ID #0x7f020109, but unable to find it , Kindly suggest some solution please. Please help me
Click to expand...
Click to collapse
Search for id in public.xml of phone.apk.if its not there it must be in framework .search there
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
Search for id in public.xml of phone.apk.if its not there it must be in framework .search there
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for helping me, dear i find in both framework and phone.apk but not found this id, i think its permission issue, here below the selected lines of logcat .. and also full logcat for selected pid "5438" has been attached (phone.txt) and complete log (new.txt) . Kindly please look in to it..
03-26 15:45:48.990 5438 5438 W GsmCallTracker: test.voicecall -false
03-26 15:45:48.990 5438 5438 W GsmCallTracker: voice call is not supported!!
Above two lines are comming only for incoming calls and also for outgoing calls, and no indication of incoming calls are comming on tab.
03-26 15:45:53.725 5438 5438 D Activity: [email protected]() : com.android.phone.PrivilegedOutgoingCallBroadcaster
03-26 15:45:53.745 5438 5438 D Activity: [email protected]() : com.android.phone.PrivilegedOutgoingCallBroadcaster
03-26 15:45:53.925 396 1512 W ActivityManager: Permission Denial: broadcasting Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } from r.callerPackage (pid=5438, uid=1001) requires com.sec.android.app.factorytest.permission.KEYSTRI NG due to receiver info.activityInfo.packageName/info.activityInfo.name
03-26 15:45:54.526 5438 5438 E AndroidRuntime: FATAL EXCEPTION: main 03-26 15:45:54.526 5438 5438 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.InCallScreen}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020109
That permission denial is only warning.exception is that resource
Sent from my GT-S5570 using XDA Premium 4 mobile app
---------- Post added at 05:11 PM ---------- Previous post was at 05:10 PM ----------
Decompile phone.apk search incallscreen.smali and search this id and try to find what is it
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
That permission denial is only warning.exception is that resource
Sent from my GT-S5570 using XDA Premium 4 mobile app
---------- Post added at 05:11 PM ---------- Previous post was at 05:10 PM ----------
Decompile phone.apk search incallscreen.smali and search this id and try to find what is it
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Dear i copied Phone.apk from /system/app/Phone.apk and when i try to decompile its gives below output
./apktool d Phone.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/usr123/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103031b
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103031b
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01040591
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(ResScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:55)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(ResScalarValue.java:48)
at brut.androlib.res.data.value.ResArrayValue.getType(ResArrayValue.java:74)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:50)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
In extracted Phone folder, i trying to found that resource id but not found, can you please suggest , i think decompile is not done properly and this is the same reason for incoming calls also ? as currently no indication of incoming calls on tab
You have not installed correct framework.until you are able to fully decompile you cant say that didnt found the resource
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
You have not installed correct framework.until you are able to fully decompile you cant say that didnt found the resource
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Dear, thanks so much for your great support, can you please suggest the right way of decompile or if feasible to you can i attach the Phone.apk file. Please suggest..
There are lot of guides on xda search
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
There are lot of guides on xda search
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Right, i am searching and will get back to you after successful decompile Phone.apk , Thanks again dear so much..
muzi786 said:
Right, i am searching and will get back to you after successful decompile Phone.apk , Thanks again dear so much..
Click to expand...
Click to collapse
Now Phone.apk has been successfully decompiled.....
./apktool d Phone.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/usr123l/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
and i found missing resource not found id in below file
res/values/public.xml: <public type="drawable" name="APKTOOL_DUMMY_0109" id="0x7f020109" />
Kindly please suggest..
muzi786 said:
Now Phone.apk has been successfully decompiled.....
./apktool d Phone.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/usr123l/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
and i found missing resource not found id in below file
res/values/public.xml: <public type="drawable" name="APKTOOL_DUMMY_0109" id="0x7f020109" />
Kindly please suggest..
Click to expand...
Click to collapse
Search in framework-res.apk and if you have samsung device search twframework-res.apk also.
And as previously said search in that smali that for what purpose/element this id is being referred.
Had you deleted any apk from your system earlier?
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
Search in framework-res.apk and if you have samsung device search twframework-res.apk also.
And as previously said search in that smali that for what purpose/element this id is being referred.
Had you deleted any apk from your system earlier?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Let me check and will update you...
Dear arpitkh96
No i cant delete any apk file, I search ID in framework-res.apk and twframework-res.apk files, also i search InCallScreen.smali file but cant find in Phone.apk and frameworks apk , however i also decompile SecPhone.apk, SecContacts.apk and Settings.apk and found this id in SecContacts.apk and Settings.apk in --> public.xml
In SecContacts.apk
res/values/public.xml: <public type="drawable" name="call_dial_btn_08_press_tw_h" id="0x7f020109" />
In Settings.apk
res/values/public.xml: <public type="drawable" name="ic_sysbar_quicksettings" id="0x7f020109" />
Kindly please suggest , thanks for your great help and support.
All I can say is resource not found exception means that corresponding drawable (named like tw button 08...)is not available .search for this drawable.if its not present make one with same name.otherwise if are on stock unrooted ROM,its better to take it to Samsung care
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
All I can say is resource not found exception means that corresponding drawable (named like tw button 08...)is not available .search for this drawable.if its not present make one with same name.otherwise if are on stock unrooted ROM,its better to take it to Samsung care
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Right, actually its LTE tab which comes with out calling faclility i have rooted it and enabled voice via "voice_capable=true" in framework-res.apk, i am on stock ICS ROM, can i need to rebuild Phone.apk or can i replace the Phone.apk ? please kindly just guide me. Thanks a lot for great information..
muzi786 said:
Right, actually its LTE tab which comes with out calling faclility i have rooted it and enabled voice via "voice_capable=true" in framework-res.apk, i am on stock ICS ROM, can i need to rebuild Phone.apk or can i replace the Phone.apk ? please kindly just guide me. Thanks a lot for great information..
Click to expand...
Click to collapse
You can not use phone.apk from other device or other android version. though you can build but it requires loads of skills.and if samsungs dependencies are in phone.apk then even that would not work.its better to use a custom ROM.only that could help you.maybe devs have a better solution. I cant say
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
You can not use phone.apk from other device or other android version. though you can build but it requires loads of skills.and if samsungs dependencies are in phone.apk then even that would not work.its better to use a custom ROM.only that could help you.maybe devs have a better solution. I cant say
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Right, so its mean we have only option as you suggest before to rebuild Phone.apk for fixing the missing drawable, as per above findings, is call_dial_btn_08_press_tw_h" id="0x7f020109" related to missing resource in Phone.apk ? as this reference found in SecContacts.apk --> public.xml , its image file present in drawable folder of SecContacts, as below
SecContacts/res/drawable-sw600dp-mdpi/call_dial_btn_08_press_tw_h.png
SecContacts/res/drawable-sw800dp-mdpi/call_dial_btn_08_press_tw_h.png
So can i use below procedure for this missing drawable
1)Copy this image file to decompiled Phone directory, like below, as this image is currently not present in Phone drawable directories.
Phone/res/drawable-sw600dp-mdpi/call_dial_btn_08_press_tw_h.png
Phone/res/drawable-sw800dp-mdpi/call_dial_btn_08_press_tw_h.png
2) Edit Phone.apk --> public.xml and add reference of it like as below
replace this line --> <public type="drawable" name="APKTOOL_DUMMY_0109" id="0x7f020109" />
with new line --> <public type="drawable" name="call_dial_btn_08_press_tw_h" id="0x7f020109" />
3) rebuild Phone.apk and then copy it in system/app/ directory.
Either above procedure is right ? Pleas suggest
muzi786 said:
Right, so its mean we have only option as you suggest before to rebuild Phone.apk for fixing the missing drawable, as per above findings, is call_dial_btn_08_press_tw_h" id="0x7f020109" related to missing resource in Phone.apk ? as this reference found in SecContacts.apk --> public.xml , its image file present in drawable folder of SecContacts, as below
SecContacts/res/drawable-sw600dp-mdpi/call_dial_btn_08_press_tw_h.png
SecContacts/res/drawable-sw800dp-mdpi/call_dial_btn_08_press_tw_h.png
So can i use below procedure for this missing drawable
1)Copy this image file to decompiled Phone directory, like below, as this image is currently not present in Phone drawable directories.
Phone/res/drawable-sw600dp-mdpi/call_dial_btn_08_press_tw_h.png
Phone/res/drawable-sw800dp-mdpi/call_dial_btn_08_press_tw_h.png
2) Edit Phone.apk --> public.xml and add reference of it like as below
replace this line --> <public type="drawable" name="APKTOOL_DUMMY_0109" id="0x7f020109" />
with new line --> <public type="drawable" name="call_dial_btn_08_press_tw_h" id="0x7f020109" />
3) rebuild Phone.apk and then copy it in system/app/ directory.
Either above procedure is right ? Pleas suggest
Click to expand...
Click to collapse
Don't edit public.XML.keep it as it is.other steps same.
And I don't think this would solve the problem. as that apktool... Id indicates that it will automatically take resources from dependency apps or frameworks
please if your device has forum then better ask there else ask it in android q & a forum.I have no experience with type of problems you are facing and what you are trying to achieve so its better if you ask some expert or people who are experienced in these type .I had just given you knowledge which I had.moreover this forum is for java app development ,not for decompiling etc.Sorry please don't mind but I can't help you.probably steps you have followed to enable voice call must of seen from a guide etc.ask those people
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
Don't edit public.XML.keep it as it is.other steps same.
And I don't think this would solve the problem. as that apktool... Id indicates that it will automatically take resources from dependency apps or frameworks
please if your device has forum then better ask there else ask it in android q & a forum.I have no experience with type of problems you are facing and what you are trying to achieve so its better if you ask some expert or people who are experienced in these type .I had just given you knowledge which I had.moreover this forum is for java app development ,not for decompiling etc.Sorry please don't mind but I can't help you.probably steps you have followed to enable voice call must of seen from a guide etc.ask those people
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Dear arpitkh96
Thanks for your comments and suggestions, i found XDA is the best forum to acheive this kinds of issues, but unfortunately the LTE 8.9 Android tab section is not fully active, perhaps may be this has been considering old device as i found some threads related to enable voice features but i think this kind of issue is the first one which i was reported. I also posted on other forums but dont get any response. Also i am feeling afraid to flash CM10 rom but as per R&D and asking on XDA, still not get any reponse. I hope this not a big deal for a normal developer, and i hope may be in future this issue will resolve, or i will try myself to become a developer . I appreicate your help and time for communication as my learning is keep growing up. Thanks again once and best wishes for you and for all developers.

Need Help Porting OnePlus Music Player

Hey guys!
I need your help. I'm trying to port the OnePlus Music Player to the OP2. As you all may or may not know, the app will crash on every ROM available for the OP and no one has made a port yet. I think it's crashing is due to the missing lib files based on the logcat. I,ve been using this thread as guide to port the app:
http://forum.xda-developers.com/showthread.php?t=2476050
However, the problem now is I can't find the appropriate lib file(s) for the app. I tried to look into the logcat, but it gave me this error instead:
10-18 10:51:30.636 E/AndroidRuntime(13731): Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oneplus.odm.insight.tracker.AppTracker" on path: DexPathList[[zip file "/system/app/Music/Music.apk"],nativeLibraryDirectories=[/system/app/Music/lib/arm64, /vendor/lib64, /system/lib64]]
By the way, the app is extracted from a ROM from this thread:
https://forums.oneplus.net/threads/port-oxygenos-3-x-x-deodexed-magisk-root-xposed.467707/
So now, I need you're guys help to me find the appropriate lib file(s) and to get this app working. Any help would be greatly appreciated
Kezatic said:
Hey guys!
I need your help. I'm trying to port the OnePlus Music Player to the OP2. As you all may or may not know, the app will crash on every ROM available for the OP and no one has made a port yet. I think it's crashing is due to the missing lib files based on the logcat. I,ve been using this thread as guide to port the app:
http://forum.xda-developers.com/showthread.php?t=2476050
However, the problem now is I can't find the appropriate lib file(s) for the app. I tried to look into the logcat, but it gave me this error instead:
10-18 10:51:30.636 E/AndroidRuntime(13731): Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oneplus.odm.insight.tracker.AppTracker" on path: DexPathList[[zip file "/system/app/Music/Music.apk"],nativeLibraryDirectories=[/system/app/Music/lib/arm64, /vendor/lib64, /system/lib64]]
By the way, the app is extracted from a ROM from this thread:
https://forums.oneplus.net/threads/port-oxygenos-3-x-x-deodexed-magisk-root-xposed.467707/
So now, I need you're guys help to me find the appropriate lib file(s) and to get this app working. Any help would be greatly appreciated
Click to expand...
Click to collapse
here you go!:laugh:
instal like a normal apk. Onle for MM
XpRoPhEtX2015 said:
here you go!:laugh:
instal like a normal apk. Onle for MM
Click to expand...
Click to collapse
Thnx dude. BTW, just curious, how did you get it to work?

Categories

Resources