Hi All,
Since I am getting nowhere and no replies for my questions, I am going to rephrase them differently here so hopefully someone can jump in and give me a helping hand... (and please forgive if I seem to bombard the forums with questions).
My Note 3 SM-N900A, build KOT49H.N900AUCUCNC2, running 4.4.2. It is having issues with permissions that effectively block the phone from seeing any SD Card, USB, and internal memory space. It won't access any remote resources like internet or Google Play...either
Issues arose after I changed platform.xml. I since then unrooted the phone and uninstalled SuperSU. I can see that these 3 changes were reckless on my part, that I just put the phone into a very bad state that made it very very difficult to recover. I am still banging my head for the blunders but obviously that didn't help fix the phone. :crying:
I would like to know if there is a way to gain access to the phone's system area again to fix the permission issues. Can I use ADB Shell along with USB debugging? If yes, what are the commands I need? Can I somehow send towelroot and SuperSU to the phone via Odin and execute them? The reason I ask this is that I have no way to access any storage area on the phone, and there is no way to go online to download apps. Or can I put the phone into service mode by typing in the *# numbers on the keypad and hopefully fix it there?
Thank you
At this point I'm not even sure if adb would be able to access your memory card to push TowelRoot to it. You might be best off restoring using the stock Odin files, lick your wounds, start over and chalk it up as a learning experience.
http://forum.xda-developers.com/showthread.php?t=2703006
Sent from my AT&T Galaxy Note 3 using Tapatalk®
OK, Something Positive
andygev35 said:
At this point I'm not even sure if adb would be able to access your memory card to push TowelRoot to it. You might be best off restoring using the stock Odin files, lick your wounds, start over and chalk it up as a learning experience.
http://forum.xda-developers.com/showthread.php?t=2703006
Sent from my AT&T Galaxy Note 3 using Tapatalk®
Click to expand...
Click to collapse
Ah, thanks for replying. I was really worrying about that too.
However, I just installed ADT on my PC and connected to the phone via USB debugging. Using the adb shell ls command, I could see the entire directory structure. I was able to get to the system folder too.
I pulled the platform.xml back and attached to this message. Could you or someone please take a look and let me know if anything is wrong in the file? I made very small changes and reverted them. So it should be same as original, but I am not so sure. Also do you know if the encoding of the file is wrong so that Android couldn't read it?
At this point, it appears all is NOT lost. I just need some of your experts to guide me thru the commands needed to regain the access to my SD card or storage from the phone.
Now, let me bring in another point: Prior to having all this snafu, I granted ES File Explorer root access so that I could overwrite the platform.xml file. I don't know if doing that messed up the system. If it did, what would be the most straight forward way, simplest way to try to get back to normal? Provided now adb seems to be able to access the files and directory.
I know I could try install towelroot again, but would like to see if I can bring the system back to normal operation first.
Thanks
I may be wrong, but adb being able to see and pull system files is one thing. To get adb to actually modify system files, you'd need to be able to give adb root access. You may however be able to download the TowelRoot apk to your computer, put it in the same directory as adb, then in the command prompt type "adb push towelroot.apk /data/app/" (without quotes). Reboot and see if TowelRoot installed.
Sent from my AT&T Galaxy Note 3 using Tapatalk®
vbcomer said:
Ah, thanks for replying. I was really worrying about that too.
However, I just installed ADT on my PC and connected to the phone via USB debugging. Using the adb shell ls command, I could see the entire directory structure. I was able to get to the system folder too.
I pulled the platform.xml back and attached to this message. Could you or someone please take a look and let me know if anything is wrong in the file? I made very small changes and reverted them. So it should be same as original, but I am not so sure. Also do you know if the encoding of the file is wrong so that Android couldn't read it?
At this point, it appears all is NOT lost. I just need some of your experts to guide me thru the commands needed to regain the access to my SD card or storage from the phone.
Now, let me bring in another point: Prior to having all this snafu, I granted ES File Explorer root access so that I could overwrite the platform.xml file. I don't know if doing that messed up the system. If it did, what would be the most straight forward way, simplest way to try to get back to normal? Provided now adb seems to be able to access the files and directory.
I know I could try install towelroot again, but would like to see if I can bring the system back to normal operation first.
Thanks
Click to expand...
Click to collapse
Here's the original stock platform.xml if it helps you.
andygev35 said:
I may be wrong, but adb being able to see and pull system files is one thing. To get adb to actually modify system files, you'd need to be able to give adb root access. You may however be able to download the TowelRoot apk to your computer, put it in the same directory as adb, then in the command prompt type "adb push towelroot.apk /data/app/" (without quotes). Reboot and see if TowelRoot installed.
Sent from my AT&T Galaxy Note 3 using Tapatalk®
Click to expand...
Click to collapse
Edit: instead of using adb push, use "adb install towelroot.apk" (if that's the actual package name). Go through the rooting process, download the ES File Explorer apk to your computer install it using adb. Hopefully if all that works, you'll be able to check and fix any permissions that got messed up with your platform.xml. It should be rw-r-r.
Sent from my AT&T Galaxy Note 3 using Tapatalk®
A Step Forward
andygev35 said:
I may be wrong, but adb being able to see and pull system files is one thing. To get adb to actually modify system files, you'd need to be able to give adb root access. You may however be able to download the TowelRoot apk to your computer, put it in the same directory as adb, then in the command prompt type "adb push towelroot.apk /data/app/" (without quotes). Reboot and see if TowelRoot installed.
Sent from my AT&T Galaxy Note 3 using Tapatalk®
Click to expand...
Click to collapse
OK. You are right. adb doesn't have write access yet.
I tried this and got success:
C:\AndroidDev\sdk\platform-tools>adb install tr.apk
1767 KB/s (113099 bytes in 0.062s)
pkg: /data/local/tmp/tr.apk
Success
What should I do next? Does it mean the tr.apk has been installed?
Thanks
Update: I saw the Towelroot app in the App Drawer, but after clicking on it and choosing "make it ralr", I got message "Unfortunately, towelroot has stopped."
vbcomer said:
OK. You are right. adb doesn't have write access yet.
I tried this and got success:
C:\AndroidDev\sdk\platform-tools>adb install tr.apk
1767 KB/s (113099 bytes in 0.062s)
pkg: /data/local/tmp/tr.apk
Success
What should I do next? Does it mean the tr.apk has been installed?
Thanks
Click to expand...
Click to collapse
Sounds as though towelroot is now installed. Go to your app drawer and run it.
Sent from my AT&T Galaxy Note 3 using Tapatalk®
andygev35 said:
Sounds as though towelroot is now installed. Go to your app drawer and run it.
Sent from my AT&T Galaxy Note 3 using Tapatalk®
Click to expand...
Click to collapse
Yeah, it is installed in the App drawer, but running it gave me error "Unfortunately, towelroot has stopped.".
I went ahead and install both ES File Explorer and SuperUser packages. From ES FE, I could look at the /system/ect/permissions/platform.xml and could see that it had a different date, its date is older, 3/15/2014. I think it came with the N900AUCUCNC2 that I flashed with Odin yesterday.
So, it appears the permission come from a different place or source, I would like to know where Android actually sees the permissions. You know, how did it think that it needed to lock down read/write access to storage areas while the /system folder has been replaced.
Thanks
vbcomer said:
Yeah, it is installed in the App drawer, but running it gave me error "Unfortunately, towelroot has stopped.".
I went ahead and install both ES File Explorer and SuperUser packages. From ES FE, I could look at the /system/ect/permissions/platform.xml and could see that it had a different date, its date is older, 3/15/2014. I think it came with the N900AUCUCNC2 that I flashed with Odin yesterday.
So, it appears the permission come from a different place or source, I would like to know where Android actually sees the permissions. You know, how did it think that it needed to lock down read/write access to storage areas while the /system folder has been replaced.
Thanks
Click to expand...
Click to collapse
I'm at the limit of my experience here... Did you do the all in one restore or the 4 file restore?
Sent from my AT&T Galaxy Note 3 using Tapatalk®
andygev35 said:
I'm at the limit of my experience here... Did you do the all in one restore or the 4 file restore?
Sent from my AT&T Galaxy Note 3 using Tapatalk®
Click to expand...
Click to collapse
Thanks for hanging in and helping, you don't know how much I appreciate your time!
I did the all in one first. That didn't help. Then I did it again with the re-partition with PIT file. But that didn't help either. I didn't try the 4 files individually for fear of losing data.
vbcomer said:
Thanks for hanging in and helping, you don't know how much I appreciate your time!
I did the all in one first. That didn't help. Then I did it again with the re-partition with PIT file. But that didn't help either. I didn't try the 4 files individually for fear of losing data.
Click to expand...
Click to collapse
I think you've just about done everything you can do without a complete Odin reinstall and reformat. If adb pull is working for you I suggest pulling the folders you want to save and doing the complete 4 file install with the PIT file as well.
Someone more experienced than I may be able to get you back up without losing your but tbh with the amount of troubleshooting you've done already I think a full Odin reinstall is your best option and will prevent any issues that could stem from this further down the line.
The only thing I can think of with towelroot is that it needs internet access to run were you connected to wifi when you ran it? It's probably not that simple but figured it couldn't hurt to try!
brisinger08 said:
I think you've just about done everything you can do without a complete Odin reinstall and reformat. If adb pull is working for you I suggest pulling the folders you want to save and doing the complete 4 file install with the PIT file as well.
Someone more experienced than I may be able to get you back up without losing your but tbh with the amount of troubleshooting you've done already I think a full Odin reinstall is your best option and will prevent any issues that could stem from this further down the line.
The only thing I can think of with towelroot is that it needs internet access to run were you connected to wifi when you ran it? It's probably not that simple but figured it couldn't hurt to try!
Click to expand...
Click to collapse
Hi there,
Thanks for replying. I am kind of afraid I will have to go down that route, but at the same time trying not to if I could.
One of the other reasons I didn't try the 4 files was because I thought the all-in-one, as its name suggested, would be equivalent to those 4 files.
Is there a way to pull the SMS, MMS, call logs from the phone via adb? Do you know where those records are kept?
Thanks
vbcomer said:
Hi there,
Thanks for replying. I am kind of afraid I will have to go down that route, but at the same time trying not to if I could.
One of the other reasons I didn't try the 4 files was because I thought the all-in-one, as its name suggested, would be equivalent to those 4 files.
Is there a way to pull the SMS, MMS, call logs from the phone via adb? Do you know where those records are kept?
Thanks
Click to expand...
Click to collapse
The all-in-one file is the same as the 4 files, the only difference is installing it doesn't wipe the internal storage.
Have you tried running adb backup? That would be a heck of a lot easier than pulling a bunch of folders...if that doesn't work the databases are in /data/data
Calls: /data/data/com.android.providers.contacts
SMS and MMS: data/data/com.android.providers.telephony
Is there is any shell command to long tap
Related
I just rooted a new captivate (about 2 wks old) using one-click root method. All seemed to go smoothly & SU permission is installed. I still can't sideload (sirius/xm app) or uninstall any at&t apps. I downloaded androidmate, astro & even bought Root Explorer......NO LUCK!!! THE PHONE IS THE SAME, I can't install or uninstall anything. I would just like to install sirius/xm app. Are the new phones patched against rooting? any help is appreciated, thanks!
ice10 said:
I just rooted a new captivate (about 2 wks old) using one-click root method. All seemed to go smoothly & SU permission is installed. I still can't sideload (sirius/xm app) or uninstall any at&t apps. I downloaded androidmate, astro & even bought Root Explorer......NO LUCK!!! THE PHONE IS THE SAME, I can't install or uninstall anything. I would just like to install sirius/xm app. Are the new phones patched against rooting? any help is appreciated, thanks!
Click to expand...
Click to collapse
need to enable sideloading first
rsx19 said:
need to enable sideloading first
Click to expand...
Click to collapse
thanks for the quick response. how is that done? I rooted the phone because 'sideload wonder machine' wouldn't work. I kept getting this error - 'loader.bat' is not recognized as an internal or external command, operable program or batch file.
is there something I'm missing. I've viewed dozens of vid tutorials & forum entries., they all said the same thing - 'use swm or root your phone and boom - start downloading apps' Obviously something is being left out. I don't know what steps I'm missing.
In the dev section, somewhere in the first couple of pages there should be a thread titled something like how to enable side loading. In the gen section stickies there is a wiki that had it too.
From a phone on an app
here's where i'm at so far:
1.tried sideload wonder machine, which failed. I kept getting this error:
'loader.bat' is not recognized as an internal or external command, operable program or batch file. this led me to step 2
2. used galaxy 'one-click root' to successfully root the phone, & i now have superuser permission accessible. still can't sideload apps, leading to step 3.
3. tried sideloading using andriod browser, which also doesn't work. i keep getting this error:
unable to find a version of the runtime to run this application. (running on winxp 32)
it seems as though my only other option is the adb method using command prompt, but i've avoided this method; i'm new to android and don't want to risk bricking my phone just yet.
is there any other 'simple' way to sideload on a rooted phone?????? i only want to install a few apps.
any help is appreciated, thanks!!!
What I did was go on youtube and watched a tutorial on how to enable third party apps, then searched another video for removing ATT bloatware. This helped me greatly as my captivate was my first android device. Now I have set up all kinds of cool stuff like wireless tethering and the lagfix. youtube really helps because you can watch them do it as you do it!
ice10 said:
it seems as though my only other option is the adb method using command prompt, but i've avoided this method; i'm new to android and don't want to risk bricking my phone just yet.
Click to expand...
Click to collapse
adb is the only method I've ever used ... never had a problem and find it hard to believe that sideloading a known app would ever brick the phone by doing it this way.
laxwillsch said:
What I did was go on youtube and watched a tutorial on how to enable third party apps, then searched another video for removing ATT bloatware. This helped me greatly as my captivate was my first android device. Now I have set up all kinds of cool stuff like wireless tethering and the lagfix. youtube really helps because you can watch them do it as you do it!
Click to expand...
Click to collapse
startngate said:
adb is the only method I've ever used ... never had a problem and find it hard to believe that sideloading a known app would ever brick the phone by doing it this way.
Click to expand...
Click to collapse
thanks for the replies. i just meant i didn't want to mess up the commands & brick the phone. the directions for 'set third party app to 1' etc, seemed confusing for a noob.
laxwillsch - thanks for the info. i went back to youtube & realized i misunderstood the directions. i just had to drop the apk files into tools folder in the sdk and install from there. thanks for all your help guys
um...anyone know how to undo all this if i get rid of this phone? lol
Hey all -- so i flashed back to JH6 with ODIN, got the JH7 update through Kies Mini, and then rooted. I also decided to use Launcher Pro as my default homescreen launcher.
Now i'm trying to use SWM to sideload some apps, but I always get the error (something like this) FAILED INSTALL PARSE UNKNOWN EXCEPTION ... the program recognizes my device just fine and loads up the .apk just fine but fails on trying to install it onto my phone.
anyone have an idea of what might be going on
SWM is unnecessary after root isn't it
Sent from my SAMSUNG-SGH-I897 using XDA App
Tchem said:
SWM is unnecessary after root isn't it
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
The 2 are not related. You do NOT need to root to use Sideload. The SWM just uses the ADB command from the SDK. You can do this all day long without root.
If you want to install apps from your phone (not your PC) then you need to root and then you need to edit the settings.db file to allow sideload on the phone. You can't get to settings.db without rooting your phone.
Does that help?
alphadog00 said:
The 2 are not related. You do NOT need to root to use Sideload. The SWM just uses the ADB command from the SDK. You can do this all day long without root.
If you want to install apps from your phone (not your PC) then you need to root and then you need to edit the settings.db file to allow sideload on the phone. You can't get to settings.db without rooting your phone.
Does that help?
Click to expand...
Click to collapse
sort of not really, as i'm trying to upload apps/widgets from my pc. i want to hold off buying Root Explorer, and apparently Droid Explorer doesnt work on win7 64-bit systems yet ... just kind of odd that SWM can't load to my phone. i either get the INSTALL PARSE FAILURE UNKNOWN EXCEPTION or INSUFFICIENT SPACE or OLDER SDK errors. doesn't make sense to me...
turn debugging on ,
don't put the .apk files in the sideloader folder at all. caused the whole no space avaliable for me when i did that
try that... works for me.
updated with the ota an i'm rooted.
yeah i had debugging on, left the apks in a completely separate folder (didnt put them in the payload folder). the main failure i get is the install parse unknown exception one
im thinking it might actually be the apks i'm trying to upload. i got one apk to upload successfully, so maybe the other ones have some bad code in them. *shrug*
specifically i've been trying to upload the REVOlution transparent apps. all of them fail for me. then i uploaded minimal icons apk just fine.
I am trying to back up all of my apps using titanium back up, but after running into multiple problems on TBU people have said that i need to enable side loading, i am trying to do that and everything goes well till i need to find settings.db and then i get lost, cuz i can't find that anywhere on my captivate or my laptop. please help me!! if you know of a much easier way to do the whole thing...then please let me know...thank you!!
Th3Nigh7Stalk3r said:
I am trying to back up all of my apps using titanium back up, but after running into multiple problems on TBU people have said that i need to enable side loading, i am trying to do that and everything goes well till i need to find settings.db and then i get lost, cuz i can't find that anywhere on my captivate or my laptop. please help me!! if you know of a much easier way to do the whole thing...then please let me know...thank you!!
Click to expand...
Click to collapse
What program are you using to find it? You need something like root explorer which is a file system available on the market which gives you access to files you can not see with my files. It us not free but is very useful.
Sent from my SAMSUNG-SGH-I897 using XDA App
i am not using any program. i am just connecting my phone to the computer and going into the command prompt...and then it tells me to pull settings.db i can't find it anywhere.
Do you have your phone rooted?
yes i do justmde
To use that command you need adb google it and will tell you how to install. Or you can use super manger from the market its free to get to the file. Be careful if you don't know what your doing you. I would read up om odin. One click and make sure you have the bottom combos just in case.
I am not too familiar with the command approach, but if you have root explorer you can navigate to your dbdata, darabases, com.android.providers.settings. Inside there us the file you are looking for. You can copy and paste it to you're internal sd. Then hook up to your computer and transfer the file to your pc. I believe you have to open some table and change a zero to a one. Save then drag back into your phone. Copy, paste back into the original directory where you found it. Over write, reboot.
Or you may consider a custom rom, all have this enabled, and have additional perks. Just saying, it is only a matter of time.
Sent from my SAMSUNG-SGH-I897 using XDA App
the main point that i wanna do..is i wanna go back to 2.1 and just save all of my apps and the progress in my apps. can somebody please message me or AIM me and walk me through???
I am completely new to this too man. I just rooted and enabled sideloading in about 10 minutes without even connecting my phone to a comp.
I'm not sure if it will work without installing the unleashthebeast thing, but to enable sideloading i just downloaded android terminal emulator from the market, opened it, typed in su, hit enter, then typed "sideloading". phone rebooted and now i can sideload.
Fellas, I come to here, humble and contribed. I, as all others, have the dreaded gps bug. I know there are a few posts concerning it, however, those are starting to get confusing to me. I ask for some simple instructions as to simply root my device, and procedure to replacing the files that are to make it functional again. No debloating, flashing of ROMs, or etc. DL links would be nice too.
Phone specs:
At&t n900a
4.3 stock
baseband n900aucubnb4
build number jss15j.n900aucubnb4
Have rooted other samsung devices, so not totally an idiot...
Any help will be much appreciated
Kingo
Sent from my SAMSUNG-SM-N900A using Tapatalk
zinupe14 said:
Kingo
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
As well as other posts to many threads here, someone posts partial answers, or simply something they read. Thanks . People wonder why they brick their devices....SMH
You asked how to root p. Kingo app is as simple as it gets. And it doesn't trip your Knox counter. If you want 4.4.2 then I would suggest downloading the urdroid rom and following the detailed instructions. I'm running the stock kitkat rom rooted with no Knox counter trip. Not trying to be a prick but the kingo root method was as simple as pi
Sent from my SAMSUNG-SM-N900A using Tapatalk
I'm not interested in kitkat, honestly, I dont care about custom ROMs. I just need to root, and the procedure for replacing the gps files that are to make the AT&T GN3 gps actually work. And possibly stop the updates.
if you're on the latest nb4 baseband than you'll need to google Kingo v.1.15 and find a download of that version. if you're still on mj5 than just google kingo app, download and install to a windows pc. open the app and follow the instructions. its easy. kingo should install the correct drivers. kingo doesn't always succeed the first time. if that's the case try again until kingo says success. once done update su superuser app via google play and restart your phone. now you have root. i don't have gps problems so hopefully someone else can help you with. good luck. sry i can't post any download links but if you use google you should have no problems
Honestly I'd just wait if I were you....
Rogers and tellus note 3 have gotten kitkat the s4 has gotten kitkat for att in looking for kitkat in the next few weeks to month.
Sent from my XT907 using xda app-developers app
Would some explain how to "flash" the gps files to fix the friggen thing. I have root with kingo, and downloaded the gpsfix from drakeymcmb, but 2 folders are extracted and only one is told what to do with, as well as how to change permissions for the files...thanks in advance
crazysgt said:
Would some explain how to "flash" the gps files to fix the friggen thing. I have root with kingo, and downloaded the gpsfix rom drakeymcmb, but 2 folders are extracted and only one is told what to do with, as well as how to change permissions for the files...thanks in advance
Click to expand...
Click to collapse
Ignore the meta folder. You're not "flashing" these files, you're copying them to your phone's system folder. Open the zip and open the system folder, then open the etc folder. Now copy the gps.conf file to your phone's system/etc directory. Now go back to the gpsfix.zip and open system then open lib. Copy the 3 libloc files to your phone's system/lib directory. Go back to the zip. Open system, open lib, open hw. Now copy the 2 GPS files to the phones system/lib/hw directory. Change each files properties to rw-r-r(Fix permissions). Now reboot. Warning if you don't know what you are doing i don't recommend doing this as messing with system files can lead to very expensive paperweight
The Basilisk said:
Ignore the meta folder. You're not "flashing" these files, you're copying them to your phone's system folder. Open the zip and open the system folder, then open the etc folder. Now copy the gps.conf file to your phone's system/etc directory. Now go back to the gpsfix.zip and open system then open lib. Copy the 3 libloc files to your phone's system/lib directory. Go back to the zip. Open system, open lib, open hw. Now copy the 2 GPS files to the phones system/lib/hw directory. Change each files properties to rw-r-r(Fix permissions). Now reboot. Warning if you don't know what you are doing i don't recommend doing this as messing with system files can lead to very expensive paperweight
Click to expand...
Click to collapse
Thanks! This is what I needed, I understand the risks, but also know the reward is a functioning gps, the meta folder and how to change the permissions is what was holding me back.
So on permissions, just rw, r,r no execute on any right? Now how to disable att updates? Thank goodness for yall smart fellas
crazysgt said:
So on permissions, just rw, r,r no execute on any right? Now how to disable att updates? Thank goodness for yall smart fellas
Click to expand...
Click to collapse
Sry for the late reply. Owner=read write, group=read, other=read. No execute
To disable AT&T updates, freeze the at&t update app. (Sorry, I can't get the name right now, I'm on a ROM that had it removed, but it's at&t <something to do with updates>, with little red and green lines on the icon.) Link2SD or TiB will freeze it.
One more quick ?, When I open Super SU, a popup appears, Samsung KNOX has been detected. This might limit root capabilities and cause annoying popups. Try to disable KNOX? I have always cancelled the popup. Is that correct? or should I ok it? Again, thanks guys for all the help. I used my gps without fail all weekend long. Not a single problem, gps or phone wise. Wonder if I was to unroot using Kingo app, and leave the gps patch alone, if it would still get OTA?
Hello!
So I have become a crazy cat collector with Nougat. But I recently switched roms so I dont have my beautiful cats anymore. :crying: What files can I copy from my old rom to get them back into my new one?
I found this article:
https://www.reddit.com/r/Android/comments/4tualq/what_i_know_about_cats_the_android_nougat_easter/
It didn't specifically say that cats can be restored but i tried copying the xml file from directory below. But it was a no-go
/root/data/data/com.android.egg/shared_prefs/mprefs.xml
Is there anyway I can be reunited with my cats. Please let me know.
God Bless
-The Cat Lady
You could try backing up the android easter egg app in tibu and restoring data when you flash the rom. I haven't tried it, so if you feel like taking a risk go for it.
CollinsB said:
Hello!
So I have become a crazy cat collector with Nougat. But I recently switched roms so I dont have my beautiful cats anymore. :crying: What files can I copy from my old rom to get them back into my new one?
I found this article:
https://www.reddit.com/r/Android/comments/4tualq/what_i_know_about_cats_the_android_nougat_easter/
It didn't specifically say that cats can be restored but i tried copying the xml file from directory below. But it was a no-go
/root/data/data/com.android.egg/shared_prefs/mprefs.xml
Is there anyway I can be reunited with my cats. Please let me know.
God Bless
-The Cat Lady
Click to expand...
Click to collapse
This might work but it also might crash your phone. Proceed at your own risk.
I was wondering if you ever figured out a way. I'm using a Nexus 5X so it's only a matter of time before the bootloops plague my device. Was hoping to back them up before then.
EDIT:
Would using ADB work?
Code:
adb backup -f "C:\CatsBackup20161229.ab" -apk com.android.egg
EDIT 2:
I was so close. Thanks to this Reddit post, I have used the following in a Windows Batch File to backup my Cats with a timestamp. Hope this helps any Googlers.
Code:
adb root
adb backup -f C:\CatsBackup_%date:~-4,4%%date:~-10,2%%date:~-7,2%.ab com.android.egg -system
What I'd done was long press the cat when one came up then just shared it to my Drive folder. I've also found duplicates will most likely come up (number of the cat) but the cat will be different color.
I've personally flashed numerous different nougat ROMs and different versions (7.0, 7.1, 7.1.1) in no particular order, and the Easter egg cat collection got backed up and restored on each and every ROM I've tried and used.
The way I go about this is, before I decide to switch ROMs or update using clean flash, I use titanium backup to backup the Easter egg app. Once I clean install an update or a different nougat ROM, I first unlock the nougat Easter egg in settings (tap the Android version a bunch and long press on the N animation to find the cat icon). Then head over to quick toggles, hit edit, find the cat toggle and add it to a desired slot. Finally, in titanium backup, find the Easter egg app, hit restore. It will ask what to restore, make sure you select "data only," do NOT restore "app + data," this may or may not cause system UI issues.
Requirements: Nougat ROM of your choice (any version) and root access.
This method works for restoring chrome tabs and possibly a few other system apps' data. Restoring system app(s) + data, however, will usually break things, so make sure to only restore the respective system apps' data only.
okay so i got the easteregg.ab file to back up onto my local disk, but i cannot get my phone to restore the .ab file through ADB.
ADB will say that i must unlock my device and allow the restore to complete however the phone is completely unresponsive to the request to restore, it as if nothing is happening.
what am i missing here :
adb backup -f easteregg.ab com.android.egg -system
(that puts an easteregg.ab file into c\users\xxxx)
then : adb restore c\users\xxxx
(adb then tells me "Now unlock your device and confirm the restore operation)
.....but nothing has happened and it asks for nothing on my phone and the cats are not loaded =(
Permissions. Were they set on the file when you restored it?
Strephon Alkhalikoi said:
Permissions. Were they set on the file when you restored it?
Click to expand...
Click to collapse
im not sure if i know which permissions your refering too, but the easteregg.ab file permissions are currently set to allow full control for the System, Administrator and the User.
How do i ensure the permissions are correct ?>
The permissions were likely completely stripped from the file when it was sent via ADB. You'll need to root and do one of the following.
*Use a terminal app to set permissions.
*Use a file manager with root access, navigate to the file's location, and set permissions manually.
The correct permissions are likely rw-r--r--, which uses the number 644.
Strephon Alkhalikoi said:
The permissions were likely completely stripped from the file when it was sent via ADB. You'll need to root and do one of the following.
*Use a terminal app to set permissions.
*Use a file manager with root access, navigate to the file's location, and set permissions manually.
The correct permissions are likely rw-r--r--, which uses the number 644.
Click to expand...
Click to collapse
My s7 edge is not rooted.
Is there anyway to restore the easteregg kitties with out root ? i thought that was possible.
Did you downgrade from a Nexus 6 to a S7? Sorry to hear that if true, because the S7 has a locked bootloader. The file likely never transferred to where you wanted it to go, as the locked bootloader would prevent that. Thus you need to unlock the bootloader to even transfer the file. ADB may have commands to set file permissions, but my recollection on that is hazy. It would also be irrelevant if the bootloader cannot be unlocked.
Strephon Alkhalikoi said:
Did you downgrade from a Nexus 6 to a S7? Sorry to hear that if true, because the S7 has a locked bootloader. The file likely never transferred to where you wanted it to go, as the locked bootloader would prevent that. Thus you need to unlock the bootloader to even transfer the file. ADB may have commands to set file permissions, but my recollection on that is hazy. It would also be irrelevant if the bootloader cannot be unlocked.
Click to expand...
Click to collapse
oh wow! i pulled up this thread last night and didn't even realize i was on the nexus 6 groups forums haha, boooooo on me =(
no i didnt down grade lol, i never had the nexus, i am just a s7 edge owner who doesn't want to loose their kitties in a phone swap =(
and yeah i had some real difficulties getting the .ab file to even save to my computer after messing around with a bunch of variations on commands through adb.
now im getting depressed again
..hey i REALLY appreciate all this help btw =\
Sorry to hear that. But unfortunately, unless you can unlock the bootloader, you're not going to be able to use ADB to transfer the file back. With a locked bootloader you can pull files, but not push them.
I shoulda realized that cause im not new to the rooting process at all and i hate having a phone with a locked bootloader but i really do like the s7 edge, it grew on me,....... alas my kittens will have to wait till the bootloader becomes available.....
Check the S7 Edge forums. I'm sure they have something that may help.