Fixing permissions, zipaligning, and bug report - Nexus 7 Q&A, Help & Troubleshooting

Tried fixing permissions using jrummy busy box installer and it just keeps running. Waited 10min and it was still going. What are you guys doing to fix permissions? Also tried running the zipalign script and get an error for missing binary? Any idea about this? Last.....kept seeing this bug report thing fly up every now and then. Finally found where the .txt reports were being saved and they were all the same error, system/bin/stagefright? Bug report attached, any help is greatly appreciated. Been running faux123 008 test kernel, stock rooted ROM.

Missing stagefright
gokart2 said:
Tried fixing permissions using jrummy busy box installer and it just keeps running. Waited 10min and it was still going. What are you guys doing to fix permissions? Also tried running the zipalign script and get an error for missing binary? Any idea about this? Last.....kept seeing this bug report thing fly up every now and then. Finally found where the .txt reports were being saved and they were all the same error, system/bin/stagefright? Bug report attached, any help is greatly appreciated. Been running faux123 008 test kernel, stock rooted ROM.
Click to expand...
Click to collapse
I started seeing these bugreports when I "upgraded" to 4.2.2 on my stock rooted N7. From what I can tell stagefright is some kind of audio/video/picture rendering engine. I became aware of the reports when I started getting random popups for "complete action using...". I finally selected the gmail app and saw that the bugreport as well as a screen shot were attached to the email. I actually got a copy of stagefright from a friend that had it on a different device and installed it. The bugreports kept happening only this time I was getting this error:
NvAvpOpen: Error opening nvavp device (Permission denied)
I've hit a brick wall with this error. Did you ever get anywhere with the stagefright error?

I have figured out a few more things... If you have developer options (and maybe USB debugging) turned on, pressing power/volume up/volume down will generate a bugreport via /system/bin/bugmailer.sh. Bugmailer then calls /system/bin/dumpstate which in turn calls stagefright to play a sound. So the invocation of stagefright didn't cause the bugreport, it is a result of the report. So if you want to stop this whole nonsense, just edit bugmailer.sh and add "exit 0" as the second line.
Sent from my Nexus 7 using xda app-developers app

Related

com.htc.bgp force close [(ACTUALLY) FIXED 04/29/2011]

EDIT: After studying some logs, and struggling with this issue for some time, I am happy to say I have finally figured out why this happens, and how to fix it.
The issue is with the calendar, which is why what is written below would work for a short time, before the problem would resurface. If you navigate into the calendar settings, you will see an option within Calendar View Settings to "Include Weather". What is happening, regardless of whether this is checked, is upon the gps turning on, and in set intervals afterward, the calendar tries to check the weather. When it does not find the proper apk, the com.htc.bgp message appears.
How To Fix
The files that need to be replaced are WeatherProvider.apk and WeatherProvider.odex (WeatherProvider.zip), which I have attached below for convenience. Simply replace these files using the method you prefer (adb, terminal, root file browser), remembering to remount /system as rw, then fix_permissions and reboot.
Alternatively, I made a flashable version (com.htc.bgp_fix_flashable-signed.zip), which you need only flash from recovery and reboot.
Click to expand...
Click to collapse
I recently started getting notices that com.htc.bgp stopped and needed a force close. Though it seemed not to affect anything, it was annoying.
It happens when one removes the sense apps (though I have not narrowed down exactly which ones).
To fix this, go to settings, applications, manage applications, then clear data in Calendar, Calander Provider, and Gmail.
Thank you! It was starting to really annoy me.
EDIT: It's back.
^ Shift Faced
Came back on me too. Cleared delvik as well. I may have to try and track down all the weather app crap I removed to stop it if no one can figure out a better way.
According to Elixer that process is started by ConnectToPCService. Hope that helps. I no longer get but I'm back to stock with all HTC junk intact, just Sprint crap removed.
^ Shift Faced
Code:
http://forum.xda-developers.com/showthread.php?t=659325
Check the OP for a real fix to this issue.
How do you "flash" from recovery & reboot
does this work on other htc phones?
i flashed this on a desire hd running leedroid 3.0.2 but i still get the FC
din clear data after flashing
note: i used a no sense script but left myhtc and htclocationservice intact
problem parsing package
i had downloaded the said files but when I tried to install the files,it says problem parsing the package..how to fix this?
thanks,
Jovirex

HTC Desire AOSP Gingerbread Email APK that can bypass Exchange security policy

The attached Email.apk allows you to bypass Exchange email security policy (e.g. annoying lock, remote wipe, etc.)
Decompiled Email.apk from HTC Desire Gingerbread (CM7) and repacked it. Basically same method as posted by afflaq.
Here's the diff:
Code:
--- SecurityPolicy.smali.orig
+++ SecurityPolicy.smali
@@ -638,7 +638,7 @@
.prologue
const/4 v6, 0x1
- const/4 v5, 0x0
+ const/4 v5, 0x1
.line 216
if-nez p1, :cond_0
Tested to work on my HTC Desire. Should run fine on several Gingerbread AOSP ROMS like CM7, Oxygen and Redux. Just push it to /system/app
MD5: 0f30726e764df97f5a1c3c967cd4844d
Great, I'll try this now - I have the free version of enhanced email that was posted on here but i have problems with the push notifications - I only seem to receive emails when I've opened the app or on reboots. Hopefully this will solve it! Thanks!
EDIT: Sorry - I seem to be having trouble installing it - I get a Parse Error when I try - I'm not particularly good with these things so any help would be appreciated!
I've deleted the Email.apk from /system/app/ and pushed this to the same place. it won't install from there when I then go into it with esfile explorer or appinstaller however - I've alsoo tried to put the file on the sd card and install from there but get the same error - any advice for this?
I, too, am having trouble getting this installed. And yes, unknown sources is checked.
Can you push it again to /system/app via recovery mode? Just tested it again on my phone and it's working for me
Recovery mode didn't work for me either unfortunately..
Sent from my HTC Desire using XDA App
welshyoot said:
Recovery mode didn't work for me either unfortunately..
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
hmm weird. it works well in me. are you using aosp gingerbread? does the email icon appeared in the app menu? i have repackaged it as a flashable zip now. try flashing this via recovery.
Hmmm, thanks, I flashed the zip - it seems to have done the same thing (pushed apk to /system/app) - the email icon doesn't appear in the app list still however and i've navigated to it via esfile explorer in system and tried installing from there but get the same parse error. I'm running Redux 1.1.1 themed.. I've no idea why it's not working!
welshyoot said:
Hmmm, thanks, I flashed the zip - it seems to have done the same thing (pushed apk to /system/app) - the email icon doesn't appear in the app list still however and i've navigated to it via esfile explorer in system and tried installing from there but get the same parse error. I'm running Redux 1.1.1 themed.. I've no idea why it's not working!
Click to expand...
Click to collapse
i'll decode via apktool the email app from redux-themed 1.1.2 and i'll upload it later. i've tested it on redux 1.1.2 (not the themed one), oxygen 2.0.3 and cm 7.0.0 and it's working fine on me
Thanks man, I'm going to try to reinstall Redux 1.1.2 themed now (was having trouble with it before with major lag when answering, hanging up calls), but I'm going to do a total wipe before I reinstall it - then I'll try to flash your zip in recovery again and see if that will make any difference. I'll let you know how I get on.
Ok so I wiped, reflashed with Redux 1.1.2 themed, allowed unknown sources, flashed your zip - it didn't show in apps so I navigated to /system/app in file explorer and tried to install from there - same problem - parse error.. I don't know what else to try!
Sounds great, really needed such an app! Will try it soon! Hopefully it works ...
welshyoot said:
Ok so I wiped, reflashed with Redux 1.1.2 themed, allowed unknown sources, flashed your zip - it didn't show in apps so I navigated to /system/app in file explorer and tried to install from there - same problem - parse error.. I don't know what else to try!
Click to expand...
Click to collapse
Can you try removing Email.apk in /system/app, then reboot the phone, connect to USB, enable USB debugging and install the apk via adb (adb install Email.apk) if there's any error? I can't seem to figure out why it doesn't work on you
ok I'll try this a bit later and let you know if there's any error.. thanks for your help so far..
Sent from my HTC Desire using XDA App
Ok, so I tried installing via usb and got the error
pkg: /data/local/tmp/Email.apk
Failure [INSTALL_FAILED_OLDER_SDK]
I've had a look on the web and it seems there's some sort of difference between the sdk for the apk compilation and the one on my phone although I start to get a bit lost here as to what I should do next, if you've any advice that would be great otherwise I'll keep looking around to try to find a solution.
EDIT: I've had a bit more of a look at it seems that the app is using the latest android version - and for some reason I'm not (or perhaps the other way around)? I'm running Redux 1.1.1 (tried with 1.1.2 also) so I'm not sure why that would be...
welshyoot said:
Ok, so I tried installing via usb and got the error
pkg: /data/local/tmp/Email.apk
Failure [INSTALL_FAILED_OLDER_SDK]
I've had a look on the web and it seems there's some sort of difference between the sdk for the apk compilation and the one on my phone although I start to get a bit lost here as to what I should do next, if you've any advice that would be great otherwise I'll keep looking around to try to find a solution.
EDIT: I've had a bit more of a look at it seems that the app is using the latest android version - and for some reason I'm not (or perhaps the other way around)? I'm running Redux 1.1.1 (tried with 1.1.2 also) so I'm not sure why that would be...
Click to expand...
Click to collapse
thanks for this! i lowered the minSdkVersion in AndroidManifest.xml. Haven't tried this though. Can you try if this will work for you? In case, you encounter some FC, please clear data and stop email process in Settings -> Applications -> Manage Applications menu
MD5 of this file is 0f30726e764df97f5a1c3c967cd4844d
psygbert said:
thanks for this! i lowered the minSdkVersion in AndroidManifest.xml. Haven't tried this though. Can you try if this will work for you? In case, you encounter some FC, please clear data and stop email process in Settings -> Applications -> Manage Applications menu
MD5 of this file is 0f30726e764df97f5a1c3c967cd4844d
Click to expand...
Click to collapse
Great! It's now working! I deleted the system/app/ email and installed this one via adb - Thanks for your help that was really good of you.
Should I update my sdk on the phone somehow as that seems to be what the problem was?
welshyoot said:
Should I update my sdk on the phone somehow as that seems to be what the problem was?
Click to expand...
Click to collapse
nope. those are some misses in my part
thanks.
psygbert said:
nope. those are some misses in my part
thanks.
Click to expand...
Click to collapse
No worries, thanks for your help pal!
Ok, it's installed. When I set up my exchange account, still pops up that I need to allow device admin. they can wipe, etc.
??
tallgrasshawk said:
Ok, it's installed. When I set up my exchange account, still pops up that I need to allow device admin. they can wipe, etc.
??
Click to expand...
Click to collapse
As far as I'm aware, just click 'ok' and the exchange server thinks it's secured your phone... You don't have to add any lock screen or anything. That worked for me anyway.

CM10.2 Android 4.3 - No Phone App

Hello everybody, i installed the new CM10.2 Android 4.3 quarx ROM.
But it comes without the Phone app, i've tried to install just the apk that is on the zip file but no success he says "The app was not installed"
Can someone help me?
Thanks ^.^
xsasuke said:
Hello everybody, i installed the new CM10.2 Android 4.3 quarx ROM.
But it comes without the Phone app, i've tried to install just the apk that is on the zip file but no success he says "The app was not installed"
Can someone help me?
Thanks ^.^
Click to expand...
Click to collapse
Read this post and download his Dialer.apk:
http://forum.xda-developers.com/showpost.php?p=44115073&postcount=38
Then you must re-enable root. Go to Settings > Developer Options > Root access. Change to Disabled. Reboot. Go back and re-enable root.
Now, use Root Explorer to copy the dialer.apk to /system/app. Change permission to Owner=Read/Write, Group=Read, Others=Read
Reinstall dialer.apk from the /system/app directory. Dialer/Phone should be ok now.
mmm this seems be hard
i prefer wait quarx fix this problem.
If someone have something more easily to solve the problem then put here please.
Thanks.
This will actually take about 5 mins to do. Don't need to be a dev to do this.
Sent from my MB526 using xda app-developers app
Yes but i think i will make a error doing this but i will try.
Edit: i made all correct like you said and when i click to call he saids the dialer stop working..
Thanks.
Another problem with 4.3
A fix has already been released.
I have another problem, though.
· If the right menu is slid down and the button with the 3g/2g network is pressed (the one that comes default with the name of the company), all the radios are shut off, and it's impossible to shut them on again. Not even rebooting. Had to reinstall CM10.2. I'm using the ROM without that button, just in case. This bug has been reported in the developer forum but I think it hasn't been given attention.
· And... I like using "My data manager"... a very famous data usage app. It just doesn't work, no data is gathered. However, Jelly Bean default data usage menu works, but I don't like that! Is this a known issue? Is there a fix??
Maybe I should have opened a new thread for this... I'm a noob
Thanks!

[Q][HELP] [SOLVED] Positive button not working on Lollipop 5.0.1 dialogs

Hello everybody
I just updated my Nexus 4 to Lollipop 5.0.1 by wiping it and installing the factory image from Google
The most annoying bug I found is that when the UI prompts me a dialog, it doesn't work.
For example, when I try to install an APK file, this pops up (see Screenshot_2014-12-13-12-27-42.png in attachments), and I can only tap on "cancel". the "install" button doesn't work. Everything else seems to work fine, the navigation bar and scrolling the notification menu from the top of the screen give no problem whatsoever. This doesn't seem to depend on the APK file, nor on how do I send the command (I tried installing with ES file explorer, Dropbox, and an app called Easy Installer). I can't figure out a workaround, so I am unable to install APK's on the phone.
Another example are SuperSU requests (see Screenshot_2014-12-13-12-35-17.png ). Here the situation is worse: nothing in the dialog works, neither "deny", nor "grant", nor the box or the menu that read "ask again". Luckily there is an obvious workaround, as I can just open SuperSU and grant the permissions from there (the dialog in the SuperSU app seems to be proprietary and not from the Lollipop UI)
Probably useful info: I am using stock Android 5.0.1, rooted, with TWRP recovery and I installed Busybox (in /xbin).
I have no idea how to repair this. Can you give me some advice? If not, is there some workaround to the problem of installing APK's?
Thanks for the help and the attention.
P.S. This is my first post on this forum. I looked at the rules, but am new. So if I unknowingly broke some rules or posted offtopic I beg your pardon in advance. I also looked for other threads reporting the same problem, but found none.
I've read some posts where the user experienced the same or similar issues as yours. If I'm not mistaken, the issue was caused by some sort of a screen dimming software.
janedoesmith said:
I've read some posts where the user experienced the same or similar issues as yours. If I'm not mistaken, the issue was caused by some sort of a screen dimming software.
Click to expand...
Click to collapse
You were right. I was using an app called Lux 1.75 (sometimes called Lux Dash) that is an automatic screen dimmer. As soon as I stopped it, everything started working again.
Thanks a lot!
Lux Dash prevents Greenify to automate hibernate
ganileni said:
You were right. I was using an app called Lux 1.75 (sometimes called Lux Dash) that is an automatic screen dimmer. As soon as I stopped it, everything started working again.
Thanks a lot!
Click to expand...
Click to collapse
Yep- it was driving me crazy. Worked fine in KitKat but not Lollipop. Uninstalled Lux Dash and now hibernate works automatically after turning on Greenify in Accessibility.
thanks for the tip- prevented me from going crazy!!
steve

Rooted Device Keeps Rebooting...

Hi,
I recently rooted my Galaxy Note 4 (SM-910-C). At first when I was trying to change the Boot Animation I was able to copy files specifically "bootanimation.zip" to the "System/Media" folder using ES Explorer. Now whenever I try to copy that type of file or a "bootsamsung.qmg" file the phone just reboots itself. When the phone restarts and I go back to the folder I find the file is there but only with a size of 0.00 bites. Which means it did not copy correctly. Does anyone know why the phone is suddenly rebooting? Is it possible that the root is corrupted some way? Please advise how I can fix this issue. Thanks.
If you could produce a catlog we could look into it and assist you. Request you to produce them. Have u installed any xposed modules ?
Module
aukhan said:
If you could produce a catlog we could look into it and assist you. Request you to produce them. Have u installed any xposed modules ?
Click to expand...
Click to collapse
The Modules I have installed using Xposed are:
> Amplify
> Grennify
> Recent App Cleaner
> Wanam Xposed
YouTube AdAway
How do I produce the catalog?
Amplify should be causing the issue even I had same I've cleared the amplify data now I've not timed any wake locks, I would you to do same and try. Also I would suggest you to install Samsung server crash fix module and enable it to check if your still facing the issue.
Still
aukhan said:
Amplify should be causing the issue even I had same I've cleared the amplify data now I've not timed any wake locks, I would you to do same and try. Also I would suggest you to install Samsung server crash fix module and enable it to check if your still facing the issue.
Click to expand...
Click to collapse
Ok, I did as recommended but still have the same issue... how do I get to the correct log file or catalog to understand the issue better?
malmihdar said:
Ok, I did as recommended but still have the same issue... how do I get to the correct log file or catalog to understand the issue better?
Click to expand...
Click to collapse
Kindly install Catlog and from there you can extract the log file.

Categories

Resources