[solved] crashing accessibility app - AT&T LG G2

To the Admins, I'm not entirely sure where you guys would want this thread...troubleshooting seemed to be the most sensible.
all right everyone, I'll explain here how I fixed this, but keep in mind I have the ATT LG G2 running KitKat with TWRP 2.7.0.0 and I'm rooted. I only recommend this for advanced users. If you aren't an advanced user, well, make sure you have a backup. I'm sure there was a faster way to fix this, but my goal wasn't to find the fastest way initially, it was to find a working way. For example, you could just ADB everything. You could also, assuming you know how to use your OS to search that deep into the device files, done a rename, copy/paste etc. etc. Not all devices are made equal, so be CAREFUL! BTW, I was in debugging mode + charge only.
WARNING: I AM ONLY OFFERING THIS FOR INSIGHT TO ADVANCED USERS THAT KNOW WHAT THEY ARE DOING - I DON'T OFFICIALLY RECOMMEND THAT ANYONE DO THIS. I AM NOT RESPONSIBLE FOR ANY TRANSMUTATION FROM LG G2 TO BRICK.
Here's what I did:
1) I opened accessibility while hooked up to the debugger in Android Studio to see that it was producing a Null Pointer Exception.
2) I have a slightly modified version of the TOT file so that I can run TWRP and still be rooted in KitKat.
3) I am rooted, so I used Root Explorer to search for accessibility and found that the file is called "LGSettingsAccessibility.apk" and .odex - it's under (WITH ROOT ONLY) /system/priv-app/
4) I searched for a system dump copy online...I found this site: http://hunterspad.com/Domains/StorageCow/Xda/Users/garyd9/Extracted System/priv-app/
I found that by typing "LGSettingsAccessibility.apk" and initially found a Google Drive version but it was posted in September of 2013 - unlikely to be the odex and apk from KitKat hahaha. I used a Google Search that searched custom range between Feb 1st and today. I found 2 links, one of which is the above.
NOTE: I don't recommend anyone do the following unless you KNOW what you are doing and definitely have a backup to restore to if things go wrong
5) I sent the link for each file to myself on Google Hangouts. I used Hangouts to download the March 14th upload of the LGAccessibilitySettings.apk and LGAcessibility.odex
5.5) I copied each of the original files (.apk and .odex) from /system/priv-app/ to my /sdcard/LGBackup folder I created using the Root Explorer app.
6) I went into the app "Root Explorer" again after downloading both files (DID NOT INSTALL IT, though it probably won't let you anyway). I checked both files and copied them.
7) I went back to /system/priv-app/ and renamed the existing files to be replaced with the extension ".bak" so that the system no longer points to those files (NOTE: Root Explorer asked me to remount as R/W (read and write vs. read-only) a good feature of root explorer to be in read-only by default; dangerous territory.
8) Bottom right corner of Root Explorer it was waiting for me to "Copy Here" when arriving at the location where I wanted to copy the files: /system/priv-app/ and after copying them I decided to be a fool and install the apk and it told me something like "app not found" or something.
9) FINALLY went into Settings and touched Accessibility and VOILA! It worked! A lot of luck involved - the odexed and apk files may not have been the proper version. I could have checked with relative ease (though likely time-consuming) by using some of my android dev skills/utilities.
WARNING: I AM ONLY RECOMMENDING THIS FOR ADVANCED USERS THAT KNOW WHAT THEY ARE DOING.
Thanks to garyd9 on XDA - without your uploaded files on storage cow, I couldn't have fixed this problem!

Related

new x10 user, PLEASE HELP. =,(

i just bought an x10 phone and wanted to know how to install applications and themes... PLEASE HELP ME...
OK,
for apps:
From the market it should be pretty obvious, so I'm assuming you mean from an apk on your SD card.
You'll need a file explorer like Estrong (from the market) or RootExplorer (only works with 'root' (see below)).
You also need to allow 'applications from unknown sources' (Settings -> Applications)
Then just browse to the apk in the file explorer and selecting it should prompt the installation. After that you're good to go.
Themes:
this is a bit trickier (is that a word).
1. First up, you'll need root (kind of like admin rights on windows). The easiest way is to use the one-click root app from the development section, this installs as above and then on launching there's a 'Root' and an 'Unroot' button. Click root and you're done.
2. What you're doing when you install a theme is replacing the apk files for the phones framework and certain key apps. The modified versions that are copied mostly just contain updated resources (almost always .png files).
This is the reason you need root, you are replaced protected system files. It is also the reason that you can only have one theme at a time and can't 'hot-swap' them like in timescape, for example.
The best way to go about this, in my opinion, is to download one of chewitts themes. Before you install it take a look at the installer bat - open it in Notepad - sorry I'm just assuming everyone uses windows , probably get shot for those sort of assumptions here
It is my firm belief that, if you don't understand what is going on in that installer file then you need to do some more research, start with the stickies here (maybe the one about how to use chewitts installer) and check this thread out as well:
http://forum.xda-developers.com/showthread.php?t=714288&highlight=modify
Hope this is enough to get you started. Let me know if something isn't clear.

[Q] How to copy a /data file from unrooted Nexus S [I9020XXKD1]?

Hi there,
Is there a way to temporary root my Nexus S [I9020XXKD1] or alternatively a non-root way to access /data so that I can copy a file in and out? Essentially I want to be able to backup and restore some game saves
Most posts I've read basically have folks saying "Just root it", which is good advice to most but isn't right for me - I really don't want to have to wipe my phone and I'd also like to be able to dip my toe into rooting before taking a full leap. That, and aside from needing this one file in /data my phone works exactly as I'd like it to
I only need "su" access for a brief moment to copy off a file to and from /data. I set up the android sdk but ADB didn't work because of the protection of "production builds".
VISIONary seemed like the right kind of thing, but I don't believe it works for the Nexus S or recent firmware, so while temp rooting would be nice so would any solution that allows me to backup and restore some files in /data.
At the moment I am wondering if writing an apk of my own that copies/replaces this one file is the way to go - but that seems perversely long way around!
So any help/suggestions most appreciated
There is no temporary root for the Nexus S. You're either rooted, or you're not. However, if, perchance, you are on Android 2.3.2 or earlier, you might be able to root without wiping.
Without root, you cannot see the files in /data, but you can read/write the files directly if they have the proper permissions and you know the exact path/filenames. After poking around a bit, it seems that read & write permissions vary among apps. Most apps have full permissions reserved for the parent app. Some allow other apps/user to read some files, and read+write others. (The permissions being app-specific, if it can't be done by command line, I doubt it could be done by creating an app, either.)
So, what is the game? Perhaps I can do some exploring.
If you have the old bootloader (2.3.2 i think) you can boot a recovery without flashing. From you computer use "adb boot recovery.img" and boot clockwork recovery. From there you can mount and access the filysystems.
Sent from my Nexus S using XDA App
Maximilian Mary said:
There is no temporary root for the Nexus S. You're either rooted, or you're not. However, if, perchance, you are on Android 2.3.2 or earlier, you might be able to root without wiping.
Without root, you cannot see the files in /data, but you can read/write the files directly if they have the proper permissions and you know the exact path/filenames. After poking around a bit, it seems that read & write permissions vary among apps. Most apps have full permissions reserved for the parent app. Some allow other apps/user to read some files, and read+write others. (The permissions being app-specific, if it can't be done by command line, I doubt it could be done by creating an app, either.)
So, what is the game? Perhaps I can do some exploring.
Click to expand...
Click to collapse
Thanks I figured as much. The game is Dungeon Hunter 2 and essentially I am trying to implement a simple fix to make my save game work again (the fix is here: http://forum.xda-developers.com/showthread.php?t=1042675 a few posts down) but it requires root. So I do know the exact paths and filename.
Thank you for your helpful answer
Ok, I'm not having any luck here, and it's pissing me off. FYI, I don't have that game, so I'm testing it with Angry Birds. I can read and copy the file just fine, but I can't modify it without using root. The data file itself has read/write access, but the containing folder (files/) is read-only, so I can't overwrite the file after I've modified it. Since the file itself has r/w access, I wonder if it would work to modify the file directly, instead of using an outside program to modify it then overwriting it. (I'm a bit ignorant of the finer points of linux permissions.) This would require an app that would allow you to open and modify a file by typing the full path & filename, instead of just browsing the directory tree. You could also try < adb pull /data/data/com.gameloft.android.TBFV.GloftD2HP.ML/files/dh2_000.savegame dh2_000.savegame > (using the correct path, if that's not it). Then see if < adb push dh2_000.savegame /data/data/com.gameloft.android.TBFV.GloftD2HP.ML/files/dh2_000.savegame > works. The fact that you can copy the file out is promising, anyway. So even if you had to root, you could backup the file before rooting wipes everything, then fix it & back it up after you had root.
Btw, what version of Android are you on?
Edit: I think I'm getting somewhere. While you can't modify the file itself, you can modify the file contents. So something like this might work: < adb shell >
< more /sdcard/dh2_000.savegame > /data/data/com.gameloft.android.TBFV.GloftD2HP.ML/files/dh2_000.savegame >
So the next step is to get some help from someone who has the game and is rooted as to the exact path to the savegame file. Once we have that, I think we're golden. (Or, let me know if adb pull works with the path I guessed at.)
wow! Thank you for your help
In answer to your questions: my Nexus s is running 2.3.4 and you are correct about the file path (many other kind xda users died to bring us those paths ) is /data/data/com.gameloft.android.TB with the filename being dh2_000.savegame
I don't want to drive you to distraction! If I could back it up I probably would go ahead then and root the phone given how complexplaying with a non-rooted phone is!
I will try the adb pull method and let you know how I get on.
Thank you again for your help and for showing me why I probably do want to root!

System "semi" Writable?

I recently Wiped my Phone completely and decided to Re-Flash Viper 1.2.1.
I noticed a problem prior to re-installing but thought nothing of if since it wasn't crucial at the time.
In Root explorer, I am able to delete [i normally delete boot animations] system files but not add where I need to add. Example, I wanted to add a ringtone to my system/media/ringtones folder. I normally [for the last six years] could just copy and paste such files using a root file manager.
However, when I any these files to for example /system/customize/resource/ it doesnt add it. BUT IT DOES rename the file and save it under a dif folder.
Example. Tried copying-copy to-moving to "androidtwirp.mp3" from sdcard to /system/media/notifications and a message pops up saying"notificationsandroidtwirp.mp3 successfully copied-moved to" and it saves notificationsandroidtwirp.mp3 to /system/media/ and it stays there. retrying from that location only results in "notificationsnotificationsandroidtwirp.mp3".
So not only does it rename the file but it saves it in the wrong location. I am at a loss for word. I tried the basics to tryand fix this but i cant seem to hit it on the head.
Thanks!
Edit: Not updating Super SU app, file explorer seems to have worked. Will attempt to duplicate problem to see what actually caused.it.
FOUND IT!
Updating my ES File explorer broke my system writing ability. DO NOT UPDATE is because when you do...
Any file you move, copy/paste to the system will not work properly.
This first happened when I tried to copy and paste a boot animation after I updated ES root explorer. It would rename whatever file i was trying to paste/move/copy over and save it under a sub folder.
example.
copying a ringtone [i.e. androidtwirp.mp3] from SDCard to System folder, the path is /system/media/audio/ringtones/ and it would rename it "ringtonesandroidtwirp.mp3" and save it under /system/media/audio/.
So basically not only was it renamed [which i didnt want it to be] but it would save it to the folder before the actual folder i needed it to be in, plus it would corrupt the file deeming it useless.
moving "ringtonesandroidtwirp.mp3" into the correct folder would only result in "ringtonesringtonesandroidtwirp.mp3"
this happened across the board with all files being moved around
The ES File Explorer version 1.2.1 comes with works flawlessly so don't update it.
I uninstalled ES [also any folders in SDcard related to it] and downloaded JRummy's root explorer and everything is back to normal except i have to reboot the phone to see files [like ringtones and notifications] that i added to the system.
I think it has something to do with our devices having an unlocked bootloaader, but still S-ON. There's S-OFF in the Dev section now if you really need to write to the system folder a lot.
I came from the Vibrant so I know what you're going through
Yeah, im on a low hboot so s-off might not be in my plans since I can practically flash what I want but it was ES file explorer, when I updated the apk the root permissions broke when writting to the system. I emailed the dev and they said they'd have it fixed on the next update.
echo en Android

[GUIDE] Manually install Play Store on Fuhu Nabi Jr Edition SNBJR-MT5C-US

This guide is for helping people that want to install Google play store at fuhu Nabi Jr Edition SNBJR-MT5C-US that have some expert skills. It is not an automated procedure yet.
This edition is equipped with an MTK processor and is not recognized by Nabilab tools so this procedure has to be entirely manual executed.
Root your device
Root device using Kingo Root
Enter Daddy mode
Boot rooted device and enter Daddy mode
Install Es File Explorer
Allow unknown sources to be installed
Install File Explorer from direct downloading apk
Make system rw
Enter Root Explorer option in Es File Explorer and select to mount system as rw
Download zip
Download zip from link below and extract contents using Es File Explorer
Link = https://www.androidfilehost.com/?fid=24665509702140403
copy files to system folder
Copy files within each folder of extracted zip to own folder Inside system folder
copy files to data folder
Copy files within each folder of extracted zip to own folder Inside data folder
reboot
Reboot device and cross finger.
Do these procedures at your own risk
So after following this procedure, is the play store supposed to just show up in the list of apps? No installation or anything?
Works!
Thank you very much. I have the SNBJR-MT5C 8GB version, which I brought from Aliexpress.
A number of things dont work as I am not located in the USA so could not enter billing information, so many of the built in apps dont work at all.
Device Rooted.
Installed the files, and Google Play works! It asked me to create/use a google account, all looking good so far!!
Thank you!
Only thing left is to figure out how to remove/hide some of the built in apps in Nabi mode which are not appropraite for my kid, or are too advanced etc, or dont work due to billing issue.
...
Only thing left is to figure out how to remove/hide some of the built in apps in Nabi mode which are not appropraite for my kid, or are too advanced etc, or dont work due to billing issue.
Click to expand...
Click to collapse
Well, to do this uninstall you may use some apps available on playstore like 'es file manager' or 'titanium backup'; the ones I use most for this task.
The problem is that I do not have much luck on restoring deleted apps afterwards on this device.
You should try to disable the app on Android Apps settings before attempt to delete them.
slplsnphx said:
So after following this procedure, is the play store supposed to just show up in the list of apps? No installation or anything?
Click to expand...
Click to collapse
Yes !
Simple like that.
Play Store is available on drawer list of apps.
Bit of help
Hi,
I just picked up two of the 8 gig models for my boys. I want to get the google app store going on both so i can get the nick jr app on there. I would love to flash the nabi jr nickelodeon edition on here if possible, not sure if it is. I'd like to follow this guide. Any problems if i follow this guide and then do a system update via nabi update, or should i disable that?
I'd be willing to provide any stock files if that would help make a recovery? Should I do twrp to make a backup for myself anyways?
Any thoughts would be appreciated.
Cheers,
Kutas
_Kutas_ said:
Hi,
I just picked up two of the 8 gig models for my boys. I want to get the google app store going on both so i can get the nick jr app on there. I would love to flash the nabi jr nickelodeon edition on here if possible, not sure if it is. I'd like to follow this guide. Any problems if i follow this guide and then do a system update via nabi update, or should i disable that?
I'd be willing to provide any stock files if that would help make a recovery? Should I do twrp to make a backup for myself anyways?
Any thoughts would be appreciated.
Cheers,
Kutas
Click to expand...
Click to collapse
This procedure will not install TWRP, just play store.
It will not allow to flash another nabi rom.
By the way, since it is a different processor, they are not compatible.
We would need to port TWRP to this device and compile an specific kernel for this device...
This made my kid very happy.
arvati said:
This guide is for helping people that want to install Google play store at fuhu Nabi Jr Edition SNBJR-MT5C-US that have some expert skills. It is not an automated procedure yet.
This edition is equipped with an MTK processor and is not recognized by Nabilab tools so this procedure has to be entirely manual executed.
Root your device
Root device using Kingo Root
Enter Daddy mode
Boot rooted device and enter Daddy mode
Install Es File Explorer
Allow unknown sources to be installed
Install File Explorer from direct downloading apk
Make system rw
Enter Root Explorer option in Es File Explorer and select to mount system as rw
Download zip
Download zip from link below and extract contents using Es File Explorer
Link = https://www.androidfilehost.com/?fid=24665509702140403
copy files to system folder
Copy files within each folder of extracted zip to own folder Inside system folder
copy files to data folder
Copy files within each folder of extracted zip to own folder Inside data folder
reboot
Reboot device and cross finger.
Do these procedures at your own risk
Click to expand...
Click to collapse
I know this is an old thread with nobody paying attention to it anymore but I just revisited this topic to try again. Followed instructions (I'm pretty sure correctly). Good new is I do have play store in the list of apps but when I try to login to my Google account it just immediately gives the message "there was a problem communicating with Google servers" or something like that. Any idea what the problem might be.

[GUIDE]How to fix Wi-Fi not connecting/forgetting network

-Warning-
This was only tested by me yet, worked like a charm in my SM-G935F from Brazil with
Android MM 6.0.1
Build Number: MMB29K.G935FXXU1BPLB
Do it at your own risk​
Well, since I rooted my S7 Edge, I noticed that it's Wi-Fi wasn't working right, it didn't save the networks I had previously connected, and took a lot of time to recognize the networks when you turned on Wi-Fi, and after searching and searching for a while, finally found out how to fix it.
Requirements
- Phone must be rooted.
- Es File Explorer(you can download it on Play Store or download the .apk file)
I used ES File Explorer because it's easy to enable Root Explorer, but you can use any other file explorer if you want(since it enable you to use Root Explorer)
It's a easy process, but you need to be careful because any pass you follow incorrectly can brick your device(I guess).
So once you installed ES File Explorer, open it and click on the menu(upper left side), scroll down and enable the Root Explorer option, then go to your internal storage main folder(" / "), scroll down and enter the system folder, in this folder, you will find a txt archive named "build.prop", backup this archive, open it and tap options then edit.
You will:
1. Find the line "ro.securestorage.support=true";
2. Change true to false;
2. Save in the system folder;
3. Reboot the phone.
PS: If you haven't enabled the Root Explorer option, you will not be able to save the file.
If it don't work, replace the build.prop archive you backed up previously in the system folder.
Nice guide. But it probably won't work on Nougat, you need to replace secure storage libs with ones from Superkernel.
kykint said:
Nice guide. But it probably won't work on Nougat, you need to replace secure storage libs with ones from Superkernel.
Click to expand...
Click to collapse
Appreciate you like it!
Yeah, already expected that, but as I said, I only tested it with MM, still waiting for the official release of Nougat for my region.
guuimauricio said:
Appreciate you like it!
Yeah, already expected that, but as I said, I only tested it with MM, still waiting for the official release of Nougat for my region.
Click to expand...
Click to collapse
Nougat still hasn't been released in your region? jesus... Work, Samsung!
Delete
I want know the KNOX 0*1 how to fix 0*0. or use xposed hide it! let my phone look at no fusing. tks!

Categories

Resources