[Q] Failed to open camera,need help - Samsung Galaxy Nexus

my nexus is yakju 4.2.1. I didn't do anything special for it but I can't open stock camera app since yesterday. It crashes everytime.
here is part of log:
E/CameraHAL( 131): Couldn't get camera properties
W/dalvikvm( 9107): threadid=12: thread exiting with uncaught exception (group=0x41ade930)
E/AndroidRuntime( 9107): FATAL EXCEPTION: Thread-956
E/AndroidRuntime( 9107): java.lang.RuntimeException: Fail to get camera info
E/AndroidRuntime( 9107): at android.hardware.Camera._getCameraInfo(Native Method)
E/AndroidRuntime( 9107): at android.hardware.Camera.getCameraInfo(Camera.java:201)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.<init>(CameraHolder.java:169)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.instance(CameraHolder.java:123)
E/AndroidRuntime( 9107): at com.android.camera.Util.openCamera(Util.java:315)
E/AndroidRuntime( 9107): at com.android.camera.PhotoModule$CameraStartUpThread.run(PhotoModule.java:320)
W/ActivityManager( 387): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraLauncher
I tried to clean cache and data, no help. Any advice would be greatly appreciated.
BTW, other camera apps are OK, such as Camera360, CamScanner, etc.

xcjiang said:
my nexus is yakju 4.2.1. I didn't do anything special for it but I can't open stock camera app since yesterday. It crashes everytime.
here is part of log:
E/CameraHAL( 131): Couldn't get camera properties
W/dalvikvm( 9107): threadid=12: thread exiting with uncaught exception (group=0x41ade930)
E/AndroidRuntime( 9107): FATAL EXCEPTION: Thread-956
E/AndroidRuntime( 9107): java.lang.RuntimeException: Fail to get camera info
E/AndroidRuntime( 9107): at android.hardware.Camera._getCameraInfo(Native Method)
E/AndroidRuntime( 9107): at android.hardware.Camera.getCameraInfo(Camera.java:201)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.<init>(CameraHolder.java:169)
E/AndroidRuntime( 9107): at com.android.camera.CameraHolder.instance(CameraHolder.java:123)
E/AndroidRuntime( 9107): at com.android.camera.Util.openCamera(Util.java:315)
E/AndroidRuntime( 9107): at com.android.camera.PhotoModule$CameraStartUpThread.run(PhotoModule.java:320)
W/ActivityManager( 387): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraLauncher
I tried to clean cache and data, no help. Any advice would be greatly appreciated.
BTW, other camera apps are OK, such as Camera360, CamScanner, etc.
Click to expand...
Click to collapse
do a battery pull and then see if it works ..... worked for me

RoToX23 said:
do a battery pull and then see if it works ..... worked for me
Click to expand...
Click to collapse
I've tried this already, it didn't work either.

http://forum.xda-developers.com/showthread.php?t=1787572
similar symptoms as this?

aka_kepep said:
http://forum.xda-developers.com/showthread.php?t=1787572
similar symptoms as this?
Click to expand...
Click to collapse
not really, I don't think my issue is a hardware problem because all other camera apps work fine except stock one.

Related

Sprint zone for rooted users

When i put a custom rom it deleted all my sprint apps which is good because i always delete them any way. He only problem is i like sprint zone so i can check my usage and bill. Does any one have the app or a link to download the app so i can have ot again. Pm or just reply. I know some one has to have it and i would be thrilled to havebit again! Thanks
Sent from my PC36100 using XDA App
I just tried yanking the /system/app/Sprint_Promotion.apk from netarchy's 2.2 rooted ROM, and it constantly FC's, here's the logcat:
Code:
I/ActivityManager( 204): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sprint.dsa/.PageMain }
I/ActivityManager( 204): Start proc com.sprint.dsa for activity com.sprint.dsa/.PageMain: pid=880 uid=10001 gids={3003}
W/dalvikvm( 880): VFY: unable to resolve exception class 239 (Lcom/sprint/internal/SystemPropertiesException;)
W/dalvikvm( 880): VFY: unable to find exception handler at addr 0x4d
W/dalvikvm( 880): VFY: rejected Lcom/sprint/dsa/PageMain;.dispatchPages ()V
W/dalvikvm( 880): VFY: rejecting opcode 0x0d at 0x004d
W/dalvikvm( 880): VFY: rejected Lcom/sprint/dsa/PageMain;.dispatchPages ()V
W/dalvikvm( 880): Verifier rejected class Lcom/sprint/dsa/PageMain;
W/dalvikvm( 880): Class init failed in newInstance call (Lcom/sprint/dsa/PageMain;)
D/AndroidRuntime( 880): Shutting down VM
W/dalvikvm( 880): threadid=1: thread exiting with uncaught exception (group=0x4001d7f8)
E/AndroidRuntime( 880): FATAL EXCEPTION: main
E/AndroidRuntime( 880): java.lang.VerifyError: com.sprint.dsa.PageMain
E/AndroidRuntime( 880): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 880): at java.lang.Class.newInstance(Class.java:1429)
E/AndroidRuntime( 880): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime( 880): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
E/AndroidRuntime( 880): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 880): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 880): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 880): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 880): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 880): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 880): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 880): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 880): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 880): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 880): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 204): Force finishing activity com.sprint.dsa/.PageMain
W/ActivityManager( 204): Activity pause timeout for HistoryRecord{43fbfcc0 com.sprint.dsa/.PageMain}
I/Process ( 880): Sending signal. PID: 880 SIG: 9
I/ActivityManager( 204): Process com.sprint.dsa (pid 880) has died.
drmacinyasha said:
I just tried yanking the /system/app/Sprint_Promotion.apk from netarchy's 2.2 rooted ROM, and it constantly FC's, here's the logcat:
Click to expand...
Click to collapse
Try this one. It is NOT a flashable zip.
Even that attached file is having constant FC's upon opening.
Sent from my Evolution 4G running CM6
Just FC but thanks for the try. Any body that can help would be greatly appreciated
Sent from my PC36100 using XDA App
I would also like this. The sprint zone app was the only one worth keeping, when I tried a few different versions they all FC'ed constant upon opening. Running CM 6 also.
Sent from my HTC Supersonic using XDA app
Fresh puts all the removed files in a folder download his latest ROM for the latest version. U need the latest to use *2 as well (version sz_1.5.9)
Sent from my PC36100 using XDA App
anyone have a stock 'com.sprint.dsa' that we can install?
So was there ever a fix for this. Or is the attached file the fix
Edit: The attached file did work and now it works perfectly.
Here is a working Sprint Zone app that you can install without flashing. I am using this on cyanogen mod 6.1.0rc1 and it works fine.
here's sz_2.0.4
had it sitting on my SD from BadDroid removed apps.

Issue with new Theme

So I am useing the new 2.3.4 Sense 3.0 ROM http://forum.xda-developers.com/showthread.php?t=1191936 and I am trying to get my theme to work on it. The issue that I have is with the weather widget. With the new verision of Sense they have a completly new weather animation. I get FC's all the time and here is what the logcat says.
Code:
E/AndroidRuntime( 7192): FATAL EXCEPTION: main
E/AndroidRuntime( 7192): android.content.res.Resources$NotFoundException: File res/raw/sound_clouds.wav from drawable resource ID #0x2060023
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:869)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.createPlayerbyRes(SoundEffect.java:96)
E/AndroidRuntime( 7192): at com.htc.Weather.SoundEffect.startMediaPlayer(SoundEffect.java:82)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.playSound(WeatherActivity.java:1402)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity.access$1000(WeatherActivity.java:64)
E/AndroidRuntime( 7192): at com.htc.Weather.WeatherActivity$2.handleMessage(WeatherActivity.java:887)
E/AndroidRuntime( 7192): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7192): at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime( 7192): at android.app.ActivityThread.main(ActivityThread.java:4293)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7192): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 7192): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 7192): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7192): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
E/AndroidRuntime( 7192): at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:465)
E/AndroidRuntime( 7192): at android.content.res.Resources.openRawResourceFd(Resources.java:866)
E/AndroidRuntime( 7192): ... 13 more
W/ActivityManager( 2188): Force finishing activity com.htc.Weather/.WeatherActivity
D/SensorService( 2188): enable: get sensor name = BMA150 3-axis Accelerometer
D/Sensors ( 2188): Enable akm: en = 1
D/SensorService( 2188): pid=2188, uid=1000
D/AK8973 ( 85): Compass Start
I have checked and that wav file is in the correct location. For some reason it says that it cannot open it as it might be compressed? I did not modify that apk. I only did some xml edits to framework-res.apk. The wav files are located in com.htc.resource/res/raw if anyone could help me out I would appreciate it alot.

NFC not working

I just received some NFC tags I bought off the internet and somehow everytime I try to read them I get the message:
NFC-service stopped. When I press ok and try again it happens again. However if i try to read a public transport chipcard I am able to read the data (although it has been encrypted and I cant actually read the contents it doesnt crash and I get the general info of the chip).
I read online of a bug that existed on the GN on android 4.0 and that it would be fixed in android 4.1 (which im running).
When I view logcat I get the following results:
D/NdefPushServer( 4992): about to accept
D/NfcService( 4992): NFC-EE OFF
D/NfcService( 4992): NFC-C ON
D/NfcDispatcher( 4992): dispatch tag: TAG: Tech [android.nfc.tech.MifareUltralight, android.nfc.tech.NfcA, android.nfc.tech.Ndef] message: NdefMessage [NdefRecord tnf=1 type=55 payload=06]
D/AndroidRuntime( 4992): Shutting down VM
W/dalvikvm( 4992): threadid=1: thread exiting with uncaught exception (group=0x416df300)
E/AndroidRuntime( 4992): FATAL EXCEPTION: main
E/AndroidRuntime( 4992): java.lang.NullPointerException
E/AndroidRuntime( 4992): at android.nfc.NdefRecord.toUri(NdefRecord.java:691)
E/AndroidRuntime( 4992): at android.nfc.NdefRecord.toUri(NdefRecord.java:673)
E/AndroidRuntime( 4992): at com.android.nfc.NfcDispatcher$DispatchInfo.<init>(NfcDispatcher.java:106)
E/AndroidRuntime( 4992): at com.android.nfc.NfcDispatcher.dispatchTag(NfcDispatcher.java:192)
E/AndroidRuntime( 4992): at com.android.nfc.NfcService$NfcServiceHandler.dispatchTagEndpoint(NfcService.java:1789)
E/AndroidRuntime( 4992): at com.android.nfc.NfcService$NfcServiceHandler.handleMessage(NfcService.java:1594)
E/AndroidRuntime( 4992): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4992): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 4992): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 4992): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4992): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 4992): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 4992): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 4992): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 307): Process com.android.nfc has crashed too many times: killing!
D/NativeNfcTag( 4992): Tag lost, restarting polling loop
Is there anything I can do about this? Maybe a patch or something like that?
bump?
Sorry, I'm just looking for stickers so I can start playing with NFC. Where did you get yours?
Did your NFC ever work with these stickers? Guess so since you encoded them. Did you try using your phone for payment to see if that works (and rule out the stickers)?
Maybe try doing a factory reset? Just in case that is just a bug?
Sent from my Galaxy Nexus using xda app-developers app
@netbuzz I got them from tagage. They never worked, as soon as I tap them on my phone NFC crashed so I cant program them either..
@moshe22 I might try that.. gonna make a rom manager backup first and update my titanium backup

onda vi30 - unable to change chinese language

I update my tablet to latest firmware version. I have onda vi30 model.
Anyway, when i try to change language from chinese to english, seem that not work.
Here i put some screenshots about that.
Any help?
P.S. i make some changes in update.zip package, to remove chinese app. I don't know if this can be a problem.
I resolved this problem reflashing my tablet with build.prop changed like this:
ro.product.locale.language=en
ro.product.locale.region=US
It's seem that i have one problem when a try to change language. Settings crash. Maybe something are done wrong when make custom rom.
Here is log from my tablet
E/ActivityThread( 7397): Failed to find provider info for user_dictionary
E/AndroidRuntime( 7397): FATAL EXCEPTION: main
E/AndroidRuntime( 7397): java.lang.NullPointerException
E/AndroidRuntime( 7397): at android.preference.PreferenceGroup.removePreferenceInt(PreferenceGroup.java:181)
E/AndroidRuntime( 7397): at android.preference.PreferenceGroup.removePreference(PreferenceGroup.java:174)
E/AndroidRuntime( 7397): at com.android.settings.inputmethod.InputMethodAndLanguageSettings.updateUserDictionaryPreference(InputMethodAndLanguageSettings.java:200)
E/AndroidRuntime( 7397): at com.android.settings.inputmethod.InputMethodAndLanguageSettings.onResume(InputMethodAndLanguageSettings.java:253)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:874)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1035)
E/AndroidRuntime( 7397): at android.app.BackStackRecord.popFromBackStack(BackStackRecord.java:712)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1446)
E/AndroidRuntime( 7397): at android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:453)
E/AndroidRuntime( 7397): at android.app.Activity.onBackPressed(Activity.java:2153)
E/AndroidRuntime( 7397): at com.android.settings.LocalePicker.onLocaleSelected(LocalePicker.java:30)
E/AndroidRuntime( 7397): at com.android.internal.app.LocalePicker.onListItemClick(LocalePicker.java:208)
E/AndroidRuntime( 7397): at android.app.ListFragment$2.onItemClick(ListFragment.java:160)
E/AndroidRuntime( 7397): at android.widget.AdapterView.performItemClick(AdapterView.java:298)
E/AndroidRuntime( 7397): at android.widget.AbsListView.performItemClick(AbsListView.java:1086)
E/AndroidRuntime( 7397): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2855)
E/AndroidRuntime( 7397): at android.widget.AbsListView$1.run(AbsListView.java:3529)
E/AndroidRuntime( 7397): at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime( 7397): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 7397): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7397): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 7397): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7397): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7397): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 7397): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 7397): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 3479): Force finishing activity com.android.settings/.Settings
Click to expand...
Click to collapse

[Guide][tut] [LP/MM/+] Color your Icons and Text from Settings (color mods)

Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
ok lets start work
All you need is
Deodexed Systemui
1. Decompile the SystemUI.apk
2.Download this View attachment Systemui.zip
3. Merge the Code
4. If you dont have this color picker preference to settings (need only this one) add this to settings..
Now look for SystemUI.apk/res/layouts
in that the xml code which starts with
Code:
<TextView
or
<ImageView
are the codes of text and icons you are able to make color mods
Example :
ICON color change
open systemui.apk/res/layout/signal_cluster_view.xml
find codes start with
Code:
[COLOR="Blue"]<ImageView[/COLOR] android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
and replace with this
Code:
[COLOR="blue"]<com.android.settings.rz.Image key="[COLOR="Red"]img1[/COLOR]"[/COLOR] android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
here key="img1" play role
where in settings you need to define in display_settings.xml or your own
Code:
<com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Icon1" android:key="[COLOR="red"]img1[/COLOR]" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />
if you want other just change key
Text color change
open systemui.apk/res/layout/keyguard_weather_view.xml
find codes start with
Code:
[COLOR="Blue"]<TextView[/COLOR] android:textSize="15.0sp" android:textStyle="bold" android:layout_gravity="right" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
and replace with this
Code:
[COLOR="blue"]<com.android.settings.rz.Text key="[COLOR="Red"]text1[/COLOR]"[/COLOR] android:textSize="15.0sp" android:textStyle="bold" android:layout_gravity="right" android:id="@id/city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
here key="text1" play role
where in settings you need to define in display_settings.xml or your own
Code:
<com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Text1" android:key="[COLOR="red"]text1[/COLOR]" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />
if you want other just change key
Thanks to Alvin os and maaadon team for being with me all the time
Dont forget to mention me if you use my work
Great job bro ^^
Sent from MWA Pro-Spect V1.0.0 On My Z5
Works perfectly man, very simple and easy mod
Help
Bloodlvst said:
Works perfectly man, very simple and easy mod
Click to expand...
Click to collapse
please give me your SystemUI and settings , for I tried to learn :angel:
Yudistira1988 said:
please give me your SystemUI and settings , for I tried to learn :angel:
Click to expand...
Click to collapse
Why you need it, to use ?
This guide is very simple.
Pandemic said:
Why you need it, to use ?
This guide is very simple.
Click to expand...
Click to collapse
I got the error " parameter "
maybe I need smali version 2.0
help me
venkat kamesh said:
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
ok lets start work...................................................
Click to expand...
Click to collapse
smali error log
Log For : SystemUI.apk
Log Type : Recompiling
Log Recorded At : Mon 09-01-2017 14:43:56.61
Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak
------------------------------------------------------
..\3-Out\SystemUI.apk\smali\com\android\settings\rz\Image.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\settings\rz\Image.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/rz/Image.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:385)
at brut.androlib.Androlib.buildSources(Androlib.java:312)
at brut.androlib.Androlib.build(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
------------------------------------------------------
Where the screen?
D6503 cihazımdan Tapatalk kullanılarak gönderildi
Zidni said:
smali error log
------------------------------------------------------
Click to expand...
Click to collapse
Please Use apktool 2.1.1
Nothing went wrong cheers
yakupTR said:
Where the screen?
D6503 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
This mod dont come with screen
Please Read them ... in example i gave sim card
if you apply this code for network Cluster ... Default is white
but from settings you can change to any color you need ...
so if i start to provide SS .. that will be endless
Hope you got my point
venkat kamesh said:
Please Use apktool 2.1.1
Nothing went wrong cheers
Click to expand...
Click to collapse
apparently i used more latest apktool v2.2.1 on 6.0
@venkat kamesh bro, does this color mod work for TextClock ?
Edit:
I tried this mod and got recompiling error (used Apktool 2.1.1) :
...'.parameter' invalid directive
So I checked the smalis and found that they had '.parameter' element in them which is actually found in smalis decompiled using Apktool v1.5.2 or below.
So I deleted the .parameter element and tried to recompile and it successfully recompiled. (Really noobish work, I know)
I signed the systemUI and pushed back to system. But it gave systemUI force close.
Please review the smalis bro. Help please.
Bloodlvst said:
Works perfectly man, very simple and easy mod
Click to expand...
Click to collapse
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Bro What is you android and apktool version?
nitesh9 said:
@venkat kamesh bro, does this color mod work for TextClock ?
Please review the smalis bro. Help please.
Click to expand...
Click to collapse
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Zidni said:
Bro What is you android and apktool version?
Click to expand...
Click to collapse
i used apktool ver 2.0 /2.1
in this case there is another process to convert old smali to new
I will explain when i am free bro
No More Recompile Problem
nitesh9 said:
Bro how did you make it work please explain? It will be much helpful to some noob devs like me.
Click to expand...
Click to collapse
Smali bug fixed now......
it will work on marshmallow 6.0+ & LP 5+(hopefully)
use the attached smali...
hit thanks if work :good:
Zidni said:
Smali bug fixed now......
it will work on marshmallow 6.0+ & LP 5+(hopefully)
use the attached smali...
hit thanks if work :good:
Click to expand...
Click to collapse
Thanks bro, will try and revert back soon.
Update:
The new smali worked like charm. Thanks bro.
venkat kamesh said:
Hello guys
Here come a new tut
Where you can color all your icons and text
Example wifi / bluetooth / network/ user profile icon/ clock text and more depends on your idea
Click to expand...
Click to collapse
bro, its not compiling!
log:-
Recompiling "SystemUI.apk" With New Signature,
in work area "_WorkArea4", using "apktool_2.1.1.jar"
With Tickle My Android 14.3.0.0.
(tinyurl.com\ticklemyandroid)
----------------
Installed Framework File(s):
1.apk
63.apk
----------------
I: Using Apktool 2.1.1
I: Smaling smali folder into classes.dex...
..\_WorkArea4\_working\SystemUI.apk\smali\com\android\settings\rz\Image.smali[27,4] Error for input '.parameter': Invalid directive
..\_WorkArea4\_working\SystemUI.apk\smali\com\android\settings\rz\Image.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/settings/rz/Image.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:67)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:51)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:364)
at brut.androlib.Androlib.buildSources(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:278)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
Can anyone put some pictures here?
I am having issues with it inflating. FC statusbar.
E/AndroidRuntime( 1123): FATAL EXCEPTION: main
E/AndroidRuntime( 1123): Process: com.android.systemui, PID: 1123
E/AndroidRuntime( 1123): android.view.InflateException: Binary XML file line #5: Error inflating class com.android.settings.rz.Image
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 1123): at android.view.View.inflate(View.java:18465)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:536)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3564)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3535)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:426)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:491)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(Native Method)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 1123): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1123): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 1123): at android.app.ActivityThread.main(ActivityThread.java:5598)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1123): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1123): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.rz.Image" on path: DexPathList[[zip file "/system/framework/twframework.jar", zip file "/system/framework/sechardware.jar", zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/priv-app/SystemUI.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /lib]]
E/AndroidRuntime( 1123): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createView(LayoutInflater.java:565
W/ActivityManager( 654): Process com.android.systemui has crashed too many times: killing!
RealWelder said:
I am having issues with it inflating. FC statusbar.
E/AndroidRuntime( 1123): FATAL EXCEPTION: main
E/AndroidRuntime( 1123): Process: com.android.systemui, PID: 1123
E/AndroidRuntime( 1123): android.view.InflateException: Binary XML file line #5: Error inflating class com.android.settings.rz.Image
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:855)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.parseInclude(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.rInflate(LayoutInflater.java:751)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 1123): at android.view.View.inflate(View.java:18465)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:536)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3564)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3535)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:426)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:491)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(Native Method)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime( 1123): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime( 1123): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1123): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 1123): at android.app.ActivityThread.main(ActivityThread.java:5598)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1123): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 1123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 1123): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 1123): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1123): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.rz.Image" on path: DexPathList[[zip file "/system/framework/twframework.jar", zip file "/system/framework/sechardware.jar", zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/priv-app/SystemUI.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /lib]]
E/AndroidRuntime( 1123): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1123): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1123): at android.view.LayoutInflater.createView(LayoutInflater.java:565
W/ActivityManager( 654): Process com.android.systemui has crashed too many times: killing!
Click to expand...
Click to collapse
Use the latest fixed smali by @Zidni above.

Categories

Resources