Related
I'm having issues modifying framework-res.apk
I already checked some of the other posts and guides.
I'm working on a Motorola Backflip running j_r0dd's Preclair v1.0.3
I just switched my carrier from AT&T to T-Mobile.
I get stuck in a boot loop or get no results at all depending on whether I push or copy/paste the new file and whether I do it when the phone is running or in recovery mode.
Any help would be greatly appreciated.
Here is what I had posted on modmymobile.com:
Ok. I'll try again. Thanks for the help. I'll let you know how it goes.
What about signing? If I am using App Manager can I just recompile and sign with App Manager? I am about to try this. I'm performing a nandroid backup now. I'll report back how it works out. The only value I changed was the onsText maxLength value from 18 to 3.
1. I decompiled with App Manager
2. I edited the status-bar.xml file.
3. I choose 11. Compile apk option in Apk Manager.
4. I answered Y to system file and to the option for the keep folder.
5. I deleted status-bar.xml and the resources file from the keep folder.
6. I pressed enter to continued in Apk Manager
7. I selected 12. Sign apk option in Apk Manager.
8. I am now pushing the framework-res.apk to the phone in recovery mode
9. Restarted just fine but no changes have taken place.
I checked the file sizes of the original and the modified framework-res.apk files and the original is 2899KB and the modified is only 1731KB. After I changed the file and rebooted the one on the phone was back to 2899KB.
I'll try copying the file with root explorer instead of pushing just to make sure it is overwriting.
After this operation I get this in the logcat:
11-19 11:22:30.666 195 204 W WallpaperService: Wallpaper service gone: ComponentInfo{a
ndroid/com.android.internal.service.wallpaper.ImageWallpa per**
11-19 11:22:30.666 195 204 W WallpaperService: Reverting to built-in wallpaper!
11-19 11:22:30.666 195 204 W dalvikvm: threadid=15: thread exiting with uncaught excep
tion (group=0x4001e278)
11-19 11:22:30.676 195 204 E AndroidRuntime: Uncaught handler: thread android.server.S
erverThread exiting due to uncaught exception
11-19 11:22:30.676 195 204 E AndroidRuntime: *** EXCEPTION IN SYSTEM PROCESS. System
will crash.
11-19 11:22:30.746 195 204 E AndroidRuntime: java.lang.IllegalArgumentException: Unkno
wn component ComponentInfo{android/com.android.internal.service.wallpaper.ImageWallpa per**
11-19 11:22:30.746 195 204 E AndroidRuntime: at com.android.server.WallpaperMan
agerService.bindWallpaperComponentLocked(Wallpaper ManagerService.java:476)
11-19 11:22:30.746 195 204 E AndroidRuntime: at com.android.server.WallpaperMan
agerService$WallpaperConnection.onServiceDisconnec ted(WallpaperManagerService.java:191)
11-19 11:22:30.746 195 204 E AndroidRuntime: at android.app.ActivityThread$Pack
ageInfo$ServiceDispatcher.doConnected(ActivityThre ad.java:1130)
11-19 11:22:30.746 195 204 E AndroidRuntime: at android.app.ActivityThread$Pack
ageInfo$ServiceDispatcher$RunConnection.run(Activi tyThread.java:1151)
11-19 11:22:30.746 195 204 E AndroidRuntime: at android.os.Handler.handleCallba
ck(Handler.java:587)
11-19 11:22:30.746 195 204 E AndroidRuntime: at android.os.Handler.dispatchMess
age(Handler.java:92)
11-19 11:22:30.746 195 204 E AndroidRuntime: at android.os.Looper.loop(Looper.j
ava:136)
11-19 11:22:30.746 195 204 E AndroidRuntime: at com.android.server.ServerThread
.run(SystemServer.java:469)
11-19 11:22:30.776 288 288 W Launcher.Model: Nobody to tell about the new app. Launch
er is probably loading.
11-19 11:22:30.846 195 204 E CheckinService: Can't find package android
11-19 11:22:31.076 1020 1024 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.086 596 602 I ActivityThread: Removing dead content provider: subscribe
dfeeds
11-19 11:22:31.086 293 305 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.096 744 749 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.106 691 810 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.106 674 679 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.106 552 557 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.116 488 495 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.126 403 407 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.126 284 299 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.126 284 299 I ActivityThread: Removing dead content provider: com.motor
ola.android.providers.settings
11-19 11:22:31.126 284 299 I ActivityThread: Removing dead content provider: com.motor
ola.android.server.checkin
11-19 11:22:31.126 288 301 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.136 282 297 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.136 270 274 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.136 370 376 I ActivityThread: Removing dead content provider: com.motor
ola.android.providers.settings
11-19 11:22:31.146 705 710 I ActivityThread: Removing dead content provider: com.motor
ola.android.server.checkin
11-19 11:22:31.216 641 645 I System.out: util.Log 4: ActivityThread :Removing dead co
ntent provider: settings: android.os.DeadObjectException
11-19 11:22:31.226 155 155 E vold : Framework disconnected
11-19 11:22:31.236 596 601 I ActivityThread: Removing dead content provider: settings
11-19 11:22:31.246 160 160 E installd: eof
11-19 11:22:31.246 160 160 E installd: failed to read size
11-19 11:22:31.256 641 645 W System.err: android.os.DeadObjectException
11-19 11:22:31.256 155 155 E vold : Unable to read framework command (Bad file numb
er)
11-19 11:22:31.256 155 155 E vold : Error processing framework command (Bad file nu
mber)
11-19 11:22:31.266 155 155 E vold : Unable to read framework command (Bad file numb
er)
11-19 11:22:31.266 155 155 E vold : Error processing framework command (Bad file nu
mber)
11-19 11:22:31.286 420 429 I System.out: util.Log 4: ActivityThread :Removing dead co
ntent provider: settings: android.os.DeadObjectException
11-19 11:22:31.286 420 429 W System.err: android.os.DeadObjectException
11-19 11:22:31.306 641 645 W System.err: at android.os.BinderProxy.transact(Native
Method)
11-19 11:22:31.306 641 645 W System.err: at android.os.ICheckinService$Stub$Proxy.l
og(ICheckinService.java:327)
11-19 11:22:31.316 641 645 W System.err: at android.util.Log.logCheckin(Log.java:16
1)
11-19 11:22:31.316 641 645 W System.err: at android.util.Log.i(Log.java:273)
Then this just loops:
11-19 11:22:32.356 1341 1341 E QC-QMI : Client: qmux_client ID is 53d
11-19 11:22:33.566 1340 1340 E AudioHardwareMSM72XX: start AudioHardware
11-19 11:22:33.576 1340 1340 E AudioHardwareMSM72XX: constructed (0 SND endpoints)
11-19 11:22:33.576 1340 1340 E AudioHardwareMSM72XX: AudioHardware::initChec
11-19 11:22:33.576 1340 1340 E AudioHardwareMSM72XX: AudioHardware::initChec
11-19 11:22:33.606 1340 1354 E AudioHardwareMSM72XX: msm72xx_enable_audpp: 0x0000
11-19 11:22:33.786 1342 1342 I SamplingProfilerIntegration: Profiler is disabled.
11-19 11:22:33.836 1342 1342 I Zygote : Preloading classes...
11-19 11:22:37.326 1342 1342 W ResourceType: Resources don't contain package for resourc
e number 0x010b0001
11-19 11:22:37.326 1342 1342 W dalvikvm: Exception Landroid/content/res/Resources$NotFou
ndException; thrown during Landroid/text/AutoText;.<clinit>
11-19 11:22:37.346 1342 1342 E Zygote : Error preloading android.text.AutoText.
11-19 11:22:37.346 1342 1342 E Zygote : java.lang.ExceptionInInitializerError
11-19 11:22:37.346 1342 1342 E Zygote : at java.lang.Class.classForName(Native Met
hod)
11-19 11:22:37.346 1342 1342 E Zygote : at java.lang.Class.forName(Class.java:237)
11-19 11:22:37.346 1342 1342 E Zygote : at java.lang.Class.forName(Class.java:183)
11-19 11:22:37.346 1342 1342 E Zygote : at com.android.internal.os.ZygoteInit.prel
oadClasses(ZygoteInit.java:295)
11-19 11:22:37.346 1342 1342 E Zygote : at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:582)
11-19 11:22:37.346 1342 1342 E Zygote : at dalvik.system.NativeStart.main(Native M
ethod)
11-19 11:22:37.346 1342 1342 E Zygote : Caused by: android.content.res.Resources$NotFou
ndException: Resource ID #0x10b0001
11-19 11:22:37.346 1342 1342 E Zygote : at android.content.res.Resources.getValue(
Resources.java:891)
11-19 11:22:37.346 1342 1342 E Zygote : at android.content.res.Resources.loadXmlRe
sourceParser(Resources.java:1865)
11-19 11:22:37.346 1342 1342 E Zygote : at android.content.res.Resources.getXml(Re
sources.java:779)
11-19 11:22:37.346 1342 1342 E Zygote : at android.text.AutoText.init(AutoText.jav
a:160)
11-19 11:22:37.346 1342 1342 E Zygote : at android.text.AutoText.<init>(AutoText.j
ava:76)
11-19 11:22:37.346 1342 1342 E Zygote : at android.text.AutoText.<clinit>(AutoText
.java:56)
11-19 11:22:37.346 1342 1342 E Zygote : ... 6 more
11-19 11:22:37.356 1342 1342 W dalvikvm: threadid=3: thread exiting with uncaught except
ion (group=0x4001e278)
When I reboot I get that second loop over and over while the motorola "m" is on the white screen.
I'm not sure about motorola but on the hero and many other devices, the carrier name is in the eri.xml. I'm with cellular south but I always put my wife's name on her phone.
Did you add the necessary(original) amount of spaces when hex editing that file?
I'm with dean.d though. Mine was in eri.xml too
are you both on CDMA phones? The text fields are T-CDMA. Is this just generic or does it refer to CDMA only? I'm on a GSM network.
From my understanding with 2.1 for the Backflip Motorola set the carrier to always show in the notification bar. Maybe its in the moto-res.apk file...I'll look there.
Hi !
Today I started learning apps development on my RAZR i. Everytime I compile my application with the Android SDK I get these three lines :
Installation failed due to invalid APK file!
Please check logcat output for more details.
Launch canceled!
With a ZTE Blade running CM9 it's fine.
Maybe it depends on the ROM you're using, can someone develop on Omar's ROM ? I'm too lazy to go back on stock and test again (anyway i want to keep this ROM).
If you can help me...
Thank you in advance :fingers-crossed:
Kiki Banderos said:
Hi !
Today I started learning apps development on my RAZR i. Everytime I compile my application with the Android SDK I get these three lines :
Installation failed due to invalid APK file!
Please check logcat output for more details.
Launch canceled!
With a ZTE Blade running CM9 it's fine.
Maybe it depends on the ROM you're using, can someone develop on Omar's ROM ? I'm too lazy to go back on stock and test again (anyway i want to keep this ROM).
If you can help me...
Thank you in advance :fingers-crossed:
Click to expand...
Click to collapse
Did your app its build with x86 compatibility?
Intel device - Razr i Owner
Hit thanks if i help you or you like my style
Marco Lomas said:
Did your app its build with x86 compatibility?
Intel device - Razr i Owner
Hit thanks if i help you or you like my style
Click to expand...
Click to collapse
I'm just beginning in Android development. I have only the basics in Java and Eclipse. I don't know how to enable x86 compatibility in the IDE. I did some research on google but didn't found anything. I though a "hello world" would be compatible with all Android device (arm, x86, mips, powerpc..).
Well, is there a way to enable x86 compatibility ? :angel:
Thank you !
I also develop on Omar ROM - without problems. Can you check what logs do you get ? (to check your logs to to "android-sdk/platform-tools", open console there, and write |adb logcat", and then try to install your sample application and copy logs). BTW. x86 compatibility is unnecessary when writing app in java with android sdk (only native code needs that)
I'm sorry, i don't know how to format correctly the logcat, it's really unconfortable to read. Thank you for trying, i'm currently searching what's going wrong there.
Code:
07-22 21:17:17.554 24661 24661 I CydiaSubstrate: MS:Notice: Injecting: /system/b
in/app_process
07-22 21:17:17.554 24661 24661 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libDalvikLoader.cy.so
07-22 21:17:17.554 24661 24661 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libAndroidCydia.cy.so
07-22 21:17:17.554 24661 24661 D AndroidRuntime:
07-22 21:17:17.554 24661 24661 D AndroidRuntime: >>>>>> AndroidRuntime START com
.android.internal.os.RuntimeInit <<<<<<
07-22 21:17:17.554 24661 24661 D AndroidRuntime: CheckJNI is OFF
07-22 21:17:17.554 24661 24661 I AndroidRuntime: JNI options: '-Xjniopts:warnonl
y'
07-22 21:17:17.554 24661 24661 I AndroidRuntime: IFWI Version: 42.26
07-22 21:17:17.554 24661 24661 I AndroidRuntime: SCU Version: DA.32
07-22 21:17:17.564 24661 24661 I AndroidRuntime: PUnit Version: D1.0B
07-22 21:17:17.564 24661 24661 I AndroidRuntime: IA32FW Version: 01.1E
07-22 21:17:17.564 24661 24661 I AndroidRuntime: ValHooks Version: 42.0F
07-22 21:17:17.564 24661 24661 I AndroidRuntime: Kernel Release Version: 3.0.86
07-22 21:17:17.574 24661 24661 D dalvikvm: Trying to load lib libjavacore.so 0x0
07-22 21:17:17.584 24661 24661 D dalvikvm: Added shared lib libjavacore.so 0x0
07-22 21:17:17.584 24661 24661 D dalvikvm: Trying to load lib libnativehelper.so
0x0
07-22 21:17:17.584 24661 24661 D dalvikvm: Added shared lib libnativehelper.so 0
x0
07-22 21:17:17.744 24661 24661 I CydiaSubstrate: MS:Notice: Loading: /data/app/c
om.saurik.winterboard-1.apk
07-22 21:17:17.784 24661 24661 D AndroidRuntime: Calling main entry com.android.
commands.pm.Pm
07-22 21:17:17.794 24661 24661 D AndroidRuntime: Shutting down VM
07-22 21:17:17.794 24661 24665 D dalvikvm: GC_CONCURRENT freed 199K, 26% free 59
2K/796K, paused 0ms+0ms, total 2ms
07-22 21:17:17.804 24661 24667 D dalvikvm: Debugger has detached; object registr
y had 1 entries
07-22 21:17:18.394 24675 24675 I CydiaSubstrate: MS:Notice: Injecting: /system/b
in/app_process
07-22 21:17:18.394 24675 24675 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libDalvikLoader.cy.so
07-22 21:17:18.394 24675 24675 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libAndroidCydia.cy.so
07-22 21:17:18.394 24675 24675 D AndroidRuntime:
07-22 21:17:18.394 24675 24675 D AndroidRuntime: >>>>>> AndroidRuntime START com
.android.internal.os.RuntimeInit <<<<<<
07-22 21:17:18.394 24675 24675 D AndroidRuntime: CheckJNI is OFF
07-22 21:17:18.394 24675 24675 I AndroidRuntime: JNI options: '-Xjniopts:warnonl
y'
07-22 21:17:18.394 24675 24675 I AndroidRuntime: IFWI Version: 42.26
07-22 21:17:18.394 24675 24675 I AndroidRuntime: SCU Version: DA.32
07-22 21:17:18.404 24675 24675 I AndroidRuntime: PUnit Version: D1.0B
07-22 21:17:18.404 24675 24675 I AndroidRuntime: IA32FW Version: 01.1E
07-22 21:17:18.404 24675 24675 I AndroidRuntime: ValHooks Version: 42.0F
07-22 21:17:18.404 24675 24675 I AndroidRuntime: Kernel Release Version: 3.0.86
07-22 21:17:18.424 24675 24675 D dalvikvm: Trying to load lib libjavacore.so 0x0
07-22 21:17:18.424 24675 24675 D dalvikvm: Added shared lib libjavacore.so 0x0
07-22 21:17:18.424 24675 24675 D dalvikvm: Trying to load lib libnativehelper.so
0x0
07-22 21:17:18.424 24675 24675 D dalvikvm: Added shared lib libnativehelper.so 0
x0
07-22 21:17:18.584 24675 24675 I CydiaSubstrate: MS:Notice: Loading: /data/app/c
om.saurik.winterboard-1.apk
07-22 21:17:18.624 24675 24675 D AndroidRuntime: Calling main entry com.android.
commands.pm.Pm
07-22 21:17:18.644 24535 24547 W zipro : Unable to open zip '/data/local/tmp/L
eVioloneux.apk': Permission denied
07-22 21:17:18.644 24535 24547 D asset : failed to open Zip archive '/data/loc
al/tmp/LeVioloneux.apk'
07-22 21:17:18.654 11433 11464 D dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
07-22 21:17:18.654 24535 24547 W PackageParser: Unable to read AndroidManifest.x
ml of /data/local/tmp/LeVioloneux.apk
07-22 21:17:18.654 24535 24547 W PackageParser: java.io.FileNotFoundException: A
ndroidManifest.xml
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.res.A
ssetManager.openXmlAssetNative(Native Method)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.res.A
ssetManager.openXmlBlockAsset(AssetManager.java:487)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.res.A
ssetManager.openXmlResourceParser(AssetManager.java:455)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.pm.Pa
ckageParser.parsePackageLite(PackageParser.java:722)
07-22 21:17:18.654 24535 24547 W PackageParser: at com.android.defcontai
ner.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java
:169)
07-22 21:17:18.654 24535 24547 W PackageParser: at com.android.internal.
app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.os.Binder.exe
cTransact(Binder.java:367)
07-22 21:17:18.654 24535 24547 W PackageParser: at dalvik.system.NativeS
tart.run(Native Method)
07-22 21:17:18.654 24535 24547 W DefContainer: Failed to parse package
07-22 21:17:18.654 11433 11464 W ActivityManager: No content provider found for
permission revoke: file:///data/local/tmp/LeVioloneux.apk
07-22 21:17:18.744 11433 11464 D dalvikvm: GC_EXPLICIT freed 3399K, 35% free 284
71K/43784K, paused 3ms+6ms, total 89ms
07-22 21:17:18.744 24675 24675 D AndroidRuntime: Shutting down VM
07-22 21:17:18.754 24675 24679 D dalvikvm: GC_CONCURRENT freed 224K, 28% free 61
0K/840K, paused 0ms+0ms, total 1ms
07-22 21:17:18.754 24675 24681 D dalvikvm: Debugger has detached; object registr
y had 1 entries
07-22 21:17:18.754 24675 24686 I AndroidRuntime: NOTE: attach of thread 'Binder_
3' failed
07-22 21:17:19.214 24689 24689 I CydiaSubstrate: MS:Notice: Injecting: /system/b
in/toolbox
Kiki Banderos said:
I'm sorry, i don't know how to format correctly the logcat, it's really unconfortable to read. Thank you for trying, i'm currently searching what's going wrong there.
Code:
07-22 21:17:17.554 24661 24661 I CydiaSubstrate: MS:Notice: Injecting: /system/b
in/app_process
07-22 21:17:17.554 24661 24661 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libDalvikLoader.cy.so
07-22 21:17:17.554 24661 24661 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libAndroidCydia.cy.so
07-22 21:17:17.554 24661 24661 D AndroidRuntime:
07-22 21:17:17.554 24661 24661 D AndroidRuntime: >>>>>> AndroidRuntime START com
.android.internal.os.RuntimeInit <<<<<<
07-22 21:17:17.554 24661 24661 D AndroidRuntime: CheckJNI is OFF
07-22 21:17:17.554 24661 24661 I AndroidRuntime: JNI options: '-Xjniopts:warnonl
y'
07-22 21:17:17.554 24661 24661 I AndroidRuntime: IFWI Version: 42.26
07-22 21:17:17.554 24661 24661 I AndroidRuntime: SCU Version: DA.32
07-22 21:17:17.564 24661 24661 I AndroidRuntime: PUnit Version: D1.0B
07-22 21:17:17.564 24661 24661 I AndroidRuntime: IA32FW Version: 01.1E
07-22 21:17:17.564 24661 24661 I AndroidRuntime: ValHooks Version: 42.0F
07-22 21:17:17.564 24661 24661 I AndroidRuntime: Kernel Release Version: 3.0.86
07-22 21:17:17.574 24661 24661 D dalvikvm: Trying to load lib libjavacore.so 0x0
07-22 21:17:17.584 24661 24661 D dalvikvm: Added shared lib libjavacore.so 0x0
07-22 21:17:17.584 24661 24661 D dalvikvm: Trying to load lib libnativehelper.so
0x0
07-22 21:17:17.584 24661 24661 D dalvikvm: Added shared lib libnativehelper.so 0
x0
07-22 21:17:17.744 24661 24661 I CydiaSubstrate: MS:Notice: Loading: /data/app/c
om.saurik.winterboard-1.apk
07-22 21:17:17.784 24661 24661 D AndroidRuntime: Calling main entry com.android.
commands.pm.Pm
07-22 21:17:17.794 24661 24661 D AndroidRuntime: Shutting down VM
07-22 21:17:17.794 24661 24665 D dalvikvm: GC_CONCURRENT freed 199K, 26% free 59
2K/796K, paused 0ms+0ms, total 2ms
07-22 21:17:17.804 24661 24667 D dalvikvm: Debugger has detached; object registr
y had 1 entries
07-22 21:17:18.394 24675 24675 I CydiaSubstrate: MS:Notice: Injecting: /system/b
in/app_process
07-22 21:17:18.394 24675 24675 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libDalvikLoader.cy.so
07-22 21:17:18.394 24675 24675 I CydiaSubstrate: MS:Notice: Loading: /data/data/
com.saurik.substrate/lib/libAndroidCydia.cy.so
07-22 21:17:18.394 24675 24675 D AndroidRuntime:
07-22 21:17:18.394 24675 24675 D AndroidRuntime: >>>>>> AndroidRuntime START com
.android.internal.os.RuntimeInit <<<<<<
07-22 21:17:18.394 24675 24675 D AndroidRuntime: CheckJNI is OFF
07-22 21:17:18.394 24675 24675 I AndroidRuntime: JNI options: '-Xjniopts:warnonl
y'
07-22 21:17:18.394 24675 24675 I AndroidRuntime: IFWI Version: 42.26
07-22 21:17:18.394 24675 24675 I AndroidRuntime: SCU Version: DA.32
07-22 21:17:18.404 24675 24675 I AndroidRuntime: PUnit Version: D1.0B
07-22 21:17:18.404 24675 24675 I AndroidRuntime: IA32FW Version: 01.1E
07-22 21:17:18.404 24675 24675 I AndroidRuntime: ValHooks Version: 42.0F
07-22 21:17:18.404 24675 24675 I AndroidRuntime: Kernel Release Version: 3.0.86
07-22 21:17:18.424 24675 24675 D dalvikvm: Trying to load lib libjavacore.so 0x0
07-22 21:17:18.424 24675 24675 D dalvikvm: Added shared lib libjavacore.so 0x0
07-22 21:17:18.424 24675 24675 D dalvikvm: Trying to load lib libnativehelper.so
0x0
07-22 21:17:18.424 24675 24675 D dalvikvm: Added shared lib libnativehelper.so 0
x0
07-22 21:17:18.584 24675 24675 I CydiaSubstrate: MS:Notice: Loading: /data/app/c
om.saurik.winterboard-1.apk
07-22 21:17:18.624 24675 24675 D AndroidRuntime: Calling main entry com.android.
commands.pm.Pm
07-22 21:17:18.644 24535 24547 W zipro : Unable to open zip '/data/local/tmp/L
eVioloneux.apk': Permission denied
07-22 21:17:18.644 24535 24547 D asset : failed to open Zip archive '/data/loc
al/tmp/LeVioloneux.apk'
07-22 21:17:18.654 11433 11464 D dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 0ms
07-22 21:17:18.654 24535 24547 W PackageParser: Unable to read AndroidManifest.x
ml of /data/local/tmp/LeVioloneux.apk
07-22 21:17:18.654 24535 24547 W PackageParser: java.io.FileNotFoundException: A
ndroidManifest.xml
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.res.A
ssetManager.openXmlAssetNative(Native Method)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.res.A
ssetManager.openXmlBlockAsset(AssetManager.java:487)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.res.A
ssetManager.openXmlResourceParser(AssetManager.java:455)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.content.pm.Pa
ckageParser.parsePackageLite(PackageParser.java:722)
07-22 21:17:18.654 24535 24547 W PackageParser: at com.android.defcontai
ner.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java
:169)
07-22 21:17:18.654 24535 24547 W PackageParser: at com.android.internal.
app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
07-22 21:17:18.654 24535 24547 W PackageParser: at android.os.Binder.exe
cTransact(Binder.java:367)
07-22 21:17:18.654 24535 24547 W PackageParser: at dalvik.system.NativeS
tart.run(Native Method)
07-22 21:17:18.654 24535 24547 W DefContainer: Failed to parse package
07-22 21:17:18.654 11433 11464 W ActivityManager: No content provider found for
permission revoke: file:///data/local/tmp/LeVioloneux.apk
07-22 21:17:18.744 11433 11464 D dalvikvm: GC_EXPLICIT freed 3399K, 35% free 284
71K/43784K, paused 3ms+6ms, total 89ms
07-22 21:17:18.744 24675 24675 D AndroidRuntime: Shutting down VM
07-22 21:17:18.754 24675 24679 D dalvikvm: GC_CONCURRENT freed 224K, 28% free 61
0K/840K, paused 0ms+0ms, total 1ms
07-22 21:17:18.754 24675 24681 D dalvikvm: Debugger has detached; object registr
y had 1 entries
07-22 21:17:18.754 24675 24686 I AndroidRuntime: NOTE: attach of thread 'Binder_
3' failed
07-22 21:17:19.214 24689 24689 I CydiaSubstrate: MS:Notice: Injecting: /system/b
in/toolbox
Click to expand...
Click to collapse
Change the permissions of the *.apk, it is not readable by default by world when transfered with root permission's adb in my ROM [I have no idea why default permissions are like that].
Code:
07-22 21:17:18.644 24535 24547 W zipro : Unable to open zip '/data/local/tmp/L
eVioloneux.apk': Permission denied
07-22 21:17:18.644 24535 24547 D asset : failed to open Zip archive '/data/loc
al/tmp/LeVioloneux.apk'
chmod 644 that file.
Well... I'm trying to chmod this but "file doesn't exist", even if i'm doing this just after exporting from Eclipse. Instead, I tried to copy the .apk generated from the /bin/ project path to the phone, I install it manually and it works just fine. Can't do anything else for the moment :/
Hey, I remember now. I've had this problem in the past I don't have a solution, but I have a workaround
# cd /data/local
# mv tmp tmp-old # (or # rm -rf tmp)
# mkdir /mnt/sdcard/tmp
# ln -s /mnt/sdcard/tmp ./tmp
Just move/symlink the tmp directory to the SD card. Since SD card is formatted as FAT, it does not have owners/permissions and all files created there are always readable by everyone.
Thanks ! It solved my problem !
Now I'm encountering some issues like "Segmentation fault" and stuffs but I'll try to make a new project. Tthe app installed and launched once. Nice workaround
Edit : I'm only getting "segmentation fault" in the Eclipse console ._.
Edit : In Eclipse, go to "Project", then click on "clean"... Worked for me. I hate Ecplise.
Thanks ! It solved my problem !
Now I'm encountering some issues like "Segmentation fault" and stuffs but I'll try to make a new project. Tthe app installed and launched once. Nice workaround
Edit : I'm only getting "segmentation fault" in the Eclipse console ._.
Edit : In Eclipse, go to "Project", then click on "clean"... Worked for me. I hate Ecplise.
Edit : ... Damn it. It doesn't work, it was a coincidence. It's starting to get on my nerves !
a simple yes or no would be helpful. At least on my 3 different Moto Z phones its not possible!
Maybe I will answer here myself:
Looks like I am not the only one having that problem with the "formatting sd as internal memory"
https://github.com/omnirom/android_d...thene/issues/3
So why is no one confirming this issue here. I asked for a while....
I think, that it is a very important thing, that is not working and s..o. should already have discovered it right? Its not s. th. like Emojis are not working
here is what the guy posted:
"Formatting micro sd cards fails #3
Open
odomiel opened this issue on Jan 3 · 0 comments
Comments
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
1 participant @odomiel @odomiel
odomiel commented on Jan 3
If you try to format a micro sd card as an internal memory, the memory app crashes with the following error message:
attempt to invoke virtual
method 'java.lang.String
android.os.storage.VolumeInfo.getID()' on a
null object reference"
This is exactly the same problem I have......
ischninet said:
Maybe I will answer here myself:
Looks like I am not the only one having that problem with the "formatting sd as internal memory"
https://github.com/omnirom/android_d...thene/issues/3
So why is no one confirming this issue here. I asked for a while....
I think, that it is a very important thing, that is not working and s..o. should already have discovered it right? Its not s. th. like Emojis are not working
here is what the guy posted:
"Formatting micro sd cards fails #3
Open
odomiel opened this issue on Jan 3 · 0 comments
Comments
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
1 participant @odomiel @odomiel
odomiel commented on Jan 3
If you try to format a micro sd card as an internal memory, the memory app crashes with the following error message:
attempt to invoke virtual
method 'java.lang.String
android.os.storage.VolumeInfo.getID()' on a
null object reference"
This is exactly the same problem I have......
Click to expand...
Click to collapse
Same problem here. I have the error:
Code:
java.lang.String
android.os.storage.VolumeInfo.getID()
This is on a Moto G4+. I think these are the relevant lines from logcat:
Code:
07-22 08:47:08.039 909 922 I ActivityManager: Displayed com.android.settings/.deviceinfo.StorageWizardInit: +211ms
07-22 08:47:09.358 909 2583 D MotoSensors: ALS 28
07-22 08:47:09.485 534 534 I cnss-daemon: RTM_NEWNEIGH message received: 28
07-22 08:47:09.485 534 534 I cnss-daemon: NDA_DST received: 192.168.0.177 ul: 2969610432
07-22 08:47:09.485 534 534 I cnss-daemon: NDA_LLADDR received
07-22 08:47:10.319 909 2958 E QCOM PowerHAL: Failed to acquire lock.
07-22 08:47:10.511 431 937 D SurfaceFlinger: duplicate layer name: changing com.android.settings/com.android.settings.deviceinfo.StorageWizardInit to com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
07-22 08:47:12.398 909 2958 E QCOM PowerHAL: Failed to acquire lock.
07-22 08:47:12.481 909 3230 I ActivityManager: START u0 {cmp=com.android.settings/.deviceinfo.StorageWizardFormatProgress (has extras)} from uid 1000
07-22 08:47:12.484 909 3230 E QCOM PowerHAL: Failed to acquire lock.
07-22 08:47:12.534 431 630 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=649#0
07-22 08:47:12.534 431 630 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=649#0
07-22 08:47:12.537 7896 7896 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
07-22 08:47:12.538 431 10391 W SurfaceFlinger: Attempting to set client state on removed layer: com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
07-22 08:47:12.538 431 10391 W SurfaceFlinger: Attempting to destroy on removed layer: com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
07-22 08:47:12.571 355 367 V vold : /system/bin/sgdisk
07-22 08:47:12.571 355 367 V vold : --zap-all
07-22 08:47:12.571 355 367 V vold : /dev/block/vold/disk:179,64
07-22 08:47:12.572 3187 3187 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,66}:
07-22 08:47:12.572 3187 3187 D StorageNotification: type=PRIVATE diskId=disk:179,64
07-22 08:47:12.572 3187 3187 D StorageNotification: partGuid=E1B03B53-818E-4ECB-A0B4-2A40A42E6829 mountFlags=0 mountUserId=-1
07-22 08:47:12.572 3187 3187 D StorageNotification: state=REMOVED
07-22 08:47:12.572 3187 3187 D StorageNotification: fsType= fsUuid= fsLabel=
07-22 08:47:12.572 3187 3187 D StorageNotification: path=null internalPath=null
07-22 08:47:12.690 909 3499 E QCOM PowerHAL: Failed to acquire lock.
07-22 08:47:13.796 355 367 I sgdisk : GPT data structures destroyed! You may now partition the disk using fdisk or
07-22 08:47:13.797 355 367 I sgdisk : other utilities.
07-22 08:47:13.806 355 367 D vold : Persisted key for GUID 58909d9abe6a4fb98cae092dc0b968b8
07-22 08:47:13.806 355 367 V vold : /system/bin/sgdisk
07-22 08:47:13.806 355 367 V vold : --new=0:0:+16M
07-22 08:47:13.806 355 367 V vold : --typecode=0:19A710A2-B3CA-11E4-B026-10604B889DCF
07-22 08:47:13.806 355 367 V vold : --change-name=0:android_meta
07-22 08:47:13.806 355 367 V vold : --new=0:0:-0
07-22 08:47:13.806 355 367 V vold : --typecode=0:193D1EA4-B3CA-11E4-B075-10604B889DCF
07-22 08:47:13.806 355 367 V vold : --partition-guid=0:58909d9abe6a4fb98cae092dc0b968b8
07-22 08:47:13.807 355 367 V vold : --change-name=0:android_expand
07-22 08:47:13.807 355 367 V vold : /dev/block/vold/disk:179,64
07-22 08:47:13.838 355 367 I sgdisk : Creating new GPT entries.
07-22 08:47:13.845 355 367 I sgdisk : Setting name!
07-22 08:47:13.845 355 367 I sgdisk : partNum is 0
07-22 08:47:13.845 355 367 I sgdisk : REALLY setting name!
07-22 08:47:13.846 355 367 I sgdisk : Setting name!
07-22 08:47:13.846 355 367 I sgdisk : partNum is 1
07-22 08:47:13.846 355 367 I sgdisk : REALLY setting name!
07-22 08:47:14.309 909 2583 D MotoSensors: ALS 33
07-22 08:47:14.715 909 3001 D BatteryService: Processing new values: info={.chargerAcOnline = false, .chargerUsbOnline = true, .chargerWirelessOnline = false, .maxChargingCurrent = 286863, .maxChargingVoltage = 4240240, .batteryStatus = CHARGING, .batteryHealth = GOOD, .batteryPresent = true, .batteryLevel = 84, .batteryVoltage = 4240, .batteryTemperature = 292, .batteryCurrent = -286, .batteryCycleCount = 0, .batteryFullCharge = 2630000, .batteryChargeCounter = 2531920, .batteryTechnology = Li-ion}, mBatteryLevelCritical=false, mPlugType=2
07-22 08:47:14.716 909 3001 D BatteryService: Sending ACTION_BATTERY_CHANGED. scale:100, info:{.chargerAcOnline = false, .chargerUsbOnline = true, .chargerWirelessOnline = false, .maxChargingCurrent = 286863, .maxChargingVoltage = 4240240, .batteryStatus = CHARGING, .batteryHealth = GOOD, .batteryPresent = true, .batteryLevel = 84, .batteryVoltage = 4240, .batteryTemperature = 292, .batteryCurrent = -286, .batteryCycleCount = 0, .batteryFullCharge = 2630000, .batteryChargeCounter = 2531920, .batteryTechnology = Li-ion}
07-22 08:47:14.716 909 3001 D BatteryService: mLastMaxChargingCurrent = 286863 mLastMaxChargingVoltage = 4240240 maxChargingMicroWatt = 1212640
07-22 08:47:14.721 4174 4252 W QCNEJ : |CORE| CNE received unexpected action: android.intent.action.BATTERY_CHANGED
07-22 08:47:14.915 355 367 I sgdisk : The operation has completed successfully.
07-22 08:47:14.917 355 363 D vold : Disk at 179:64 changed
07-22 08:47:14.919 355 363 V vold : /system/bin/sgdisk
07-22 08:47:14.919 355 363 V vold : --android-dump
07-22 08:47:14.920 355 363 V vold : /dev/block/vold/disk:179,64
07-22 08:47:14.981 355 363 V vold : DISK gpt A3459EC3-4B21-4E26-9EB7-55499980E9D4
07-22 08:47:14.981 355 363 V vold :
07-22 08:47:14.981 355 363 V vold : PART 1 19A710A2-B3CA-11E4-B026-10604B889DCF D86DEB87-8EFB-4DBF-9760-789BA2BFDA29 android_meta
07-22 08:47:14.981 355 363 V vold :
07-22 08:47:14.981 355 363 V vold : PART 2 193D1EA4-B3CA-11E4-B075-10604B889DCF 58909D9A-BE6A-4FB9-8CAE-092DC0B968B8 android_expand
07-22 08:47:14.981 355 363 V vold :
07-22 08:47:14.982 355 363 D vold : Found key for GUID 58909d9abe6a4fb98cae092dc0b968b8
07-22 08:47:14.982 355 363 D vold : Device just partitioned; silently formatting
07-22 08:47:14.983 355 363 E Cryptfs : Cannot remove dm-crypt device
07-22 08:47:14.985 355 363 I Cryptfs : Extra parameters for dm_crypt: (null)
07-22 08:47:14.985 355 363 I Cryptfs : target_type = crypt
07-22 08:47:14.985 355 363 I Cryptfs : real_blk_name = /dev/block/vold/private:179,66, extra_params = (null)
07-22 08:47:16.572 909 2583 E MotoSensors: Proximity covered 1
07-22 08:47:16.877 909 2583 D MotoSensors: ALS 23
07-22 08:47:17.484 534 534 I cnss-daemon: RTM_NEWNEIGH message received: 28
07-22 08:47:17.484 534 534 E cnss-daemon: Stale or unreachable neighbors, ndm state: 4
07-22 08:47:19.917 909 5295 W StorageManagerService: Thread Binder:909_E still waiting for partitionPrivate...
07-22 08:47:20.016 355 363 E Cryptfs : Cannot load dm-crypt mapping table.
07-22 08:47:20.016 355 363 E vold : private:179,66 failed to setup cryptfs: Invalid argument
07-22 08:47:20.017 355 363 D vold : Resolved auto to f2fs
07-22 08:47:20.017 355 363 V vold : /system/bin/make_f2fs
07-22 08:47:20.017 355 363 V vold : -f
07-22 08:47:20.018 355 363 V vold : -d1
07-22 08:47:20.018 355 363 V vold : -O
07-22 08:47:20.018 355 363 V vold : verity
07-22 08:47:20.018 355 363 V vold : /dev/block/dm-0
07-22 08:47:20.075 355 363 I make_f2fs:
07-22 08:47:20.076 355 363 I make_f2fs: F2FS-tools: mkfs.f2fs Ver: 1.10.0 (2018-01-30)
07-22 08:47:20.076 355 363 I make_f2fs:
07-22 08:47:20.076 355 363 I make_f2fs: Info: Disable heap-based policy
07-22 08:47:20.076 355 363 I make_f2fs: Info: Debug level = 1
07-22 08:47:20.076 355 363 I make_f2fs: Info: Label =
07-22 08:47:20.076 355 363 I make_f2fs: Info: Trim is enabled
07-22 08:47:20.077 355 363 I make_f2fs: Info: No support kernel version!
07-22 08:47:20.077 355 363 I make_f2fs: Info: Segments per section = 1
07-22 08:47:20.078 355 363 I make_f2fs: Info: Sections per zone = 1
07-22 08:47:20.078 355 363 I make_f2fs: Info: sector size = 512
07-22 08:47:20.079 355 363 I make_f2fs: Info: total sectors = 0 (0 MB)
07-22 08:47:20.079 355 363 I make_f2fs: Info: zone aligned segment0 blkaddr: 512
07-22 08:47:20.079 355 363 I make_f2fs: Error: Device size is not sufficient for F2FS volume
07-22 08:47:20.079 355 363 I make_f2fs: Error: Failed to prepare a super block!!!
07-22 08:47:20.079 355 363 I make_f2fs: Error: Could not format the device!!!
07-22 08:47:20.079 355 363 I make_f2fs: make_f2fs terminated by exit(255)
07-22 08:47:20.080 355 363 E vold : private:179,66 failed to format: Invalid argument
07-22 08:47:20.084 355 363 E Cryptfs : Cannot remove dm-crypt device
07-22 08:47:20.086 355 363 I Cryptfs : Extra parameters for dm_crypt: (null)
07-22 08:47:20.087 355 363 I Cryptfs : target_type = crypt
07-22 08:47:20.087 355 363 I Cryptfs : real_blk_name = /dev/block/vold/private:179,66, extra_params = (null)
07-22 08:47:20.645 534 534 I cnss-daemon: RTM_NEWNEIGH message received: 28
07-22 08:47:20.645 534 534 E cnss-daemon: Stale or unreachable neighbors, ndm state: 16
07-22 08:47:21.165 534 534 I cnss-daemon: RTM_NEWNEIGH message received: 28
07-22 08:47:21.165 534 534 E cnss-daemon: Stale or unreachable neighbors, ndm state: 16
07-22 08:47:24.918 909 5295 W StorageManagerService: Thread Binder:909_E still waiting for partitionPrivate...
07-22 08:47:25.119 355 363 E Cryptfs : Cannot load dm-crypt mapping table.
07-22 08:47:25.119 355 363 E vold : private:179,66 failed to setup cryptfs: Invalid argument
07-22 08:47:25.124 3187 3187 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,66}:
07-22 08:47:25.124 3187 3187 D StorageNotification: type=PRIVATE diskId=disk:179,64
07-22 08:47:25.124 3187 3187 D StorageNotification: partGuid=58909D9A-BE6A-4FB9-8CAE-092DC0B968B8 mountFlags=0 mountUserId=-1
07-22 08:47:25.124 3187 3187 D StorageNotification: state=UNMOUNTED
07-22 08:47:25.124 3187 3187 D StorageNotification: fsType=null fsUuid=null fsLabel=null
07-22 08:47:25.124 3187 3187 D StorageNotification: path=null internalPath=null
07-22 08:47:25.124 7896 10833 W StorageSettings: Missing mounted volume of type 1 hosted by disk disk:179,64; trying again
07-22 08:47:25.127 355 362 V vold : /system/bin/blkid
07-22 08:47:25.128 355 362 V vold : -c
07-22 08:47:25.128 355 362 V vold : /dev/null
07-22 08:47:25.128 355 362 V vold : -s
07-22 08:47:25.128 355 362 V vold : TYPE
07-22 08:47:25.128 355 362 V vold : -s
07-22 08:47:25.128 355 362 V vold : UUID
07-22 08:47:25.128 355 362 V vold : -s
07-22 08:47:25.128 355 362 V vold : LABEL
07-22 08:47:25.128 355 362 V vold : /dev/block/dm-0
07-22 08:47:25.130 3187 3187 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,66}:
07-22 08:47:25.130 3187 3187 D StorageNotification: type=PRIVATE diskId=disk:179,64
07-22 08:47:25.130 3187 3187 D StorageNotification: partGuid=58909D9A-BE6A-4FB9-8CAE-092DC0B968B8 mountFlags=0 mountUserId=-1
07-22 08:47:25.130 3187 3187 D StorageNotification: state=CHECKING
07-22 08:47:25.130 3187 3187 D StorageNotification: fsType=null fsUuid=null fsLabel=null
07-22 08:47:25.130 3187 3187 D StorageNotification: path=null internalPath=null
07-22 08:47:25.172 909 2583 D MotoSensors: ALS 18
07-22 08:47:25.193 355 362 E vold : Failed to pclose /system/bin/blkid -c /dev/null -s TYPE -s UUID -s LABEL /dev/block/dm-0 : No such file or directory
07-22 08:47:25.193 355 362 W vold : blkid failed to identify /dev/block/dm-0
07-22 08:47:25.194 355 362 E vold : private:179,66 failed to read metadata
07-22 08:47:25.196 909 2963 E StorageManagerService:
07-22 08:47:25.196 909 2963 E StorageManagerService: android.os.ServiceSpecificException: (code -5)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.Parcel.createException(Parcel.java:1964)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.Parcel.readException(Parcel.java:1918)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.Parcel.readException(Parcel.java:1868)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.IVold$Stub$Proxy.mount(IVold.java:773)
07-22 08:47:25.196 909 2963 E StorageManagerService: at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:622)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.Handler.dispatchMessage(Handler.java:106)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.Looper.loop(Looper.java:193)
07-22 08:47:25.196 909 2963 E StorageManagerService: at android.os.HandlerThread.run(HandlerThread.java:65)
07-22 08:47:25.197 3187 3187 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,66}:
07-22 08:47:25.197 3187 3187 D StorageNotification: type=PRIVATE diskId=disk:179,64
07-22 08:47:25.197 3187 3187 D StorageNotification: partGuid=58909D9A-BE6A-4FB9-8CAE-092DC0B968B8 mountFlags=0 mountUserId=-1
07-22 08:47:25.197 3187 3187 D StorageNotification: state=UNMOUNTABLE
07-22 08:47:25.197 3187 3187 D StorageNotification: fsType= fsUuid= fsLabel=
07-22 08:47:25.197 3187 3187 D StorageNotification: path=null internalPath=null
07-22 08:47:25.233 909 925 I ActivityManager: Start proc 10871:com.android.externalstorage/u0a58 for broadcast com.android.externalstorage/.MountReceiver
07-22 08:47:25.254 10871 10871 E externalstorag: Not starting debugger since process cannot load the jdwp agent.
07-22 08:47:25.331 10871 10871 D ExternalStorage: After updating volumes, found 2 active roots
07-22 08:47:25.348 909 4267 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
07-22 08:47:25.350 909 4267 I ActivityManager: Killing 10254:com.google.android.gms.ui/u0a50 (adj 906): empty #17
07-22 08:47:25.339 10871 10871 I chatty : uid=10058(com.android.externalstorage) identical 1 line
07-22 08:47:25.346 10871 10871 D ExternalStorage: After updating volumes, found 2 active roots
07-22 08:47:25.351 909 926 W libprocessgroup: kill(-10254, 9) failed: No such process
07-22 08:47:25.351 909 923 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
07-22 08:47:25.390 390 390 I Zygote : Process 10254 exited due to signal (9)
07-22 08:47:25.397 909 926 W libprocessgroup: kill(-10254, 9) failed: No such process
07-22 08:47:25.397 909 926 I libprocessgroup: Successfully killed process cgroup uid 10050 pid 10254 in 46ms
07-22 08:47:25.418 7896 10833 W StorageSettings: Missing mounted volume of type 1 hosted by disk disk:179,64; trying again
07-22 08:47:28.709 493 493 W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
07-22 08:47:28.292 7896 10833 I chatty : uid=1000(system) com.android.settings identical 10 lines
07-22 08:47:28.585 7896 10833 W StorageSettings: Missing mounted volume of type 1 hosted by disk disk:179,64; trying again
07-22 08:47:28.713 4078 10880 I Authzen : [DeviceStateSyncManager] The server is in sync with current state. Nothing to do
07-22 08:47:28.719 493 493 W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
07-22 08:47:28.720 909 925 I ActivityManager: Start proc 10890:com.sonelli.juicessh/u0a151 for broadcast com.sonelli.juicessh/.services.CloudSync$Receiver
Thank you very much! So it is not only a Moto Z issue. All others using their sd card as external storage?
i use my card as external storage, aswell as my microusb flash drives, they are also external storage
It is working now since the the build from 28.07.2019! Problem solved, thank you!
will there be new weekly updates of this great rom?
Is there a way to get the xperia-original symbols ported to LOS?
I dont like the LOS-symbols ( for example the signal-strength).
muebbel said:
Is there a way to get the xperia-original symbols ported to LOS?
I dont like the LOS-symbols ( for example the signal-strength).
Click to expand...
Click to collapse
I assume you'd just need to change a few xmls from SystemUI\res\drawable from one to the other. So you'd have to decompile both SystemUI apks and compare the xmls, make changes if needed, recompile and test.
1. decompiled
2. cp ORIG/res/drawable/stats* LOS/res/drawable/
3. recompiled without problems
4. replace /system/priv-app/SystemUI/SystemUI.apk with the new new
5. reboot
6. phone stuck in "prepare for startup"
7. going back to TWRP replace new compiled SystemUI.apk with old from Backup
8 reboot phone
9. nothing to see in the display (but logcat looks like everything works)
10. need to wipe /data else the phone stuck "somewhere"
It seems i missed something here (wipe cache dont help).. any suggestions?
muebbel said:
1. decompiled
2. cp ORIG/res/drawable/stats* LOS/res/drawable/
3. recompiled without problems
4. replace /system/priv-app/SystemUI/SystemUI.apk with the new new
5. reboot
6. phone stuck in "prepare for startup"
7. going back to TWRP replace new compiled SystemUI.apk with old from Backup
8 reboot phone
9. nothing to see in the display (but logcat looks like everything works)
10. need to wipe /data else the phone stuck "somewhere"
It seems i missed something here (wipe cache dont help).. any suggestions?
Click to expand...
Click to collapse
Welcome to modding! Did you copy the original AndroidManifest.xml and META-INF from the old apk into the new after compiling the new one? Give this THREAD a read if not.
ahh i isee, in this howto u going to decompile the framework-res.apk, i just do it with the SystemUi.apk (xz1c). Lets give a try
It seems only modify some XMLs isnt the way to go... because in the SystemUI.apk and framework-res.apk from the LOS are all the 'res/drawable-hdpi/stat_sys_signal*'.png things missing...
The Question for me is: can i just copy the stat_sys_signal*.png files into the LOS SystemUI.apk and recompile it? :/
Hmmm, everything was done fine so far... (after dd if=SystemUI.apk there was new symbols).
There was some errors related to systemui after dd .. but seems to work
06-09 02:41:23.748 4939 4964 D InstalledAppProviderSer: insertAppIntoDb com.android.systemui
06-09 02:42:35.648 2258 2258 I chatty : uid=10047(com.android.systemui) identical 1 line
06-09 02:56:39.520 2258 2258 F libc : Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x70a0b45bbc in tid 2258 (ndroid.systemui), pid 2258 (ndroid.systemui)
06-09 02:56:39.611 5209 5209 F DEBUG : pid: 2258, tid: 2258, name: ndroid.systemui >>> com.android.systemui <<<
06-09 02:56:40.188 1403 1765 W InputDispatcher: channel 'fc9237e com.android.systemui.ImageWallpaper (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-09 02:56:40.188 1403 1765 E InputDispatcher: channel 'fc9237e com.android.systemui.ImageWallpaper (server)' ~ Channel is unrecoverably broken and will be disposed!
06-09 02:56:40.198 1403 2456 D NotificationListeners: Removing active service ComponentInfo{com.android.systemui/com.android.systemui.statusbar.NotificationListener}
06-09 02:56:40.200 1403 1403 W WallpaperManagerService: Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
06-09 02:56:40.200 1403 4001 I ActivityManager: Process com.android.systemui (pid 2258) has died: pers BFGS
06-09 02:56:40.206 1403 4001 W ActivityManager: Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
06-09 02:56:40.206 1403 4001 W ActivityManager: Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 0ms
06-09 02:56:40.206 1403 4001 W ActivityManager: Scheduling restart of crashed service com.android.systemui/.keyguard.KeyguardService in 0ms
06-09 02:56:40.215 1403 4001 W ActivityManager: Re-adding persistent process ProcessRecord{f307f7f 2258:com.android.systemui/u0a47}
06-09 02:56:40.225 1403 1692 W WindowManager: Failed to report 'resized' to the client of Window{fc9237e u0 com.android.systemui.ImageWallpaper}, removing this window.
06-09 02:56:40.228 1403 1692 W InputDispatcher: Attempted to unregister already unregistered input channel 'fc9237e com.android.systemui.ImageWallpaper (server)'
06-09 02:56:40.305 1403 1697 I ActivityManager: Start proc 5220:com.android.systemui/u0a47 for restart com.android.systemui
06-09 02:56:40.360 5220 5220 E ndroid.systemu: Dex checksum does not match for dex: /system/priv-app/SystemUI/SystemUI.apk.Expected: 1801530101, actual: 1791375372
06-09 02:56:40.593 5220 5220 W AlarmManager: Unrecognized alarm listener com.android.systemui.keygu[email protected]cf2ccef
06-09 02:56:40.631 5220 5220 V SystemUIService: Starting SystemUI services for user 0.
06-09 02:56:40.642 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.Dependency took to complete: 10ms
06-09 02:56:40.667 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.util.NotificationChannels took to complete: 25ms
06-09 02:56:40.673 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.statusbar.CommandQueue$CommandQueueStart took to complete: 6ms
06-09 02:56:40.800 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.keyguard.KeyguardViewMediator took to complete: 127ms
06-09 02:56:41.000 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.recents.Recents took to complete: 200ms
06-09 02:56:41.126 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.volume.VolumeUI took to complete: 126ms
06-09 02:56:41.193 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.stackdivider.Divider took to complete: 67ms
06-09 02:56:41.931 1403 5087 W ActivityManager: Receiver with filter [email protected] already registered for pid 5220, callerPackage is com.android.systemui
06-09 02:56:41.990 5220 5220 V WifiManager: registerSoftApCallback: callb[email protected]a403528, handler=Handler (android.os.Handler) {2790241}
06-09 02:56:42.099 5220 5220 V WifiManager: registerSoftApCallback: callb[email protected]a403528, handler=Handler (android.os.Handler) {2790241}
06-09 02:56:42.173 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.SystemBars took to complete: 979ms
06-09 02:56:42.194 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.usb.StorageNotification took to complete: 21ms
06-09 02:56:42.213 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.power.PowerUI took to complete: 18ms
06-09 02:56:42.218 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.media.RingtonePlayer took to complete: 5ms
06-09 02:56:42.221 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.keyboard.KeyboardUI took to complete: 3ms
06-09 02:56:42.260 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.pip.PipUI took to complete: 39ms
06-09 02:56:42.263 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.shortcut.ShortcutKeyDispatcher took to complete: 2ms
06-09 02:56:42.263 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.VendorServices took to complete: 1ms
06-09 02:56:42.270 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.util.leak.GarbageMonitor$Service took to complete: 6ms
06-09 02:56:42.272 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.LatencyTester took to complete: 2ms
06-09 02:56:42.277 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.globalactions.GlobalActionsComponent took to complete: 5ms
06-09 02:56:42.287 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.ScreenDecorations took to complete: 9ms
06-09 02:56:42.304 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.fingerprint.FingerprintDialogImpl took to complete: 17ms
06-09 02:56:42.306 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.fingerprint.FODCircleViewImpl took to complete: 2ms
06-09 02:56:42.308 5220 5220 D SystemUIBootTiming: StartServicescom.android.systemui.SliceBroadcastRelayHandler took to complete: 2ms
06-09 02:56:42.309 5220 5220 D SystemUIBootTiming: StartServices took to complete: 1677ms
06-09 02:56:44.059 5220 5220 I chatty : uid=10047(com.android.systemui) identical 7 lines
06-09 02:57:25.649 5220 5235 W ndroid.systemu: Checksum mismatch for dex SystemUI.apk
and after a reboot:
[email protected] ~ $ grep -i systemui /tmp/foo4
06-09 03:01:50.283 1364 1669 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.CONFIGURE_WIFI_DISPLAY in package: com.android.systemui at: Binary XML file line #134
06-09 03:01:50.292 1364 1364 I PackageManager: /system/priv-app/SystemUI changed; collecting certs
06-09 03:01:50.310 1364 1364 W PackageManager: Failed to scan /system/priv-app/SystemUI: Failed to collect certificates from /system/priv-app/SystemUI/SystemUI.apk
06-09 03:01:50.527 1364 1364 W PackageManager: System package com.android.systemui no longer exists; it's data will be wiped
06-09 03:01:50.536 1364 1364 W PackageManager: Removing dangling permission: com.android.systemui.permission.SELF from package com.android.systemui
06-09 03:01:50.536 1364 1364 W PackageManager: Removing dangling permission: com.android.systemui.permission.PLUGIN from package com.android.systemui
06-09 03:01:50.536 1364 1364 W PackageManager: Removing dangling permission: android.permission.systemui.IDENTITY from package com.android.systemui
06-09 03:01:50.568 1364 1364 W PackageManager: Destroying /data/user_de/0/com.android.systemui due to: com.android.server.pm.PackageManagerException: Package com.android.systemui is unknown
06-09 03:01:51.236 1364 1364 W BluetoothManagerService: Unable to resolve SystemUI's UID.
06-09 03:01:51.236 1364 1364 W BluetoothManagerService: android.content.pm.PackageManager$NameNotFoundException: com.android.systemui
06-09 03:01:51.570 1364 1364 E WifiConfigManager: Unable to resolve SystemUI's UID.
06-09 03:01:51.732 1364 1364 E RankingHelper: createDefaultChannelIfNeeded - Exception: android.content.pm.PackageManager$NameNotFoundException: com.android.systemui
06-09 03:01:52.463 1364 1364 W ActivityManager: Unable to start service Intent { cmp=com.android.systemui/.keyguard.KeyguardService } U=0: not found
06-09 03:01:52.464 1364 1364 I SystemServer: StartSystemUI
06-09 03:01:52.465 1364 1364 W ActivityManager: Unable to start service Intent { flg=0x100 cmp=com.android.systemui/.SystemUIService } U=0: not found
06-09 03:01:52.465 1364 1364 W ActivityManager: Unable to start service Intent { flg=0x100 cmp=com.android.systemui/.keyguard.KeyguardService } U=0: not found
06-09 03:01:52.465 1364 1364 V KeyguardServiceDelegate: *** Keyguard: can't bind to ComponentInfo{com.android.systemui/com.android.systemui.keyguard.KeyguardService}
06-09 03:01:52.466 1364 1364 D SystemServerTiming: StartSystemUI took to complete: 1ms
06-09 03:01:52.600 1364 1364 V WallpaperManagerService: bindWallpaperComponentLocked: componentName=ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
06-09 03:01:52.601 1364 1364 W WallpaperManagerService: Attempted wallpaper ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper} is unavailable
06-09 03:01:52.601 1364 1364 W WallpaperManagerService: Attempted wallpaper ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper} is unavailable
06-09 03:01:52.613 2020 2020 W BluetoothAdapterService: Unable to resolve SystemUI's UID.
06-09 03:01:52.613 2020 2020 W BluetoothAdapterService: android.content.pm.PackageManager$NameNotFoundException: com.android.systemui
06-09 03:02:23.301 1364 1482 W PackageManager: Destroying /data/user/0/com.android.systemui due to: com.android.server.pm.PackageManagerException: Package com.android.systemui is unknown
But i dont see any mistake? :/
muebbel said:
It seems only modify some XMLs isnt the way to go... because in the SystemUI.apk and framework-res.apk from the LOS are all the 'res/drawable-hdpi/stat_sys_signal*'.png things missing...
The Question for me is: can i just copy the stat_sys_signal*.png files into the LOS SystemUI.apk and recompile it? :/
Click to expand...
Click to collapse
The icons aren't pngs anymore, it's just the xml files you need to concentrate on, and open them up to compare the code.
wtf, why its so hard to change this signal_cluster icons:
{
"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"
}
in this:
i cant compare the XML's of the 2 ROMs, because the stock XZ1c uses PNG's, so i guess i need to copy this PNGs. :/
muebbel said:
because the stock XZ1c uses PNG's
Click to expand...
Click to collapse
No, they do not, as I said above, pngs haven't been used for a long time. Look at the naming of the xmls, that usually gives you a clue. It's not something I've changed so giving suggestions as to what I would do if I looked to change them.
muebbel said:
i cant compare the XML's of the 2 ROMs, because the stock XZ1c uses PNG's, so i guess i need to copy this PNGs. :/
Click to expand...
Click to collapse
Any joy? https://developer.android.com/guide/topics/graphics/vector-drawable-resources
I'm not a developer myself, but I know you can change status bar icons with substratum themes if you have used that before.
Here is the link to substratum info:
https://www.xda-developers.com/substratum-hub/
And a theme that has similar notification icons to the Xperia ones:
https://play.google.com/store/apps/details?id=liv.white.substratum
SXUsr said:
Any joy? https://developer.android.com/guide/topics/graphics/vector-drawable-resources
Click to expand...
Click to collapse
I have a few problems with the xz1c and the LOS16 from modpunk, so i decided to put the "style" topic at the end of the queue.
MDomokos said:
I'm not a developer myself, but I know you can change status bar icons with substratum themes if you have used that before.
Here is the link to substratum info:
https://www.xda-developers.com/substratum-hub/
And a theme that has similar notification icons to the Xperia ones:
https://play.google.com/store/apps/details?id=liv.white.substratum
Click to expand...
Click to collapse
Substratum for Pie isnt a solution, because this needs root, but root kills my "banking app" (even with magisk hide).
muebbel said:
Substratum for Pie isnt a solution, because this needs root, but root kills my "banking app" (even with magisk hide).
Click to expand...
Click to collapse
Ah, I see.
Hopefully you can get the icons working. Keep us posted.
Hi,
when I start the data encryption, the green droid appears for a second, then the UI restarts and everything is like before - unencrypted.
I've got this output in logcat:
Code:
07-10 23:24:55.200 5357 6475 I ActivityTaskManager: START u0 {cmp=com.android.settings/.CryptKeeperConfirm$Blank (has extras)} from uid 1000
07-10 23:24:55.201 5039 5082 W ANDR-PERF-LM: FeatureState: readState() 149: warning: appName is NULL, returning default State
07-10 23:24:55.201 5039 5082 I chatty : uid=0(root) lmCoreThread identical 1 line
07-10 23:24:55.201 5039 5082 W ANDR-PERF-LM: FeatureState: readState() 149: warning: appName is NULL, returning default State
07-10 23:24:55.206 6014 6014 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
07-10 23:24:55.211 5734 5734 D StatusBar: disable<E!I!A!S!B!H!R!c S!> disable2<q i n >
07-10 23:24:55.211 5734 5734 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{2395e09 V.E...... ........ 0,0-1080,96} canPanelBeCollapsed(): false
07-10 23:24:55.211 5734 5734 D InterruptionStateProvider: heads up is disabled
07-10 23:24:55.211 5734 5734 D InterruptionStateProvider: dismissing any existing heads up notification on disable event
07-10 23:24:55.234 5152 7579 D audio_hw_primary: start_output_stream: pcm_prepare
07-10 23:24:55.234 5152 7579 D audio_hw_primary: start_output_stream: exit
07-10 23:24:55.234 5152 7579 D audio_hw_primary: check_and_set_karaok_parameters: is karaok rx device 0, is karaok tx device 0
07-10 23:24:55.234 5152 7579 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
07-10 23:24:55.234 5152 7579 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 12 snd_dev 2
07-10 23:24:55.234 5152 7579 W qc_adm : margin check: adm_request_focus_v2_1(p) failed diff -1296
07-10 23:24:55.234 5152 7579 W qc_adm : margin check: adm_abandon_focus(p) failed diff -1296
07-10 23:24:55.402 5039 5039 W /vendor/bin/hw/[email protected]: type=1400 audit(0.0:806): avc: denied { search } for comm=41646170744C61756E636820566D name="5385" dev="proc" ino=76201 scontext=u:r:hal_perf_default:s0 tcontext=u:r:system_server:s0 tclass=dir permissive=0
07-10 23:24:55.402 5039 5039 W /vendor/bin/hw/[email protected]: type=1400 audit(0.0:807): avc: denied { search } for comm=41646170744C61756E636820566D name="5384" dev="proc" ino=76199 scontext=u:r:hal_perf_default:s0 tcontext=u:r:system_server:s0 tclass=dir permissive=0
07-10 23:24:55.913 634 2525 D vold : fdeEnable(3, *, 0)
07-10 23:24:55.914 634 2525 D vold : !fscrypt_is_native, spawning fdeEnableInternal
07-10 23:24:55.915 634 8102 E Cryptfs : Unexpected value for crypto key location
07-10 23:24:55.915 634 8102 E Cryptfs : Cannot get size of block device
I tried several roms (AICP, OmniRom, BlissRom), all of them crash with the same error from cryptfs.
Before installing the first rom (coming from Stock MIUI 11.0.6 European) I deleted the data partition (not just wipe) using twrp-3.4.0-0-raphael-mauronofrio.img. After that I had to flash a new vendor image fw-vendor_raphael_miui_RAPHAELEEAGlobal_V12.0.1.0.QFKEUXM_68e06ebeaa_10.0.zip in order to be able to install AICP.
All three roms seem to be working so far, but all three of them without encryption.
Because I read somewhere that there have been error with the correct size of the data partition, maybe someone with working encryption can get me his block count with tune2fs from sda31. Mine is 29136891.
Any suggestions on how to fix this problem are highly welcome.
Regards,
Daniel