[Droid RAZR M Q&A, Help & Troubleshooting] tequela:
Hi,

so i bought the Razr M since it's finally a well spec'ed Android phone that's not huge. I only have one (well maybe two) big issue(s) with it.

Since Moto decided to make Chrome the sole Browser i can't find any way to get client certificates to work.

I found somewhere on the Interwebs the ICS stock browser (Browser.apk) but that one wouldn't install:

$ adb install Browser.apk
4622 KB/s (2298320 bytes in 0.485s)
pkg: /data/local/tmp/Browser.apk
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

In some forum i found the advise to change the "android:authorities" fields in AndroidManifest.xml. So i went ahead decompiled the apk and changed those fields. Only now i can't get the apk file to build again:

$ apktool b Browser
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/wolf/razr_m/Browser/res/layout/bookmark_grid_row.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_group_view.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_thumbnail.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarks.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout-sw600dp/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshots.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more

At this point being not a developer i'm getting a little lost.

Would someone be able to help me out with this? What do i need to do to build this apk or maybe someone would be able to build a stock browser package, that is installable on the Razr M?

My second approach was to install Firefox so i could work my certificate into its keystore files but that fails because on the Razr M it seems impossible to move apps to the sd card -- any hopes that this might get "fixed" with the upcomimg jelly bean?

Help would be much appreciated,

-wolf