[Guide] Moto G5s(xt179x) stock rom on Qingyou(xt1799-2) - Moto G5S Guides, News, & Discussion

DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
Make sure your device is charged above 80%.
We recommend creating a backup of all your important files before beginning with this process.
HOW TO:
1) Download Montana_Retcn(i updated to original zui) and Montana last firmware in
Lolinet
2) Install adb and fastboot
3) Unlock Bootloader, on my Qingyou i just put it in fastboot mode(vol down + power) then connect to PC, open terminal and
Code:
fastboot flashing unlock
4) Extract Montana_retcn firmware and extract RSD-Lite-Mac-Linux and put the files on the firmware folder
5) Flash Montana_Retcn using
Code:
./rsd-flash.sh flashfile.xml
6) Boot your phone and reboot to fastboot again
7) Extract Montana firmware and open terminal
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
8) Boot again and put this on the fastboot mode again
9) Flash Twrp recovery
Code:
fastboot flash recovery twrp.img
10) Flash RemoveWarningLogo
Code:
fastboot flash logo removewarninglogo.bin
11) Go to recovery and flash MONTANA_RETCN_DRIVERS.zip
12) Just Boot your phone and everything is now working
Special Thanks for @Kamin4ri
Sorry for the bad english and for the bad guide , I hope it helps...

wow... thanks a lot
can somebody to make video guid?

jvfigueredo said:
DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
Make sure your device is charged above 80%.
We recommend creating a backup of all your important files before beginning with this process.
HOW TO:
1) Download Montana_Retcn(i updated to original zui) and Montana last firmware in
Lolinet
2) Install adb and fastboot
3) Unlock Bootloader, on my Qingyou i just put it in fastboot mode(vol down + power) then connect to PC, open terminal and
Code:
fastboot flashing unlock
4) Extract Montana_retcn firmware and extract RSD-Lite-Mac-Linux and put the files on the firmware folder
5) Flash Montana_Retcn using
Code:
./rsd-flash.sh flashfile.xml
6) Boot your phone and reboot to fastboot again
7) Extract Montana firmware and open terminal
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
8) Boot again and put this on the fastboot mode again
9) Flash Twrp recovery
Code:
fastboot flash recovery twrp.img
10) Flash RemoveWarningLogo
Code:
fastboot flash logo removewarninglogo.bin
11) Go to recovery and flash MONTANA_RETCN_DRIVERS.zip
12) Just Boot your phone and everything is now working
Special Thanks for @Kamin4ri
Sorry for the bad english and for the bad guide , I hope it helps...
Click to expand...
Click to collapse
what version of bootloader do you have now?

jahhh1 said:
what version of bootloader do you have now?
Click to expand...
Click to collapse
The last of Montana_retcn its 6(i hope), dont flash bootloader of Montana its can brick your device.

jvfigueredo said:
The last of Montana_retcn its 6(i hope), dont flash bootloader of Montana its can brick your device.
Click to expand...
Click to collapse
so, now you have BC06 after all?
how a new firmware recognize RAM (3 or 4 Gb) and camera (5 or 16 Mp)?
can you make some screenshots with system information?
maybe did you detect some bugs?

jahhh1 said:
so, now you have BC06 after all?
how a new firmware recognize RAM (3 or 4 Gb) and camera (5 or 16 Mp)?
can you make some screenshots with system information?
maybe did you detect some bugs?
Click to expand...
Click to collapse
Yes BC06, the ram recognize 4gb but the câmera 2mp, not detect bugs except the mp of câmera... Before i will search a solution for the little bug

jvfigueredo said:
Yes BC06, the ram recognize 4gb but the câmera 2mp, not detect bugs except the mp of câmera... Before i will search a solution for the little bug
Click to expand...
Click to collapse
make a photo by front camera and chek properties of picture
maybe it is just bug of recognizing , and photos have 16 mp resolution
even if that bug is present it is big problem at all

Moto g5s xt1799-2 "HardBrick"
jvfigueredo said:
The last of Montana_retcn its 6(i hope), dont flash bootloader of Montana its can brick your device.
Click to expand...
Click to collapse
friend, I have an equal, XT1799-2 came with the rom of the zui, when updating he did not call him "Hardbrick", you could help me return him even if it is for rom da zui.

ggjandson said:
friend, I have an equal, XT1799-2 came with the rom of the zui, when updating he did not call him "Hardbrick", you could help me return him even if it is for rom da zui.
Click to expand...
Click to collapse
You don't enter on fastboot? Only a led light and turn off?

jahhh1 said:
make a photo by front camera and chek properties of picture
maybe it is just bug of recognizing , and photos have 16 mp resolution
even if that bug is present it is big problem at all
Click to expand...
Click to collapse
Nop, its 3.0mp...
I do not know how to fix this, I need some advice on how I can fix this.

Moto g5s xt1799-2 "HardBrick"
jvfigueredo said:
You don't enter on fastboot? Only a led light and turn off?
Click to expand...
Click to collapse
I can not enter fastboot "Botao" - "+ power", just led flashing when I connect to the usb cable, the computer recognizes as cualcomm qdloader 9008.

ggjandson said:
I can not enter fastboot "Botao" - "+ power", just led flashing when I connect to the usb cable, the computer recognizes as cualcomm qdloader 9008.
Click to expand...
Click to collapse
You can test this
https://forum.xda-developers.com/moto-g5s/how-to/blank-flash-montana-t3765150

Moto g5s xt1799-2 "HardBrick"
jvfigueredo said:
You can test this
https://forum.xda-developers.com/moto-g5s/how-to/blank-flash-montana-t3765150
Click to expand...
Click to collapse
mine is xt1799-2 4gb of ram and 16mp of rear and front camera, do you think it will not have problem with this rom xt1794?

ggjandson said:
mine is xt1799-2 4gb of ram and 16mp of rear and front camera, do you think it will not have problem with this rom xt1794?
Click to expand...
Click to collapse
You just use the blank file on the sdcard to make your device boot and put It on fastboot mode and flash the last montanaretcn ROM, i don't have a sdcard of 32gb tô make this filé for you, just try of 1794 It can work, the gpt of its the same i hope

Thanks for the Guide, everything Works Fine, except the wi-fi, anyway to fix It? I have a 4gb ram 32gb storage version oficial 1799-2.

Moto g5s xt1799-2 "HardBrick"
rodrigober said:
Thanks for the Guide, everything Works Fine, except the wi-fi, anyway to fix It? I have a 4gb ram 32gb storage version oficial 1799-2.
Click to expand...
Click to collapse
yours too happened hardbrick? I still can not solve it, could you help me?

rodrigober said:
Thanks for the Guide, everything Works Fine, except the wi-fi, anyway to fix It? I have a 4gb ram 32gb storage version oficial 1799-2.
Click to expand...
Click to collapse
Yes, sorry for it, i will research some files and make it works, i make this work on mine but don't remember what files i flash

jvfigueredo said:
Yes, sorry for it, i will research some files and make it works, i make this work on mine but don't remember what files i flash
Click to expand...
Click to collapse
Ok, thank you Very much!

rodrigober said:
Ok, thank you Very much!
Click to expand...
Click to collapse
I updated the MONTANA_RETCN_DRIVERS.zip file.
Could you please reinstall the rom stock of the montana and flash this via TWRP Recovery and tell me if your wifi works?
I'm trying to make the front camera recognize the 16mp but it's only recognizing 4mp, if I change a /lib/hw/camera.msm8937.so by the motanaretcn the camera does not open, I think the problem is exactly that file, but I can not make it work by using this file simply from forced closing.
Could someone help me or advise me?
Logcat
Code:
--------- beginning of crash
09-11 19:44:00.954 4943 4943 E AndroidRuntime: FATAL EXCEPTION: main
09-11 19:44:00.954 4943 4943 E AndroidRuntime: Process: com.motorola.cameraone, PID: 4943
09-11 19:44:00.954 4943 4943 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.motorola.camera.CameraApp: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5447)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.-wrap2(ActivityThread.java)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1558)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6165)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.CameraApp.getCameraInfo(CameraApp.java:194)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.settings.ShutterToneSetting.isCameraSoundForced(ShutterToneSetting.java:63)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.settings.ShutterToneSetting.<init>(ShutterToneSetting.java:23)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.settings.AppSettings.<init>(AppSettings.java:39)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.CameraApp.onCreate(CameraApp.java:83)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1046)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5444)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: ... 8 more

ggjandson said:
yours too happened hardbrick? I still can not solve it, could you help me?
Click to expand...
Click to collapse
I dont had no problem with hardbrick.
jvfigueredo said:
I updated the MONTANA_RETCN_DRIVERS.zip file.
Could you please reinstall the rom stock of the montana and flash this via TWRP Recovery and tell me if your wifi works?
I'm trying to make the front camera recognize the 16mp but it's only recognizing 4mp, if I change a /lib/hw/camera.msm8937.so by the motanaretcn the camera does not open, I think the problem is exactly that file, but I can not make it work by using this file simply from forced closing.
Could someone help me or advise me?
Logcat
Code:
--------- beginning of crash
09-11 19:44:00.954 4943 4943 E AndroidRuntime: FATAL EXCEPTION: main
09-11 19:44:00.954 4943 4943 E AndroidRuntime: Process: com.motorola.cameraone, PID: 4943
09-11 19:44:00.954 4943 4943 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.motorola.camera.CameraApp: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5447)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.-wrap2(ActivityThread.java)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1558)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6165)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.CameraApp.getCameraInfo(CameraApp.java:194)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.settings.ShutterToneSetting.isCameraSoundForced(ShutterToneSetting.java:63)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.settings.ShutterToneSetting.<init>(ShutterToneSetting.java:23)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.settings.AppSettings.<init>(AppSettings.java:39)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at com.motorola.camera.CameraApp.onCreate(CameraApp.java:83)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1046)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5444)
09-11 19:44:00.954 4943 4943 E AndroidRuntime: ... 8 more
Click to expand...
Click to collapse
Okay, I'll try to do this later. The cell phone is not mine, it's my grandmother's, Thays why I had to change the rom, she was having difficulty with the zui.

Related

Can't install apps from sdcard

I am running cyanogen 4.2.5. the problem im having just started happening. I do what i usually do to install a app but now when i click the install button it goes blank and goes back to the install or cancel screen. I thought it was just that one app that was giving me the problem but its all of my apks. Also if the app is on my backup program it will reinstall from that program but not straight from sd.I have already check unknown sources,but i dont know where to go from there. Any help would be appreciated.Thx.
rialsi6 said:
I am running cyanogen 4.2.5. the problem im having just started happening. I do what i usually do to install a app but now when i click the install button it goes blank and goes back to the install or cancel screen. I thought it was just that one app that was giving me the problem but its all of my apks. Also if the app is on my backup program it will reinstall from that program but not straight from sd.I have already check unknown sources,but i dont know where to go from there. Any help would be appreciated.Thx.
Click to expand...
Click to collapse
Have you tried installing from the terminal, or console?
rialsi6 said:
I am running cyanogen 4.2.5. the problem im having just started happening. I do what i usually do to install a app but now when i click the install button it goes blank and goes back to the install or cancel screen. I thought it was just that one app that was giving me the problem but its all of my apks. Also if the app is on my backup program it will reinstall from that program but not straight from sd.I have already check unknown sources,but i dont know where to go from there. Any help would be appreciated.Thx.
Click to expand...
Click to collapse
Ok, so I'm experienceing the same problem here. And it only started when I updated to Cyan 4.2.5 (unthemed). I tried installing through terminal emulator using the following:
su
install /sdcard/app.apk /system/app
Click to expand...
Click to collapse
After remounting the device as rwx, and the phone hung like it was working, and then rebooted to android screen. I don't know about the OP, but I also have a LOT of apps that just don't seem to be working correctly. Better Terminal Emulator won't work anymore, AddressBook hangs all the time before self closing (without force close error). Lots of things. I can try to post some logs if needed.
Here's a Eclipse Log, just in case:
11-19 18:06:49.823: ERROR/BetterTerm(1932): Device Info: <device>
11-19 18:06:49.823: ERROR/BetterTerm(1932): <soft>
11-19 18:06:49.823: ERROR/BetterTerm(1932): <kernel>Linux version 2.6.29.6-cm42 ([email protected])</kernel>
11-19 18:06:49.823: ERROR/BetterTerm(1932): <buildNumber>kila1.6</buildNumber>
11-19 18:06:49.823: ERROR/BetterTerm(1932): </soft>
11-19 18:06:49.823: ERROR/BetterTerm(1932): <hard>
11-19 18:06:49.823: ERROR/BetterTerm(1932): <processor> ARMv6-compatible processor rev 2 (v6l) </processor> <hardware> trout </hardware> <revision> 0080 </revision> </hard>
11-19 18:06:49.823: ERROR/BetterTerm(1932): </device>
11-19 18:06:49.823: ERROR/BetterTerm(1932): ABI=null
11-19 18:06:49.873: ERROR/BetterTerm(1932): Thank you for purchasing Better Terminal Emulator Pro.
11-19 18:06:50.063: ERROR/BetterTerm(1932): Starting subprocess '/system/bin/sh - null'
11-19 18:06:50.073: WARN/dalvikvm(1932): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/magicandroidapps/bettertermpro/Exec;.<clinit>
11-19 18:06:50.083: DEBUG/AndroidRuntime(1932): Shutting down VM
11-19 18:06:50.083: WARN/dalvikvm(1932): threadid=3: thread exiting with uncaught exception (group=0x4001e170)
11-19 18:06:50.093: ERROR/AndroidRuntime(1932): Uncaught handler: thread main exiting due to uncaught exception
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): java.lang.ExceptionInInitializerError
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at com.magicandroidapps.bettertermpro.BetterTerm.createSubprocess(BetterTerm.java:748)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at com.magicandroidapps.bettertermpro.BetterTerm.startListening(BetterTerm.java:627)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at com.magicandroidapps.bettertermpro.BetterTerm.onCreate(BetterTerm.java:463)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.os.Handler.dispatchMessage(Handler.java:99)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.os.Looper.loop(Looper.java:123)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at android.app.ActivityThread.main(ActivityThread.java:4203)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at java.lang.reflect.Method.invokeNative(Native Method)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at java.lang.reflect.Method.invoke(Method.java:521)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at dalvik.system.NativeStart.main(Native Method)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): Caused by: java.lang.UnsatisfiedLinkError: Library BetterTerm not found
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at java.lang.Runtime.loadLibrary(Runtime.java:489)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at java.lang.System.loadLibrary(System.java:557)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): at com.magicandroidapps.bettertermpro.Exec.<clinit>(Exec.java:62)
11-19 18:06:50.143: ERROR/AndroidRuntime(1932): ... 16 more
Click to expand...
Click to collapse
Use astro or linda im using astro atm.
RicFusion said:
Ok, so I'm experienceing the same problem here. And it only started when I updated to Cyan 4.2.5 (unthemed). I tried installing through terminal emulator using the following:
After remounting the device as rwx, and the phone hung like it was working, and then rebooted to android screen. I don't know about the OP, but I also have a LOT of apps that just don't seem to be working correctly. Better Terminal Emulator won't work anymore, AddressBook hangs all the time before self closing (without force close error). Lots of things. I can try to post some logs if needed.
Click to expand...
Click to collapse
thats not how you install an apk....
either use push instead of install, or find the busybox commands to install

[Q] Editing framework-res.apk to remove Carrier name from Notification bar

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.

[Q] Can't develop on Omar's ROM

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 !

[ROM] AOSP Marshmallow 6.0.1 | MoltenMotherBoard

Hi, here's the AOSP Marshmallow ROM that I would like to share with the community.
https://androidfilehost.com/?w=files&flid=57323
Thanks for the ground work they had laid out for P880 and Nexus 7 (2012).
@dmitrygr
@alfsamsung
@streambinder
@Demetris
...and...
XDA developers community
Changelog
20170307
- Android-6.0.1_r79 (MOB31T)
Complete changelog
https://androidfilehost.com/?w=files&flid=57323
Issue
- MHL/HDMI does not work (by @juantech)
Repo patches made available in 2nd POST for
- lge-kernel-p880 from CyanogenMod
- platform_device_lge_p880 from MoltenMotherBoard
SELinux for Marshmallow
Release 20160626 is SELinux clean. Google Marshmallow android_external_sepolicy and android_external_selinux source git repo remain pristine without downgrading the rules and policies to Lollipop/Kitkat level. Only the sepolicies of device tree are updated.
To enable SELinux Enforcing, do this from recovery
Code:
$ adb shell mount /data
$ adb shell touch /data/.selinux
$ adb shell umount /data
Recommened GApps is modular GApps from @Deltadroid, or OpenGapps stock. google-webview is a *REQUIRED* component. The minimum required GApps to be installed (which is how I test my setup)
- gapps-base
- gapps-exchange
- gapps-chrome
- gapps-gmail
- gapps-maps
- gapps-search
- gapps-tts
- gapps-webview
- gapps-youtube
This is based on Grouper blobs, so as usual barcode/QR scanning will not work and will not consider this as bug. However, Grouper blobs works with Screen Cast, which for me, is more useful than barcode/QR code scanning.
Let the testing begin!!!:fingers-crossed::fingers-crossed::fingers-crossed:
Kernel source
https://github.com/CyanogenMod/lge-kernel-p880/tree/cm-12.1
Code:
commit 413b3fc527c086450f28acbe92893c71e73ad5b6
Author: demetris <[email protected]>
Date: Wed Nov 4 00:39:13 2015 +0200
Check AOSP Nougat 7.0 thread for updated unified kernel
http://forum.xda-developers.com/showpost.php?p=68614155&postcount=2
Device Tree
https://github.com/MoltenMotherBoard/platform_device_lge_p880/tree/aosp-lp
Complete device tree is attached - device_lge_p880-mm-20160602.tar.gz
Misc. framework patch
Code:
[frameworks/base] Fake SMD sensor with WAKE_GESTURE
diff --git a/core/java/android/hardware/SensorManager.java b/core/java/android/hardware/SensorManager.java
index 5d405f9..278bbc2 100644
--- a/core/java/android/hardware/SensorManager.java
+++ b/core/java/android/hardware/SensorManager.java
@@ -445,6 +445,8 @@ public abstract class SensorManager {
* @see Sensor
*/
public Sensor getDefaultSensor(int type) {
+ if (type == Sensor.TYPE_SIGNIFICANT_MOTION)
+ type = Sensor.TYPE_WAKE_GESTURE;
// TODO: need to be smarter, for now, just return the 1st sensor
List<Sensor> l = getSensorList(type);
boolean wakeUpSensor = false;
Reserved #2
csk1jw said:
p880-ota-eng.mob30jz.zip
Click to expand...
Click to collapse
Perhaps I will finally be tempted into a custom ROM
So far, P880 serves me as an alarm clock, unfortunately.
csk1jw said:
Hi, here's the AOSP Marshmallow ROM that I would like to share with the community.
https://www.androidfilehost.com/?fid=24533100289590699
Thanks for the ground work they had laid out for P880 and Nexus 7 (2012).
@dmitrygr
@alfsamsung
@streambinder
@Demetris
...and...
XDA developers community
Changelog
- Android-6.0.1_r43 (MOB30J)
- 1st Release
Please update your own WiFi MAC address
- Update /system/etc/bcmdhd.cal to inject your own unique MAC address.
Repo patches will be made available shortly for
- lge-kernel-p880 from CyanogenMod
- platform_device_lge_p880 from MoltenMotherBoard
Recommened GApps is modular GApps from @Deltadroid. The minimum required GApps to be installed (which is how I test my setup)
- gapps-base
- gapps-exchange
- gapps-chrome
- gapps-gmail
- gapps-maps
- gapps-search
- gapps-tts
- gapps-webview
- gapps-youtube
This is based on Grouper blobs, so as usual barcode/QR scanning will not work and will not consider this as bug. However, Grouper blobs works with Screen Cast, which for me, is more useful than barcode/QR code scanning.
Let the testing begin!!!:fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Hey, mate! Good work!
But why "MoltenMotherBoard"? Just to know.
Good work downloading
Edit: I installed and it was running fine until install deltadroid gapps. I found the error. How can i solve this ?
Code:
Process: com.google.android.gms.persistent, PID: 2038
05-10 11:07:17.270 2038 2268 E AndroidRuntime: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:606)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:880)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:496)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.util.ae.a(:com.google.android.gms:65)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.util.af.a(:com.google.android.gms:45)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.a.o.a(:com.google.android.gms:40)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.a.p.g(:com.google.android.gms:56)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.a.p.am_(:com.google.android.gms:37)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.ay.a(:com.google.android.gms:318)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.k.a(:com.google.android.gms:207)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.f.a(:com.google.android.gms:164)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.f.a(:com.google.android.gms:73)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.bj.a(:com.google.android.gms:170)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.dh.a(:com.google.android.gms:151)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.cm.a(:com.google.android.gms:60)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.co.a(:com.google.android.gms:126)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.fused.dl.handleMessage(:com.google.android.gms:94)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at com.google.android.location.util.au.dispatchMessage(:com.google.android.gms:50)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
05-10 11:07:17.270 2038 2268 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
05-10 11:07:17.280 2038 2268 I Process : Sending signal. PID: 2038 SIG: 9
Edit2: I found the solution. Install rom, boot and open developer settings(If you are using OpenGapps download and install Android System WebView too). Then install gapps. Boot again rom you will see "setup has been stopped" error. Connect your phone to pc. Open an adb window and type this 3 lines
Code:
adb shell pm grant "com.google.android.setupwizard" android.permission.READ_PHONE_STATE
adb shell pm grant "com.google.android.gms" android.permission.ACCESS_FINE_LOCATION
adb shell pm grant "com.google.android.gms" android.permission.ACCESS_COARSE_LOCATION
Sent from my LG-P880 using XDA-Developers mobile app
Impossible to start the installation process, after you set the wifi, I jump the notice google play services has stopped. Impossible to move forward. I tried to do it several times, but no way.
Imposible, al empezar el proceso de instalación, despues de configura el wifi, me salta el aviso que los servicios de google play se ha detenido. Imposible seguir adelante. He intentado hacerlo varias veces, pero no hay forma.
@CrazyWinner: I don't get any of those permission warnings. You should install GApps right after flashing the ROM zip file without booting the ROM, all in recovery. You should also wipe data//cache/dalvik-cache to start at clean state. The apps will ask for the permission when they are 1st invoked after 1st boot.
Here's my logcat I just capture from reboot to SIM PIN entry, none of the error showed up.
Code:
$ adb logcat | grep "AndroidRuntime"
05-10 08:20:31.650 228 228 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
05-10 08:20:31.822 228 228 D AndroidRuntime: CheckJNI is OFF
05-10 08:21:23.260 1262 1262 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
@jrcquinito: Did you get the minimum GApps list installed in recovery? Check my reply above. I have been able to gone through Setup Wizard twice, with or without setting up Google account.
Apparently. this is AOSP. It got to work with some GApps before the 1st initial booting. I am only testing deltadroid modular GApps, unfortunately.
csk1jw said:
@CrazyWinner: I don't get any of those permission warnings. You should install GApps right after flashing the ROM zip file without booting the ROM, all in recovery. You should also wipe data//cache/dalvik-cache to start at clean state. The apps will ask for the permission when they are 1st invoked after 1st boot.
@jrcquinito: Did you get the minimum GApps list installed in recovery? Check my reply above. I have been able to gone through Setup Wizard twice, with or without setting up Google account.
Apparently. this is AOSP. It got to work with some GApps before the 1st initial booting. I am only testing deltadroid modular GApps, unfortunately.
Click to expand...
Click to collapse
I tried. But TWRP gives "set metadata recursive some changes failed bad=4" error if rom is not booted. I tried a lot of things , it finally booted and working fine. Thank you for your hard work
PS: Sorry for my bad english
I use the CWM recovery. It is from the official CWM for P880 with updated kernel. I got no errors on install ROM zip or Deltadroid modular GApps zip file.
I still prefer CWM traditional non-touch interface to TWRP or the touch-based CWM.
After install rom go to reboot meny and select reboot bootloader, after reboot install gapps and after reboot in rom. It's for twrp
Отправлено с моего Optimus 4X HD через Tapatalk
how to install
csk1jw said:
I use the CWM recovery. It is from the official CWM for P880 with updated kernel. I got no errors on install ROM zip or Deltadroid modular GApps zip file.
I still prefer CWM traditional non-touch interface to TWRP or the touch-based CWM.
Click to expand...
Click to collapse
To avoid unnecessary problems, you should expressly written in the first post on how to install.
CWM or TWRP does not matter if the installation script is properly prepared.
Hey @csk1jw, I did a clean install of this rom last night via cwm with delta gapps and everything seems to work fine. The only problem I have is the sdcard which is not recognized by the phone or when I plug the phone to my pc. The sdcard is perfectly working otherwise, I checked it with a sdcard adapter.
Mentah said:
Hey @csk1jw, I did a clean install of this rom last night via cwm with delta gapps and everything seems to work fine. The only problem I have is the sdcard which is not recognized by the phone or when I plug the phone to my pc. The sdcard is perfectly working otherwise, I checked it with a sdcard adapter.
Click to expand...
Click to collapse
Did the phone offer to format the SD card? If it did, please backup the data on SD card to allow the phone to format the SD card. I haven't checked out SD card functionality myself yet. Did Android M even offer the option for standalone or adoptable on using SD card?
csk1jw said:
Did the phone offer to format the SD card? If it did, please backup the data on SD card to allow the phone to format the SD card. I haven't checked out SD card functionality myself yet. Did Android M even offer the option for standalone or adoptable on using SD card?
Click to expand...
Click to collapse
There was nothing related to the sd card when I installed the rom. Everything went fine and the sd card is still recognised in cwm. I can tell you that on alfasamsung's cm 13 I always had sd card functionality.
Mentah said:
There was nothing related to the sd card when I installed the rom. Everything went fine and the sd card is still recognised in cwm. I can tell you that on alfasamsung's cm 13 I always had sd card functionality.
Click to expand...
Click to collapse
Alright, I will check it out. Could be something with init or fstab.
@Mentah: Thanks for reporting the issue with SD card. It is fixed now with the updated rootfs. You can apply the fix I attached. I had verified it myself that Android will prompt for SD card notification. It should be simple and does not require going through the initial setup. You just need to flash it from LG fastboot.
Code:
$ and reboot oem-unlock
$ sudo fastboot flash boot boot.img
$ sudo fastboot reboot
csk1jw said:
@Mentah: Thanks for reporting the issue with SD card. It is fixed now with the updated rootfs. You can apply the fix I attached. I had verified it myself that Android will prompt for SD card notification. It should be simple and does not require going through the initial setup. You just need to flash it from LG fastboot.
Code:
$ and reboot oem-unlock
$ sudo fastboot flash boot boot.img
$ sudo fastboot reboot
Click to expand...
Click to collapse
@csk1jw Thank you for looking into it, I will try the fix tomorrow and report back.
Uploaded new build for SD card fix.
No way, I'm back down the rom, rom and install only after the gapps, reboot several times ... the notice has stopped google service installation fails.
No hay manera, he vuelto a bjar la rom, instalar solo la rom y despues la Gapps, reiniciar varias veces... del aviso que se ha parado el servicio de google no pasa la instalación.

Update problems

I also posted this in the general support thread but there are simply too many comments and nobody replied to mine.
Magisk Manager kept crashing on open, so I tried to update it but then it started complaining that it doesn't support the actual Magisk version in use (which is quite odd). When I tried to update that, everything broke:
ALL settings and modules are lost
The /system partition seems to have vanished: mount: can't find /system in /proc/mounts
Link2SD can no longer mount my second partition usd for app storage, I can mount it just fine manually but that doesn't help if it's expected to be there at boot time
These are pretty major issues. I had to restore a backup from both the boot and system partitions to get a working Android again.
Also, the Manager has a lot of trouble starting up. It will be stuck on the splash screen and I have to close it and reopen it twice/thrice before I actually get to the app. And then I have to get lucky and not have the Manager crash on me.
A logcat from around the crash:
Code:
10-01 22:24:28.512 6877 6948 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #4
10-01 22:24:28.512 6877 6948 E AndroidRuntime: Process: com.Ni.i.X.CSKtdIpsA, PID: 6877
10-01 22:24:28.512 6877 6948 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at a.ql.a(Unknown Source:78)
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at a.ql.b(Unknown Source:19)
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at a.ql.lambda$l2fFZC2Jq4qpiuFgxpU9uWDPuvs(Unknown Source:0)
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at a.-$$Lambda$ql$l2fFZC2Jq4qpiuFgxpU9uWDPuvs.run(Unknown Source:4)
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
10-01 22:24:28.512 6877 6948 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
10-01 22:24:28.517 2219 2747 W ActivityManager: Force finishing activity com.Ni.i.X.CSKtdIpsA/a.b

Categories

Resources