lenny_kano
MI-ONE Staff Developer
- 5 Aug 2011
- 170
- 38
@ lenny_kanoLOL glad to help . Enjoy.
Sorry folks...I didn't think it will run out of bandwidth. I'm trying to move them to another file hosting...
for system ui and control panel, yes they need to be translated. fusion bases mods on english rom so it will remove any translations. the rest shouldnt need to be localised.
fusion can answer more, has nothing to with control panel though.
How bout waiting? He posts in this topic like every page give him awhile to respond.Could you please point him at my question then
Only android.policy.jar and MiuiSystemUI.apk are related to the control panel. So, if you just want to translate control panel, just take these two files and ignore another files.But what is the purpose of framework-res.apk then? May I keep existing (localized)?
Thanks for pinning this thread.How bout waiting? He posts in this topic like every page give him awhile to respond.
Sent from my MI 2 using Tapatalk 2
Thanks, already did it but the result is the same, stuck at bootanimation; anyway i will try on future release and see if is working, weird is that on 2.10.19 was working without making any wipes. Thanks again!try wipe cache, dalvik and re-flash the control panel again. as far as i can remember, some users reported that control panel is working on evo 3d.
hmm...actually I'm confused whether it is running or not on shooteru, because a user from a previous page reported is working and another user got the same problem like you. Are you running miuiandroid_shooteru-2.10.26.zip?Thanks, already did it but the result is the same, stuck at bootanimation; anyway i will try on future release and see if is working, weird is that on 2.10.19 was working without making any wipes. Thanks again!
I saw that post and yes I'm on last miuiandroid 2.10.26.hmm...actually I'm confused whether it is running or not on shooteru, because a user from a previous page reported is working and another user got the same problem like you. Are you running miuiandroid_shooteru-2.10.26.zip?
ok, i'll take a look then...I saw that post and yes I'm on last miuiandroid 2.10.26.
Only android.policy.jar and MiuiSystemUI.apk are related to the control panel.
W/System.err( 1866): java.io.FileNotFoundException: /data/cust/xml/hw_defaults.xml: open failed: ENOENT (No such file or directory)
W/System.err( 1866): at libcore.io.IoBridge.open(IoBridge.java:406)
W/System.err( 1866): at java.io.FileInputStream.<init>(FileInputStream.java:78)
W/System.err( 1866): at java.io.FileInputStream.<init>(FileInputStream.java:105)
W/System.err( 1866): at java.util.Calendar.getHwFirstDayOfWeek(Calendar.java:773)
W/System.err( 1866): at java.util.Calendar.<init>(Calendar.java:745)
W/System.err( 1866): at java.util.GregorianCalendar.<init>(GregorianCalendar.java:338)
W/System.err( 1866): at java.util.GregorianCalendar.<init>(GregorianCalendar.java:325)
W/System.err( 1866): at java.util.Calendar.getInstance(Calendar.java:1111)
W/System.err( 1866): at com.android.systemui.statusbar.policy.Clock.<init>(Clock.java:46)
W/System.err( 1866): at com.android.systemui.statusbar.policy.Clock.<init>(Clock.java:61)
W/System.err( 1866): at java.lang.reflect.Constructor.constructNative(Native Method)
W/System.err( 1866): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
W/System.err( 1866): at android.view.LayoutInflater.createView(LayoutInflater.java:586)
W/System.err( 1866): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
W/System.err( 1866): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
W/System.err( 1866): at android.view.LayoutInflater.rInflate(LayoutInflater.java:742)
W/System.err( 1866): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
W/System.err( 1866): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
V/LightsService( 1770): setBrightness brightness1=87
V/LightsService( 1770): setPowerSaving brightness2=87
W/System.err( 1866): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
W/System.err( 1866): at android.view.View.inflate(View.java:13590)
W/System.err( 1866): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:457)
W/System.err( 1866): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:59)
W/System.err( 1866): at com.android.systemui.statusbar.phone.PhoneStatusBar.bindViews(PhoneStatusBar.java:378)
W/System.err( 1866): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:353)
W/System.err( 1866): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
W/System.err( 1866): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)
W/System.err( 1866): at android.app.ActivityThread.access$1600(ActivityThread.java:123)
W/System.err( 1866): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
W/System.err( 1866): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1866): at android.os.Looper.loop(Looper.java:137)
W/System.err( 1866): at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1866): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1866): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1866): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
W/System.err( 1866): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
W/System.err( 1866): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1866): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
W/System.err( 1866): at libcore.io.Posix.open(Native Method)
W/System.err( 1866): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
W/System.err( 1866): at libcore.io.IoBridge.open(IoBridge.java:390)
W/System.err( 1866): ... 35 more
W/System.err( 1866): java.lang.NumberFormatException: Invalid int: ""
W/System.err( 1866): at java.lang.Integer.invalidInt(Integer.java:138)
W/System.err( 1866): at java.lang.Integer.parseInt(Integer.java:359)
W/System.err( 1866): at java.lang.Integer.parseInt(Integer.java:332)
W/System.err( 1866): at java.util.Calendar.getHwFirstDayOfWeek(Calendar.java:807)
W/System.err( 1866): at java.util.Calendar.<init>(Calendar.java:745)
W/System.err( 1866): at java.util.GregorianCalendar.<init>(GregorianCalendar.java:338)
W/System.err( 1866): at java.util.GregorianCalendar.<init>(GregorianCalendar.java:325)
W/System.err( 1866): at java.util.Calendar.getInstance(Calendar.java:1111)
W/System.err( 1866): at com.android.systemui.statusbar.policy.Clock.<init>(Clock.java:46)
W/System.err( 1866): at com.android.systemui.statusbar.policy.Clock.<init>(Clock.java:61)
W/System.err( 1866): at java.lang.reflect.Constructor.constructNative(Native Method)
W/System.err( 1866): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
W/System.err( 1866): at android.view.LayoutInflater.createView(LayoutInflater.java:586)
W/System.err( 1866): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
W/System.err( 1866): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
W/System.err( 1866): at android.view.LayoutInflater.rInflate(LayoutInflater.java:742)
W/System.err( 1866): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
W/System.err( 1866): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
W/System.err( 1866): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
W/System.err( 1866): at android.view.View.inflate(View.java:13590)
W/System.err( 1866): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:457)
W/System.err( 1866): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:59)
W/System.err( 1866): at com.android.systemui.statusbar.phone.PhoneStatusBar.bindViews(PhoneStatusBar.java:378)
W/System.err( 1866): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:353)
W/System.err( 1866): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
W/System.err( 1866): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)
W/System.err( 1866): at android.app.ActivityThread.access$1600(ActivityThread.java:123)
W/System.err( 1866): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
W/System.err( 1866): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1866): at android.os.Looper.loop(Looper.java:137)
W/System.err( 1866): at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1866): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1866): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1866): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
W/System.err( 1866): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
W/System.err( 1866): at dalvik.system.NativeStart.main(Native Method)
sorry folks, need to be at home first to re-upload all control panels to another file hosting. i hope they would be available again in next 5 hours...sorry.
Take a look in PhoneStatusBar.smali and search for .line 457. The cause of the error should be from there.Tried to replace MiuiSystemUI.apk with one coming with ControlPanel... and status bar disappeared. But! While being installed thru recovery ControlPanel (as update-script tells - it does exectly same thing that I do - copy MiuiSystemUI.apk and set perms to 644) everything works fine... Do I miss something?
PS: Is this piece of logcat is some kind of related to the issue?
Regards.
Roman.
Take a look in PhoneStatusBar.smali and search for .line 457. The cause of the error should be from there.
I think I'll delay control panel this week because some devices have bootloop problem.
If your rom ok and want control panel so badly , just tell me your device and I'll build it.
We use essential cookies to make this site work, and optional cookies to enhance your experience. Cookies are also used for ads personalisation