[SOLVED] resources.arsc and force close - Click Android Development

This is my last resort on this matter, since I've tried almost anything that crossed my mind.
SOLVED! ~ Click to see how!
What have I been trying to do?
I've been trying to add language strings to Rosie.apk (actually trying to cook a ROM for Tattoo) by decoding Rosie.apk with APK Tool, then adding values-sr (Serbian strings, which I manually translated) to the decompiled resource folder and then building again, and then using the new resources.arsc with the original Rosie.apk. This procedure actually worked when I tried modifying Froyo (2.2), however on Donut, upon boot I get a force close of com.htc.launcher, no matter what I do. The frameworks (com.htc.resources.apk and framework-res.apk) are installed with apktool, so you can rule that out.
What have I tried so far to bypass the issue?
1. I tried the normal procedure, building the modified apk, then using new resources.arsc with the original apk - crashes.
2. When I realized that the classes.dex is present and changed upon re-building with new resources I tried using both resources.arsc and classes.dex with the original apk and it still - crashes.
3. I tried using original res and META-INF folder, along with original AndroidManifest.xml in the new apk - crashes.
The only thing that I haven't tried is to transfer only classes.dex which doesn't seem as a logical thing to do, because the translation is in resources.arsc after building.
A few additional hints
1. After I added Serbian in the list, I came across a strange thing. It seems that there is a possibility that locale for Serbia isn't implemented in full, because the string is not localized as it is for other locales, for example if you have Russian in the list it will show: "Русский" and the country name will be in Russian also. Serbian is written in English, which seems a bit strange, and might have something to do with the crash. However, a partial Finnish translation is available in the ROM by default, and when I enabled it, it worked, even though the locale was in English also.
2. framework-res.apk already has a partial Serbian translation (date, time, formats and such) and it works if I use Serbian without implementing the new Rosie.apk (changed in any way mentioned earlier).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Finnish is not quite implemented, but works, however I don't think that Rosie.apk is translated, so I guess I'm not doing something right with Rosie.apk.
All this is quite confusing, and I would really appreciate if any one of you can give me an idea, because I'm stuck. It's giving me headache, so help me out. Thanks.

maybe port from Wildfire(2.1 240x320) will be more easier?

I'm not sure that it would work, but I'm willing to give it a try since nothing else is working.

Also, here's the logcat part which describes the error when trying methods from the first post.
Code:
E/AndroidRuntime( 222): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.htc.launcher/com.htc.launcher.Launcher}: android.content.res.Resources$NotFoundException: File res/layout-ldpi/launcher.xml from xml type layout resource ID #0x7f030012
E/AndroidRuntime( 222): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2464)
E/AndroidRuntime( 222): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2486)
E/AndroidRuntime( 222): at android.app.ActivityThread.access$2100(ActivityThread.java:123)
E/AndroidRuntime( 222): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1843)
E/AndroidRuntime( 222): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 222): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 222): at android.app.ActivityThread.main(ActivityThread.java:4321)
E/AndroidRuntime( 222): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 222): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 222): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 222): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 222): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 222): Caused by: android.content.res.Resources$NotFoundException: File res/layout-ldpi/launcher.xml from xml type layout resource ID #0x7f030012
E/AndroidRuntime( 222): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1916)
E/AndroidRuntime( 222): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1871)
E/AndroidRuntime( 222): at android.content.res.Resources.getLayout(Resources.java:735)
E/AndroidRuntime( 222): at android.view.LayoutInflater.inflate(LayoutInflater.java:318)
E/AndroidRuntime( 222): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 222): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:322)
E/AndroidRuntime( 222): at android.app.Activity.setContentView(Activity.java:1620)
E/AndroidRuntime( 222): at com.htc.launcher.Launcher.onCreate(Launcher.java:409)
E/AndroidRuntime( 222): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
E/AndroidRuntime( 222): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2418)
E/AndroidRuntime( 222): ... 11 more
E/AndroidRuntime( 222): Caused by: java.io.FileNotFoundException: res/layout-ldpi/launcher.xml
E/AndroidRuntime( 222): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
E/AndroidRuntime( 222): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:471)
E/AndroidRuntime( 222): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1898)
E/AndroidRuntime( 222): ... 20 more

After trying to edit other system APKs, I've concluded that it's not about Rosie.apk, it happens with all system APKs.
Even when I don't compress resources.arsc (just store) it still gives me force close.
Any ideas?

Solved!
When apk is recompiled the newly created resources.arsc is created with references to "drawable-ldpi" and "layout-ldpi" while "drawable-120dpi" and "layout-120dpi" exist in the ROM, thus it links to non-existing resources.
When adding the new resources.arsc to the original APK, i changed the old folder names from 120dpi to ldpi and that APK works perfectly.

Related

Gingerbread keyboard

From the g2 forum. Working fine on Cyanogen rc2 for me.
http://forum.xda-developers.com/showthread.php?t=863475
Nice Thank You for that! But i think the keys could be a bit larger
hmm tried to flash in clockwork but received error "Can't copy META-INF/com/google/android/update-binary". I extracted the LatinIME.apk which installed and could select it when attempting to compose a message (after enabling in Keyboard and Language) but it Force Closes upon touching anything. Tried copying the libjni_latinime.so to System/lib but still nothing!
Im on Core Cell
Works fine here. I agree buttons are too small and monocrome colour sceme is very bland
Sent from my CyanogenMod Desire HD
Nice keyboard, works on Cm 6.2 looks slik
Need duch dictionairy
Sent from my HTC Desire HD using XDA App
Thanks. Anyone else missing the arrow keys?
Work only in cyanogenmod?
I have CM 6.1 on both my Desire and DHD and it works fine on both.
I have modaco roms with sense and this keyboard don't work.
I confirm that it works but the keys looks a bit too small on my DHD :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i found out that on every new sense ui rom (DHD, DZ and the ports for other Devices) the stock keyboard from 2.2 and 2.3 isnt working. it opens up, but if u try to type the keyboard keeps FC.
Could anybody help?
ADB LOGCAT :
D/dalvikvm( 2870): GC_FOR_MALLOC freed 3958 objects / 261232 bytes in 47ms
D/dalvikvm( 2850): GC_EXTERNAL_ALLOC freed 684 objects / 36024 bytes in 80ms
E/LED_CAPS( 1418): open failed errno: 2
E/LED_CAPS( 1418): open failed errno: 2
E/LED_CAPS( 1418): open failed errno: 2
E/LED_CAPS( 1418): open failed errno: 2
D/PowerManagerService( 1418): New lightsensor value:40, lcdValue:143
D/PowerManagerService( 1418): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
D/dalvikvm( 2850): GC_EXTERNAL_ALLOC freed 415 objects / 22672 bytes in 45ms
D/dalvikvm( 2577): GC_EXPLICIT freed 3377 objects / 254112 bytes in 25ms
D/skia ( 2577): purging 47K from font cache [5 entries]
D/dalvikvm( 2577): GC_EXPLICIT freed 439 objects / 23480 bytes in 28ms
D/AndroidRuntime( 2850): Shutting down VM
W/dalvikvm( 2850): threadid=1: thread exiting with uncaught exception (group=0x40025a80)
E/AndroidRuntime( 2850): FATAL EXCEPTION: main
E/AndroidRuntime( 2850): java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 2850): at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:455)
E/AndroidRuntime( 2850): at com.android.inputmethod.latin.LatinKeyboard.getTextSizeFromTheme(LatinKeyboard.java:818)
E/AndroidRuntime( 2850): at com.android.inputmethod.latin.LatinKeyboard.access$400(LatinKeyboard.java:42)
E/AndroidRuntime( 2850): at com.android.inputmethod.latin.LatinKeyboard$SlidingLocaleDrawable.<init>(LatinKeyboard.java:930)
E/AndroidRuntime( 2850): at com.android.inputmethod.latin.LatinKeyboard.updateLocaleDrag(LatinKeyboard.java:610)
E/AndroidRuntime( 2850): at com.android.inputmethod.latin.LatinKeyboard.keyReleased(LatinKeyboard.java:665)
E/AndroidRuntime( 2850): at com.android.inputmethod.latin.LatinKeyboardView.onTouchEvent(LatinKeyboardView.java:224)
E/AndroidRuntime( 2850): at android.view.View.dispatchTouchEvent(View.java:3778)
E/AndroidRuntime( 2850): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
E/AndroidRuntime( 2850): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
E/AndroidRuntime( 2850): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
E/AndroidRuntime( 2850): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:885)
E/AndroidRuntime( 2850): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1716)
E/AndroidRuntime( 2850): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1124)
E/AndroidRuntime( 2850): at android.app.Dialog.dispatchTouchEvent(Dialog.java:642)
E/AndroidRuntime( 2850): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1700)
E/AndroidRuntime( 2850): at android.view.ViewRoot.handleMessage(ViewRoot.java:1802)
E/AndroidRuntime( 2850): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2850): at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime( 2850): at android.app.ActivityThread.main(ActivityThread.java:5068)
E/AndroidRuntime( 2850): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2850): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 2850): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 2850): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 2850): at dalvik.system.NativeStart.main(Native Method)
W/WindowManager( 1418): No window to dispatch pointer action 1
D/PowerManagerService( 1418): New lightsensor value:10, lcdValue:143
D/PowerManagerService( 1418): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
D/skia ( 1547): purging 169K from font cache [21 entries]
D/dalvikvm( 1547): GC_EXPLICIT freed 715 objects / 38744 bytes in 43ms
Can you use this with the stock Sense UI or does it require a custom ROM?
Not working with leedroid, shame.
I get this the minute I begin typing.
First time poster
The small keyboard is a bug, you can fix it by downloading LCD Density app from market and by setting it to 300 than to 260 and finally back to original 240.
This fix doesn't survive reboots.
anyone ever get it working for sense?
I installed it from recovery as install .zip but how do i change it ? Because i still see old one . . .
ceva said:
I installed it from recovery as install .zip but how do i change it ? Because i still see old one . . .
Click to expand...
Click to collapse
Yes same here. Loaded as update zip via CWM seemed to work but it doesn't appear as an option when I try to change the input method.
?
Here is my Gingerboard om my DHD,everything is working perfect.
Thats a full theme is it not, rather than just the gingerbread keyboard?
Look nice though, care to share how to get this?
xspyda said:
Trats a full theme is it not, rather than just the gingerbread keyboard?
Look nice though, care to share how to get this?
Click to expand...
Click to collapse
Yes it`s Gingerlicious theme,but the keyboard is from Gingerbread an i got it from this tread: http://forum.xda-developers.com/showthread.php?t=863475
Just flash the zip file.

Help with Torch app.

Hey guys, my torch app is not working.. getting FC. This is logcat,
E/AndroidRuntime( 2029): FATAL EXCEPTION: main
E/AndroidRuntime( 2029): java.lang.RuntimeException: Unable to start service [email protected] with null: java.lang.NullPointerException
E/AndroidRuntime( 2029): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2173)
E/AndroidRuntime( 2029): at android.app.ActivityThread.access$2800(ActivityThread.java:123)
E/AndroidRuntime( 2029): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
E/AndroidRuntime( 2029): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2029): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 2029): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 2029): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2029): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2029): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime( 2029): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime( 2029): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2029): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2029): at net.cactii.flash2.TorchService.onStartCommand(TorchService.java:90)
E/AndroidRuntime( 2029): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2160)
E/AndroidRuntime( 2029): ... 10 more
Could someone please help

[AOSPA 5+][OFFICIAL][AOSPA-L][G2][MOST VARIANTS][Paranoid Android]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
OFFICIAL AOSPA 5+ | (LG G2)
ATTENTION: BEFORE YOU DO OR POST ANYTHING!
READ THE ENTIRE OP, POST #2, & POST #3!
USE THE SEARCH TOOL!
USE GOOGLE!
READ BACK AT LEAST 5 PAGES BEFORE YOU POST ANYTHING!
STAY ON TOPIC!
RESPECT EACH OTHER!
NO FLAME WARS!
DON'T SPAM!
I'M NOT RESPONSIBLE FOR ANY MISHAPS WITH YOUR DEVICE! YOU ARE FLASHING THIS AT YOUR OWN RISK!
USE THE Q&A SECTION TO HELP EACH OTHER!
INSTRUCTIONS
SEE POST #3 OR YOU'RE GOING TO HAVE A BAD TIME
BOOT INTO RECOVERY (LATEST TWRP IS RECOMMENDED)
MAKE NANDROID BACKUP
WIPE SYSTEM, DATA, CACHE, & DALVIK CACHE
FLASH ROM
FLASH GAPPS (TK OR BANKS GAPPS RECOMMENDED)
SUPPORTED VARIANTS | (LG G2)
D800 (AT&T)
D801 (T-Mobile)
D802 (International)
D803 (Canada)
LS980 (Sprint)
VS980 (Verizon)
DOWNLOADS | (PLEASE DO NOT POST MIRRORS)
RELEASES
TK GAPPS
BANK'S GAPPS
LINKS
G+ Community
Website
GitHub
Gerrit Code Review
CREDITS & THANKS
Google
Android
Linux
Code Aurora Forum (CAF)
CyanogenMod
G2 Dream Team
@Rashed97
@houstonn
@ayysir
@sferadev
XDA
Testers
DrDev's
Hosting Shared Box
Android File Host
Basketbuild
MAKE SURE YOU HAVE ALL OF THESE FLASHED OR YOU'RE GOING TO HAVE A BAD TIME
MODEM/BASEBAND THREAD
D800
KITKAT BOOTLOADER
KITKAT MODEM
LOLLIPOP BOOTSACK
D801
KITKAT BOOTLOADER
KITKAT MODEM
LOLLIPOP BOOTSACK
D802
KITKAT BOOTLOADER
KITKAT MODEM
LOLLIPOP BOOTSACK
D803
KITKAT BOOTLOADER
KITKAT MODEM
LS980
KITKAT BOOTLOADER
KITKAT MODEM
LOLLIPOP BOOTSACK
VS980
KITKAT BOOTLOADER
KITKAT MODEM
LOLLIPOP BOOTSACK
great work son
Cant wait to test. Making a new thread was probably the best thing you could do in terms of removing confusion between current situation and the old OP in the other thread.
Sorry for the noob question but can i use kitkat baseband or need reflash jb baseband before flashing this alpha. Thank u for ur time
Sent from my LG-D802 using XDA Free mobile app
neetee said:
Sorry for the noob question but can i use kitkat baseband or need reflash jb baseband before flashing this alpha. Thank u for ur time
Sent from my LG-D802 using XDA Free mobile app
Click to expand...
Click to collapse
kitkat baseband. if you mean bootloader yes you should use jb bootloader
neetee said:
Sorry for the noob question but can i use kitkat baseband or need reflash jb baseband before flashing this alpha. Thank u for ur time
Sent from my LG-D802 using XDA Free mobile app
Click to expand...
Click to collapse
Use the KitKat baseband.
LS980 with KK baseband can't boot, I have to go back to JB baseband.
JB Baseband for vs/ls980
vs980 and ls980 need jb baseband. Hopefully at some point they can be used with the kitkat as that baseband offers more stability and what Paranoid Android 4+ used. JackPotCalvin is apparently building a cyanogenmod 12 for the vs980 with kitkat baseband.
Step to install this rom from Cloudy G3
Thanks for this rom, i really want to try this rom but i have some question. Now i have Cloudy G3 rom installed on my lg G2 (D802), what step shoud i take to install this rom. Sorry for asking.
In for some testing.
Hey Mike, Thanks for your hard work man!
It looks like there's a problem with the d803 rom file, hosting site shows 213.2 MB but downloaded file is only 203 MB.
Also MD5 don't match:
Downloaded file: 00b0669ec228ec07bd4eab5557a7186b
MD5 file: 8c4501c6ce6294111a5945014fff075e
Cheers.
---------- Post added at 10:01 PM ---------- Previous post was at 09:59 PM ----------
lee140685 said:
Thanks for this rom, i really want to try this rom but i have some question. Now i have Cloudy G3 rom installed on my lg G2 (D802), what step shoud i take to install this rom. Sorry for asking.
Click to expand...
Click to collapse
Just follow the steps listed on first post and you should be good
MikeCriggs said:
Use the KitKat baseband.
Click to expand...
Click to collapse
Rotation doesn't work on KK baseband on d800. dr87 working rotation hacked JB kernel worked.
Last build I tried was 11/30.
lee140685 said:
Thanks for this rom, i really want to try this rom but i have some question. Now i have Cloudy G3 rom installed on my lg G2 (D802), what step shoud i take to install this rom. Sorry for asking.
Click to expand...
Click to collapse
Please see the "Instructions" part of the first post.
Attention to all d803 users!
ATTENTION TO ALL D803 USERS!
I have just redone the device tree. In theory, it should work. I am building right now.
Please flash after it builds and let me know if it works!
TRACK THE BUILD PROGRESS ON MY JENKINS, HERE
DOWNLOAD THE BUILD WHEN IT FINISHES FROM MY APACHE SERVER, HERE
PLEASE ALLOW AT LEAST TWO HOURS FROM THE TIME OF THIS POST FOR THE BUILD TO FINISH!
Roaming Bug still present on VS980?
Just flashed 12-04 d802 and still have dialer fc while trying to make a call same as 12-03
I seem to have a problem with the dialer upon flashing. Looks like the dialer is missing the CALL_PRIVILEGED permission, attempting to make a call causes a force close, however it seems that I can receive calls easily. I'm running on a VS980.
Code:
I/ActivityManager( 703): START u0 {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxxxxxx-xxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras)} from uid 10005 on display 0
W/ActivityManager( 703): Permission Denial: starting Intent { act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxxxxxx-xxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras) } from ProcessRecord{2929cf35 4112:com.android.dialer/u0a5} (pid=4112, uid=10005) requires android.permission.CALL_PRIVILEGED
D/AndroidRuntime( 4112): Shutting down VM
E/AudioTrack( 703): AudioTrack::set : Exit
E/AndroidRuntime( 4112): FATAL EXCEPTION: main
E/AndroidRuntime( 4112): Process: com.android.dialer, PID: 4112
E/AndroidRuntime( 4112): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxxxxxx-xxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras) } from ProcessRecord{2929cf35 4112:com.android.dialer/u0a5} (pid=4112, uid=10005) requires android.permission.CALL_PRIVILEGED
E/AndroidRuntime( 4112): at android.os.Parcel.readException(Parcel.java:1540)
E/AndroidRuntime( 4112): at android.os.Parcel.readException(Parcel.java:1493)
E/AndroidRuntime( 4112): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2404)
E/AndroidRuntime( 4112): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1480)
E/AndroidRuntime( 4112): at android.app.Activity.startActivityForResult(Activity.java:3736)
E/AndroidRuntime( 4112): at android.app.Activity.startActivityForResult(Activity.java:3697)
E/AndroidRuntime( 4112): at android.app.Activity.startActivity(Activity.java:4007)
E/AndroidRuntime( 4112): at android.app.Activity.startActivity(Activity.java:3975)
E/AndroidRuntime( 4112): at com.android.dialer.util.DialerUtils.startActivityWithErrorToast(DialerUtils.java:85)
E/AndroidRuntime( 4112): at com.android.dialer.util.DialerUtils.startActivityWithErrorToast(DialerUtils.java:60)
E/AndroidRuntime( 4112): at com.android.dialer.dialpad.DialpadFragment.handleDialButtonPressed(DialpadFragment.java:1330)
E/AndroidRuntime( 4112): at com.android.dialer.dialpad.DialpadFragment.onClick(DialpadFragment.java:1033)
E/AndroidRuntime( 4112): at android.view.View.performClick(View.java:4756)
E/AndroidRuntime( 4112): at android.view.View$PerformClick.run(View.java:19749)
E/AndroidRuntime( 4112): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 4112): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 4112): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4112): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 4112): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4112): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime( 4112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
W/ActivityManager( 703): Force finishing activity com.android.dialer/.DialtactsActivity
ShadowEO said:
I seem to have a problem with the dialer upon flashing. Looks like the dialer is missing the CALL_PRIVILEGED permission, attempting to make a call causes a force close, however it seems that I can receive calls easily. I'm running on a VS980.
Code:
I/ActivityManager( 703): START u0 {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxxxxxx-xxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras)} from uid 10005 on display 0
W/ActivityManager( 703): Permission Denial: starting Intent { act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxxxxxx-xxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras) } from ProcessRecord{2929cf35 4112:com.android.dialer/u0a5} (pid=4112, uid=10005) requires android.permission.CALL_PRIVILEGED
D/AndroidRuntime( 4112): Shutting down VM
E/AudioTrack( 703): AudioTrack::set : Exit
E/AndroidRuntime( 4112): FATAL EXCEPTION: main
E/AndroidRuntime( 4112): Process: com.android.dialer, PID: 4112
E/AndroidRuntime( 4112): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxxxxxx-xxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras) } from ProcessRecord{2929cf35 4112:com.android.dialer/u0a5} (pid=4112, uid=10005) requires android.permission.CALL_PRIVILEGED
E/AndroidRuntime( 4112): at android.os.Parcel.readException(Parcel.java:1540)
E/AndroidRuntime( 4112): at android.os.Parcel.readException(Parcel.java:1493)
E/AndroidRuntime( 4112): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2404)
E/AndroidRuntime( 4112): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1480)
E/AndroidRuntime( 4112): at android.app.Activity.startActivityForResult(Activity.java:3736)
E/AndroidRuntime( 4112): at android.app.Activity.startActivityForResult(Activity.java:3697)
E/AndroidRuntime( 4112): at android.app.Activity.startActivity(Activity.java:4007)
E/AndroidRuntime( 4112): at android.app.Activity.startActivity(Activity.java:3975)
E/AndroidRuntime( 4112): at com.android.dialer.util.DialerUtils.startActivityWithErrorToast(DialerUtils.java:85)
E/AndroidRuntime( 4112): at com.android.dialer.util.DialerUtils.startActivityWithErrorToast(DialerUtils.java:60)
E/AndroidRuntime( 4112): at com.android.dialer.dialpad.DialpadFragment.handleDialButtonPressed(DialpadFragment.java:1330)
E/AndroidRuntime( 4112): at com.android.dialer.dialpad.DialpadFragment.onClick(DialpadFragment.java:1033)
E/AndroidRuntime( 4112): at android.view.View.performClick(View.java:4756)
E/AndroidRuntime( 4112): at android.view.View$PerformClick.run(View.java:19749)
E/AndroidRuntime( 4112): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 4112): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 4112): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4112): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 4112): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4112): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime( 4112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
W/ActivityManager( 703): Force finishing activity com.android.dialer/.DialtactsActivity
Click to expand...
Click to collapse
Please use the official bug report form: http://goo.gl/forms/F2Bw5RFv3i

Snapdragon camera v2 [flashable zip]

In less than a decade the cameras in our smartphones have become so advanced that many people choose not to buy traditional cameras at all. Of course, people still want high-quality images. These days nobody wants to settle for less than great. Neither do we.
So Here is the new Snapdragon Camera v2
Features
To Know about features visit
https://www.qualcomm.com/news/snapd...a-features-add-dslr-effects-your-mobile-phone
Click to expand...
Click to collapse
DOWNLOAD LINK
Mod Edit:
Thread closed.
You've already started a thread here
http://forum.xda-developers.com/yureka/themes-apps/flashable-snapdragon-camera-v2-t3189679
Don't work for me
Not working for me too. Logcat:
Code:
--------- beginning of crash
E/AndroidRuntime( 4249): FATAL EXCEPTION: main
E/AndroidRuntime( 4249): Process: org.codeaurora.snapcam, PID: 4249
E/AndroidRuntime( 4249): java.lang.NoClassDefFoundError: com.android.camera.PhotoModule$StatsCallback
E/AndroidRuntime( 4249): at com.android.camera.PhotoModule.<init>(PhotoModule.java:320)
E/AndroidRuntime( 4249): at com.android.camera.CameraActivity.setModuleFromIndex(CameraActivity.java:1829)
E/AndroidRuntime( 4249): at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1480)
E/AndroidRuntime( 4249): at android.app.Activity.performCreate(Activity.java:6010)
E/AndroidRuntime( 4249): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
E/AndroidRuntime( 4249): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
E/AndroidRuntime( 4249): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
E/AndroidRuntime( 4249): at android.app.ActivityThread.access$800(ActivityThread.java:155)
E/AndroidRuntime( 4249): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
E/AndroidRuntime( 4249): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4249): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4249): at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime( 4249): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4249): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4249): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/AndroidRuntime( 4249): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
E/AndroidRuntime( 4249): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
W/ActivityManager( 1019): Force finishing activity 1 org.codeaurora.snapcam/com.android.camera.CameraLauncher

[PORT] Modded Google Camera with HDR+, Night Sight and etc.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Google Camera Port
​If you like the camera experience buy an Pixel phone, support Google! (Why not? You won't need any of those ports and you won't experience bugs.)
What is working:
- Camera (HDR+/RAW/ZSL/Flash and etc.)
- Portrait Mode (Front/Rear)
- Night Sight (Front/Rear)
- Super Res Zoom
- AR Stickers (guide by S4turno)
- Video Recording (1080p30/60, 4K UHD30)
Known issues:
-Slow Motion
How to install:
Download and install the latest apk uploaded below
Beta version:
PocoSv10.6.2b
Based on: Google Camera 7.3.020. Android 9+.
Changelog:
* BETA MOD *
- Added AUX (Ultrawide/macro)
- Fixed model selection and some other things.
Note: Final beta build. Bugs might be present if you want to report them you can find me in: t.me/pocox2photography
Stable version:
POCOX2_F1v9.6_6.2.030
Based on: Google Camera 6.2.030 Android 9+.
This is old version of GCam (6.2.030) mod made by me for Poco F1. I have fixed it for Poco X2 too since my tests have shown that the quality of daylight pics is way better than in the new versions 7.x+.
*Note: I am still going to mod the new 7.x versions
Credits:
S4turno
, BSG, Arnova8G2,
Urnyx05, xtrme and others.
​
RESERVED
Wide Angle video mode doesn't work either. Or i need to use any xml?
Front camera video also not working.
Nice work, waiting for improvements ??
Updated thread. Some new fixes included.
Nice yellow accent icon :good:
Thread updated. Enabled Macro lens in the latest ver. of the mod
Video gets cropped while shooting at 4k.
Bit rate maxed out at 48Mbps.
Nice gcam mods, really appreciate the work.
Please add latest update date in the thread title.
Identify
Is everything working properly?
AravOptimist said:
Is everything working properly?
Click to expand...
Click to collapse
Mostly
I cannot find sharpness and contrast controls. Also cannot find the setting to lock iso to 100.
Claureid said:
I cannot find sharpness and contrast controls. Also cannot find the setting to lock iso to 100.
Click to expand...
Click to collapse
No such settings in this version..hope it will come next update
front vid didnt work for me on both version of gcam
kimikim0 said:
front vid didnt work for me on both version of gcam
Click to expand...
Click to collapse
Are you using custom rom?
Install crDroid then. Everything works fine.
BlissRoms and DerpFest work too. Evolution's first release work but latest release doesn't (Playground apk could not be installed).
Martensite said:
Are you using custom rom?
Install crDroid then. Everything works fine.
Click to expand...
Click to collapse
miui eu rom
Needed GApps?
This GCam crash on my crDroid ROM, I found this in the logcat:
so does this GCam needed GApps to work...?
Code:
05-12 14:45:29.252 E/AndroidRuntime( 7963): FATAL EXCEPTION: main
05-12 14:45:29.252 E/AndroidRuntime( 7963): Process: com.google.android.GoogleCameraEng, PID: 7963
05-12 14:45:29.252 E/AndroidRuntime( 7963): java.lang.RuntimeException: Unable to create application com.google.android.apps.camera.legacy.app.app.CameraApp: java.lang.SecurityException: Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6465)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.app.ActivityThread.access$1300(ActivityThread.java:219)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Handler.dispatchMessage(Handler.java:107)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Looper.loop(Looper.java:214)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.app.ActivityThread.main(ActivityThread.java:7356)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at java.lang.reflect.Method.invoke(Native Method)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
05-12 14:45:29.252 E/AndroidRuntime( 7963): Caused by: java.lang.SecurityException: Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Parcel.createException(Parcel.java:2071)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Parcel.readException(Parcel.java:2039)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Parcel.readException(Parcel.java:1987)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:1234)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2266)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2254)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at lkq.b(Unknown Source:34)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at lkq.a(Unknown Source:3)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at lkq.a(Unknown Source:0)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at com.google.android.apps.camera.legacy.app.app.CameraApp.onCreate(Unknown Source:24)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1190)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)
05-12 14:45:29.252 E/AndroidRuntime( 7963): ... 8 more
05-12 14:45:29.252 E/AndroidRuntime( 7963): Caused by: android.os.RemoteException: Remote stack trace:
05-12 14:45:29.252 E/AndroidRuntime( 7963): at com.android.server.content.ContentService.registerContentObserver(ContentService.java:344)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.content.IContentService$Stub.onTransact(IContentService.java:482)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Binder.execTransactInternal(Binder.java:1021)
05-12 14:45:29.252 E/AndroidRuntime( 7963): at android.os.Binder.execTransact(Binder.java:994)
05-12 14:45:29.252 E/AndroidRuntime( 7963):
05-12 14:45:29.253 I/am_crash( 1679): [7963,0,com.google.android.GoogleCameraEng,819706948,java.lang.SecurityException,Remote stack trace:
05-12 14:45:29.253 I/am_crash( 1679): at com.android.server.content.ContentService.registerContentObserver(ContentService.java:344)
05-12 14:45:29.253 I/am_crash( 1679): at android.content.IContentService$Stub.onTransact(IContentService.java:482)
05-12 14:45:29.253 I/am_crash( 1679): at android.os.Binder.execTransactInternal(Binder.java:1021)
05-12 14:45:29.253 I/am_crash( 1679): at android.os.Binder.execTransact(Binder.java:994)
05-12 14:45:29.253 I/am_crash( 1679): ,Parcel.java,2071]
05-12 14:45:29.254 W/ActivityTaskManager( 1679): Force finishing activity com.google.android.GoogleCameraEng/com.android.camera.CameraLauncher
Why no development ? And no Updates ? Any one ?

Categories

Resources