[Q] Infinite boot loop, even after a RUU - Legend Q&A, Help & Troubleshooting

Hi everyone
I decided to post here because I couldn't resolve my problem with only tutorials.
I have an HTC Legend which was very slow, because of an update from SFR. I tryed a factory reset but it was still slow.
I did a backup with clockworkmod, so I can always go back to the first (bad) configuration.
Today, after many operations, the phone boots until the first screen (when you have to use the slide to unlock the screen). But the screen doesn't respond and the reboot reboot after few minutes. Even after using a RUU...
I know that it is possible to restore it, because it worked once. But because of my enthusiasm, I broke the configuration with cyanogen. (I didn't made backup, so stupid)
If even a RUU cannot restore my HTC Legend, what can I do?
Thank you in advance
Useful information:
HTC Legend branded (Vodafone)
Actual HBOOT version: 1.00
Radio: 7.13.35.05
S-ON

Neferth said:
If even a RUU cannot restore my HTC Legend, what can I do?
Click to expand...
Click to collapse
Hello Neferth,
Switch off your phone. Than switch it on holding the "Vol-" and the "power" button. Then select recovery.
At the red [!] screen. press "Vol+" and the "power" button.
Wait for a blue menu list at the top of the screen. Then select update.zip.
Then you can see the ClockworkMod Recovery menu. You can do a restore now ...
Greetings: alligator-asl

Hi,
If I do that, I can only backup my phone to the first (and bad) configuration. And the phone still boots in loop...
I search for a solution to completely format the system and wipe all things I added. I believed that a RUU could help me, but the problem still remains, as if I forgot something. This is despairing...

Neferth said:
Hi,
If I do that, I can only backup my phone to the first (and bad) configuration. And the phone still boots in loop...
I search for a solution to completely format the system and wipe all things I added. I believed that a RUU could help me, but the problem still remains, as if I forgot something. This is despairing...
Click to expand...
Click to collapse
Here's an idea, you can boot into clock work mod yeah? OK, pick a rom, any rom, but I'd advise you to get one of the froyo based roms like blay0s, these are probably better for you at this stage as they are compleat, and dare I say it bug free
Anyway download the zip file, put it onto your sdcard, boot into recovery, format boot, system, data, cache, and sdext NOT THE SD CARD!
now flash the zip file and reboot, if you still have boot loop then its possible your internal rom space is damaged, I've heard of this issue in other phone threads, however I've not yet heard a story about damaged rom space on legend.
Sent from my Legend using xda app-developers app

Thanks you for your help!
I followed your instructions and I:
-rooted my phone with r4legend.
-formatted boot, system, data and cache partition
-installed Bay0 O.8 and upgraded it to 0.8.4
The bootloop seems to be fixed, but the phone still freeze at first screen. Moreover, the screen dies out after few minutes.
Just in case, I launched
Code:
adb logcat
, and I noticed the following errors and fails:
Code:
--------- beginning of /dev/log/system
I/Vold ( 150): Vold 2.1 (the revenge) firing up
D/Vold ( 150): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/SystemServer( 189): Entered the Android system server!
I/SystemServer( 189): Entropy Service
W/EntropyService( 189): unable to load initial entropy (first boot?)
[...]
E/ConnectivityService( 189): Error in radioAttributes - ignoring attempt to define type 6
E/ConnectivityService( 189): Error in networkAttributes - ignoring attempt to adopt radio 6
[...]
/SystemServer( 189): HTC Checkin Service.
I/SystemServer( 189): Wallpaper Service
W/WallpaperService( 189): failed parsing /data/system/wallpaper_info.xml java.io.FileNotFoundException: /data/system/wallpaper_info.xml (No such file or directory)
I/SystemServer( 189): Audio Service
[...]
I/WindowManager( 189): SAFE MODE not enabled
W/DevicePolicyManagerService( 189): failed parsing /data/system/device_policies.xml java.io.FileNotFoundException: /data/system/device_policies.xml (No such file or directory)
V/KeyguardViewMediator( 189): password timeout delay 281859ms
[...]
D/KeyguardViewMediator( 189): pokeWakelock(15000)
W/WindowManager( 189): VOLUME button: Unable to find ITelephony interface
D/KeyguardViewMediator( 189): pokeWakelock(15000)
W/WindowManager( 189): VOLUME button: Unable to find ITelephony interface
D/KeyguardViewMediator( 189): pokeWakelock(15000)
W/WindowManager( 189): !!! Unable to find ITelephony interface !!!
And when the screen dies out:
Code:
W/PackageManager( 897): Unknown permission android.permission.ACCESS_LOCATION in package com.htc.android.locationpicker
W/PackageManager( 897): Unknown permission android.permission.ACCESS_GPS in package com.htc.android.locationpicker
W/PackageManager( 897): Unknown permission com.htc.android.mail.permission.READ_ACCOUNT in package com.htc.htccontactwidgets
W/PackageManager( 897): Unknown permission com.htc.android.mail.permission.WRITE_ACCOUNT in package com.htc.htccontactwidgets
W/PackageManager( 897): Unknown permission android.permission.BACKUP_DATA in package com.htc.CustomizationSetup
W/PackageManager( 897): Not granting permission android.permission.CLEAR_APP_USER_DATA to package com.android.packageinstaller (protectionLevel=2 flags=0xbe45)
W/PackageManager( 897): Unknown permission com.android.providers.im.permission.READ_ONLY in package com.google.android.apps.maps
W/PackageManager( 897): Unknown permission android.permission.BACKUP_DATA in package com.htc.android.htcime
W/PackageManager( 897): Unknown permission android.permission.BACKUP_DATA in package com.htc.UpgradeSetup
W/PackageManager( 897): Unknown permission com.android.providers.htccdma.Specific in package com.htc.android.htcsetupwizard
W/PackageManager( 897): Unknown permission com.htc.VzWBackupAssistantClient.PROVISION in package com.htc.android.htcsetupwizard
W/PackageManager( 897): Unknown permission com.google.android.providers.gmail.permission.WRITE_GMAIL in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.google.android.providers.gmail.permission.READ_GMAIL in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.android.email.permission.ACCESS_PROVIDER in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.android.email.permission.READ_ATTACHMENT in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
Perhaps I am wrong but I see nothing that prevent the phone from booting...
You also talked about internal rom space, what is it exactly? Because I only know the partitions:
• /boot
• /cache
• /data
• /misc
• /recovery
• /system
Where can I find this internal rom space and how can I repair it?

Neferth said:
Thanks you for your help!
I followed your instructions and I:
-rooted my phone with r4legend.
-formatted boot, system, data and cache partition
-installed Bay0 O.8 and upgraded it to 0.8.4
The bootloop seems to be fixed, but the phone still freeze at first screen. Moreover, the screen dies out after few minutes.
Just in case, I launched
Code:
adb logcat
, and I noticed the following errors and fails:
Code:
--------- beginning of /dev/log/system
I/Vold ( 150): Vold 2.1 (the revenge) firing up
D/Vold ( 150): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/SystemServer( 189): Entered the Android system server!
I/SystemServer( 189): Entropy Service
W/EntropyService( 189): unable to load initial entropy (first boot?)
[...]
E/ConnectivityService( 189): Error in radioAttributes - ignoring attempt to define type 6
E/ConnectivityService( 189): Error in networkAttributes - ignoring attempt to adopt radio 6
[...]
/SystemServer( 189): HTC Checkin Service.
I/SystemServer( 189): Wallpaper Service
W/WallpaperService( 189): failed parsing /data/system/wallpaper_info.xml java.io.FileNotFoundException: /data/system/wallpaper_info.xml (No such file or directory)
I/SystemServer( 189): Audio Service
[...]
I/WindowManager( 189): SAFE MODE not enabled
W/DevicePolicyManagerService( 189): failed parsing /data/system/device_policies.xml java.io.FileNotFoundException: /data/system/device_policies.xml (No such file or directory)
V/KeyguardViewMediator( 189): password timeout delay 281859ms
[...]
D/KeyguardViewMediator( 189): pokeWakelock(15000)
W/WindowManager( 189): VOLUME button: Unable to find ITelephony interface
D/KeyguardViewMediator( 189): pokeWakelock(15000)
W/WindowManager( 189): VOLUME button: Unable to find ITelephony interface
D/KeyguardViewMediator( 189): pokeWakelock(15000)
W/WindowManager( 189): !!! Unable to find ITelephony interface !!!
And when the screen dies out:
Code:
W/PackageManager( 897): Unknown permission android.permission.ACCESS_LOCATION in package com.htc.android.locationpicker
W/PackageManager( 897): Unknown permission android.permission.ACCESS_GPS in package com.htc.android.locationpicker
W/PackageManager( 897): Unknown permission com.htc.android.mail.permission.READ_ACCOUNT in package com.htc.htccontactwidgets
W/PackageManager( 897): Unknown permission com.htc.android.mail.permission.WRITE_ACCOUNT in package com.htc.htccontactwidgets
W/PackageManager( 897): Unknown permission android.permission.BACKUP_DATA in package com.htc.CustomizationSetup
W/PackageManager( 897): Not granting permission android.permission.CLEAR_APP_USER_DATA to package com.android.packageinstaller (protectionLevel=2 flags=0xbe45)
W/PackageManager( 897): Unknown permission com.android.providers.im.permission.READ_ONLY in package com.google.android.apps.maps
W/PackageManager( 897): Unknown permission android.permission.BACKUP_DATA in package com.htc.android.htcime
W/PackageManager( 897): Unknown permission android.permission.BACKUP_DATA in package com.htc.UpgradeSetup
W/PackageManager( 897): Unknown permission com.android.providers.htccdma.Specific in package com.htc.android.htcsetupwizard
W/PackageManager( 897): Unknown permission com.htc.VzWBackupAssistantClient.PROVISION in package com.htc.android.htcsetupwizard
W/PackageManager( 897): Unknown permission com.google.android.providers.gmail.permission.WRITE_GMAIL in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.google.android.providers.gmail.permission.READ_GMAIL in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.android.email.permission.ACCESS_PROVIDER in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.android.email.permission.READ_ATTACHMENT in package com.qo.android.htc
W/PackageManager( 897): Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
Perhaps I am wrong but I see nothing that prevent the phone from booting...
You also talked about internal rom space, what is it exactly? Because I only know the partitions:
• /boot
• /cache
• /data
• /misc
• /recovery
• /system
Where can I find this internal rom space and how can I repair it?
Click to expand...
Click to collapse
Well, rom space (memory storage) is the location of where your rom is flashed to, as far as I know once this is damaged there is no way to fix it.
I'm pretty sure that the boot, system, misc, recovery is all part of rom space. I'm pretty sure that data and cache is part of internal memory?
I haven't actually gotten that deep into internal workings of the hardware so I could be wrong.
Sent from my Legend using xda app-developers app

Found it. It was bad blocks on the system and data partition.
Just THANK to you for your tips and AngelDeath for his marvellous article:
http://forum.xda-developers.com/showthread.php?t=1189544
I will try to move /system and /data partitions to SD card.
edit: I will follow this tutorial => http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
edit 2: Launching a /system partition on SD card seems to be possible => http://forum.xda-developers.com/showthread.php?t=779274
But it isn't user frienldy enough, so I will probably try "task 29" with MTTY to format the partition. The bad blocks will not disappear, but I hope the system will mark them as "bad".
=> http://forum.xda-developers.com/showthread.php?t=540290
=> http://forum.xda-developers.com/showthread.php?t=644781

Is it working now? I'm also getting problems with bad blocks now
Sent from my Legend using xda premium

Hello xennr3
Sorry for the delay, I had examinations and I forgot this painful problem...
I tried to use MTTY but XP/Seven didn't let me create ActiveSync connection (making a banal connection is too hard for these OS). And without ActiveSync, no mtty.
And obviously no documentation in order to make the same thing with linux.
Sigh.
Anyway, I returned the HTC to its owner. I will try later (~3 month), but I surely will not give up. I will update this post if I found any useful documentation or alternative.

Neferth said:
Hello xennr3
Sorry for the delay, I had examinations and I forgot this painful problem...
I tried to use MTTY but XP/Seven didn't let me create ActiveSync connection (making a banal connection is too hard for these OS). And without ActiveSync, no mtty.
And obviously no documentation in order to make the same thing with linux.
Sigh.
Anyway, I returned the HTC to its owner. I will try later (~3 month), but I surely will not give up. I will update this post if I found any useful documentation or alternative.
Click to expand...
Click to collapse
Isn't active sync for connecting to windows mobile devices like GPS etc?
Sent from my Legend using xda app-developers app

Related

Application not installed??

I'm trying to install a certain .apk file. and it keeps showing me "application not installed".
I've tried it on stock, and it installs.
After checking logcat this is what it says:
D/PackageManager( 1399): Scanning package com.abcdef.android.abcdef.abcdef.apk
W/PackageManager( 1399): Cannot install platform packages to user storage
W/PackageManager( 1399): Package couldn't be installed in /data/app/com.abcdef.android.abcdef.abcdef.apk
I did some more investigation and it turns out it can install apps that install to sd card, but can't install system apps to data folder or the others.
How can i fix this?
Thanks.

[Q] SDK: Install_Failed_Dexopt. Solution?

Hello all
I am having some trouble with SDK installing apps to my Android. I've tried to find many forums about my issue, but I've hit a brick wall every time. My rooted device is an LG Optimus C running Android 2.2 (ancient lol). My issue is that I'm getting the error: Failure [INSTALL_FAILED_DEXOPT] for every app I try to install. I've wiped the device twice and then found out that this error happens every time after I've installed a good amount of apps...which I read somewhere that this will happen because of not having enough space in Dalvik..or in the data area and won't allow the install to write anything else..correct me if I'm wrong on this I've also cleared all caches multiple times, including Dalvik.
I've also tried the work around where you try and skip that all together and put the app straight into /system /app. That came up with no resolution, even with the correct properties selected (read/write/execute etc). So now, I really have no other avenues left but to come here and ask.
Here is the Logcat results I get using adb install -r app.apk no matter what app it is. I will use tumblog.apk (compatible with device) for this example:
D/AndroidRuntime( 4201):
D/AndroidRuntime( 4201): >>>>>> AndroidRuntime START com.android.internal.os.Run
timeInit <<<<<<
I/AndroidRuntime( 4201): Heap size: -Xmx32m
D/AndroidRuntime( 4201): CheckJNI is OFF
D/AndroidRuntime( 4201): Calling main entry com.android.commands.pm.Pm
W/ActivityManager( 1356): No content provider found for:
W/ActivityManager( 1356): No content provider found for:
D/PackageParser( 1356): Scanning package: /data/app/vmdl-166230949.tmp
D/PackageManager( 1356): Scanning package com.luckydroid.tumblelog
E/PackageManager( 1356): Package com.luckydroid.tumblelog has mismatched uid: 10
060 on disk, 10061 in settings
I/PackageManager( 1356): Linking native library dir for /data/app/com.luckydroid
.tumblelog-1.apk
D/installd( 1256): DexInv: --- BEGIN '/data/app/com.luckydroid.tumblelog-1.apk'
---
D/dalvikvm( 4211): Zip inflate: partial write (will retry): (24536 of 32768)
E/dalvikvm( 4211): Zip inflate: write failed: No space left on device
W/dalvikvm( 4211): DexOptZ: extraction of classes.dex from /data/app/com.luckydr
oid.tumblelog-1.apk failed
W/installd( 1256): DexInv: --- END '/data/app/com.luckydroid.tumblelog-1.apk' --
- status=0xff00, process failed
E/installd( 1256): dexopt failed on '/data/dalvik-cache/[email protected]@com.luckydroid.
[email protected]' res = 65280
W/PackageManager( 1356): Package couldn't be installed in /data/app/com.luckydro
id.tumblelog-1.apk
D/AndroidRuntime( 4201): Shutting down VM
I/AndroidRuntime( 4201): NOTE: attach of thread 'Binder Thread #3' failed
D/jdwp ( 4201): adbd disconnected
I really have no clue what any of this means lol...pretty new to logcat. I am aware of the file name not matching the original name of the apk..shouldn't matter considering I've installed many apps with shortened names. Any help would be greatly appreciated! Thanks
EDIT: Looks like "E/dalvikvm( 4211): Zip inflate: write failed: No space left on device" is the problem. Not enough space in Dalvik. Still have no idea how to work around.
Bump
Is this not posted in the correct forum? I'm just guessing no one knows of a solution?
Çözüme Yakın
Sizin sorununuz apk~classes.dex~.smali dosyalarının içinde gereksiz kodları siliniz. "Ayrıca Facebook klasörünü bulup siliniz (her clasess.dex'te bulunmaz)" ayrıca kimi classes.dex boyutu 9MB iken yükleniyor bazı clasess.dex dosyaları ise 7,8*MB olunca yüklenmiyor. Tabikide kodlar içinde dexOpt= dex options ayarı vardır ama ben bulamadım sadece bunları biliyorum. Umarım çözüm bulan çıkar. TR

data is earsed after a force reboot

I'm using Cyanogenmod 12. Sometime I suffer an abnormal reboot due to system freeze, or battery low.
I found I lost some application data after the abnormal reboot. I looked up the logcat and found the data is erased by PackageManager due to uid change:
Code:
I/PackageManager( 757): New shared user android.uid.systemui: id=10016
W/PackageManager( 757): System package com.android.systemui has changed from uid: 10015 to 10016; old data erased
I/PackageManager( 757): /system/priv-app/Tag changed; collecting certs
W/PackageManager( 757): System package com.android.apps.tag has changed from uid: 10016 to 10017; old data erased
(data of some apps is reserved because it's uid didn't change)
it seems that the data loss only happens after a abnormal reboot.

Clock app: -505 error in CM12.1?

So with Google pushing Clock updates to the Play Store, I decided to try installing/updating from CM12.1, but every time it failed with a -505 error. The relevant adb logcat output:
Code:
W/PackageManager( 851): Package couldn't be installed in /data/app/com.google.android.deskclock-1
W/PackageManager( 851): com.android.server.pm.PackageManagerException: Can't install because provider name com.android.deskclock (in package com.google.android.deskclock) is already used by com.android.deskclock
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:5870)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:5542)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:11012)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:11557)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.access$2500(PackageManagerService.java:273)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:9456)
W/PackageManager( 851): at android.os.Handler.handleCallback(Handler.java:739)
W/PackageManager( 851): at android.os.Handler.dispatchMessage(Handler.java:95)
W/PackageManager( 851): at android.os.Looper.loop(Looper.java:135)
W/PackageManager( 851): at android.os.HandlerThread.run(HandlerThread.java:61)
W/PackageManager( 851): at com.android.server.ServiceThread.run(ServiceThread.java:46)
E/Finsky (17358): [1] PackageInstallerImpl.handleCommitCallback: Error -505 while installing com.google.android.deskclock: INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.google.android.deskclock-1: Can't install because provider name com.android.deskclock (in package com.google.android.deskclock) is already used by com.android.deskclock
W/Finsky (17358): [1] 3.installFailed: Install failure of com.google.android.deskclock: -505 null
D/Finsky (17358): [1] InstallerTask.cancelCleanup: Cancel running installation of com.google.android.deskclock (com.google.android.deskclock)
I've considered uninstalling Clock from TitaniumBackup and installing the Play version, but I'm afraid of what I'll break if I do that. Has anyone else tried this?
Make a backup of the stock CM clock app, then uninstall it with TB. Then install the Play Store version. Now that as of earlier today the Play Store one didn't have Increasing Volume for alarms, which I like and CM12.1 has. I've been waiting for several years for Google to put their clock on the Play Store, just wish it had the Increasing Volume.
Or make a nandroid backup before uninstalling the CM clock app. That's even better.
[VK810.4G] [altev] [ViKtory810ROM] official LG G Pad 8.3 Lollipop 35A_08 5.0.2
[VK810.4G] [altev] official LG G Pad 8.3 Lollipop 35A_08 5.0.2 DEBLOAT SCRIPTS and copies of all the files they remove
[VK810.4G] [altev] OTAs, .IMGs and KDZs, oh my
Same error on OnePlus One
I have Cyanogen OS installed on my OPO. No hacks to the system, not routed. How do I deal with the error when trying to install CLOCK from the store?
gotroot801 said:
So with Google pushing Clock updates to the Play Store, I decided to try installing/updating from CM12.1, but every time it failed with a -505 error. The relevant adb logcat output:
Code:
W/PackageManager( 851): Package couldn't be installed in /data/app/com.google.android.deskclock-1
W/PackageManager( 851): com.android.server.pm.PackageManagerException: Can't install because provider name com.android.deskclock (in package com.google.android.deskclock) is already used by com.android.deskclock
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:5870)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:5542)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:11012)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:11557)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService.access$2500(PackageManagerService.java:273)
W/PackageManager( 851): at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:9456)
W/PackageManager( 851): at android.os.Handler.handleCallback(Handler.java:739)
W/PackageManager( 851): at android.os.Handler.dispatchMessage(Handler.java:95)
W/PackageManager( 851): at android.os.Looper.loop(Looper.java:135)
W/PackageManager( 851): at android.os.HandlerThread.run(HandlerThread.java:61)
W/PackageManager( 851): at com.android.server.ServiceThread.run(ServiceThread.java:46)
E/Finsky (17358): [1] PackageInstallerImpl.handleCommitCallback: Error -505 while installing com.google.android.deskclock: INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.google.android.deskclock-1: Can't install because provider name com.android.deskclock (in package com.google.android.deskclock) is already used by com.android.deskclock
W/Finsky (17358): [1] 3.installFailed: Install failure of com.google.android.deskclock: -505 null
D/Finsky (17358): [1] InstallerTask.cancelCleanup: Cancel running installation of com.google.android.deskclock (com.google.android.deskclock)
I've considered uninstalling Clock from TitaniumBackup and installing the Play version, but I'm afraid of what I'll break if I do that. Has anyone else tried this?
Click to expand...
Click to collapse
Did you happen to do this? Successfully? Just wondering because I want to do it too.
BigLisy said:
Did you happen to do this? Successfully? Just wondering because I want to do it too.
Click to expand...
Click to collapse
I tried it and it seemed to work just fine. Until I updated to a newer nightly. Then I had constant force closes because the original clock was reinstalled.
The most recent version of Clock installs fine, but in parallel to the stock clock. I installed the new version and disabled the old.
Let's see if I'm late for work tomorrow as a result...
EDIT: It worked without getting double alarms, but I did have to set my alarms in the new app first, obviously.

Mystery Lenovo K6 acting weird with stock firmware, need help

Hello,
I have recently purchased a refurb Lenovo K6, it came with an Android 6.0 rom.
Off the bat it had some weird reboots and app crashes, updating and system restore solved nothing; the problem worsened, so I ended up using the official Lenovo tools to perform a system recovery, which flashed a stock Nougat rom (K33_USR_S223_1706101140_Q00440_ROW).
This didn't stop sudden app crashes and system restarts however; even at initial system setup, many apps including Google Play Services would stop responding.
Since then I've lost count of re-flashes, data and cache wipes, permission resets etc. that I've performed.
I've attempted to root the phone with KingRoot in order to wipe the Dalvik Cache but could not complete the process.
I got plenty of logs via logcat, wish you could help me understand what's going on using them; here is a small one (Error level treshold) that I got, includes crashes of Firefox, Lenovo Launcher and I think Google Play Services.
pastebin. com/sZkDYPXi
I got other bigger ones, as well.
Mainly I notice a lot of "no such file or directory" errors, such as:
Code:
07-24 14:46:13.852 1447 1667 E QCOM PowerHAL: Error opening sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: No such file or directory
and a lot of SELinux permission denials:
Code:
07-24 14:31:22.373 474 474 E SELinux : avc: denied { find } for service=android.hardware.fingerprint.IFingerprintDaemon pid=2905 uid=10112 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:fingerprintd_service:s0 tclass=service_manager permissive=0
In another log with Warning treshold I was getting a lot of PackageManager warnings such as these:
Code:
07-22 19:34:36.255 5135 5135 W PackageManager: Not granting permission android.permission.ACCESS_FINE_LOCATION to package com.skype.raider because it was previously installed without
Code:
07-22 19:31:12.912 1422 1595 W PackageManager: Permission com.google.android.googleapps.permission.GOOGLE_AUTH from package com.google.android.gsf in an unknown group android.permission-group.ACCOUNTS
I'd rather try to fix the problem myself if at all possible, rather than returning the phone...
Thanks a lot for your help.
I now suspect there has been a failed root attempt on this device, as many errors have to do with denied permissions.
Also I managed to get a new logcat from many Firefox/Google Play Services and a system reboot, and the following line appears:
Code:
07-24 19:12:21.346 10637 10647 F art : art/runtime/gc/collector/mark_sweep.cc:448] Attempting see if it's a bad root
Also firefox crashes report this:
Code:
07-24 19:10:16.979 6598 6954 E InputDispatcher: channel '28475f0 org.mozilla.firefox/org.mozilla.gecko.BrowserApp (server)' ~ Channel is unrecoverably broken and will be disposed!
and apparently can't read session files:
Code:
07-24 19:10:42.340 10412 10426 E GeckoApp: An error occurred during restore, switching to backup file
07-24 19:10:42.340 10412 10426 E GeckoApp: org.mozilla.gecko.GeckoApp$SessionRestoreException: Could not read from session file
and the backtrace reports failure of some sort with async threads...
I really am banging my head against a wall here :crying:
bumpity bump bump

Categories

Resources