[Q] 4.2 and shared storage - Nexus 7 Q&A, Help & Troubleshooting

I'm not entirely sure exactly how google envisioned us using this multiuser feature. On the one hand, it seems perfect for sharing tablets among family members, otoh, the lack of a "shared storage" seems odd. Simple use case is something like: both people using the tablet listen to the same music. It would certainly be odd to download the same music or video files twice. THis would solve a lot of issues including the need for a mount point for OTG, as well as double downloading of game data (non user specific data like game files).
My question is: what is a possible way to solve this? IS there any hope at all? THe way storage is implemented with multi-user is confusing to me, i have no way of accessing user#2s stuff even as root when logged into user#1.

Really? ANOTHER thread about this? Are the 4896 already existing not enough?
Anyways, I just posted an idea for shared storage here:
http://forum.xda-developers.com/showpost.php?p=34744017&postcount=9

Related

gapps + market for stock firmware..YEAH

Hi, thank you very much bestialbud , for your contribution now enjoy factory firmware and all functions work perfectly in A7. and also I have the Market.
thanks for the positive confirmation.
i'll try and throw out some more stuff for you the a7 users this weekend to accompany the gapps fix; some build prop improvements to get you access to more apps.
i'll try and throw out some more stuff for the rom chefs to kick up the activity in rom and mod development for the a7; map out all the files, permissions and uid/gid's, and then MAYBE if i have the time this weekend go experimental and package the factory rom into what i consider a normal update zip; zipped up rom instead of a system image w/ a script that sets all the roms permissions, symbolic links and busybox install. once its in a more manageable format like that you'll get more would be chef's and themer's contributing.
been thinkin' about it all week, i just don't have a tablet of my own (i'm the misses android fixit tech), so my works restricted to weekend mornings.
would be great, that within your improvements we have an ad-hoc connection to work properly.
the market does not have all the permissions, but wiht the permissions you indicate the fix the problem.
I'm anxious to see your improvements. Thanks again.
i'm sorry my english.
genialor; yeah, i never had any success w the adhoc wifi fixes myself. adhoc limitations are pretty common for mobile devices, not just android. i actually picked up a dsl connection due to this limitation, quite reluctantly i might add.
there is some 25 other similar tegra tablets. a portable solution could still present itself. i wouldnt count on any manufacturer adding adhoc connectity if they didnt provide it in the initial release.
i can say the usual passion finger, or release keys added to the stock one didnt make any difference. but im only using skyfire for an app name to search.
if folks could list other apps they dont see, it may help to make some gradual steps.
otherwise as far as savey folks looking at direct manipulation; the fingerprint that the market app reads after being copied from build prop is stored in /data/data/com.android.vending along w the characteristics your device supports. im a compare the tabs to my phone for fun to see if i can manipulate the data, because fingerprint replacement, w this gapps package in the rom isnt working. if that works, i can post instructions for the savvy, and MAYBE dig up some way to creatively automate adding those details.
Sent from my X10a using Tapatalk
Thanks buddy install UPDATE04-16 market + google apps and it works perfectly.
Bestialbud excellent job. Full Market yes, yes, yes ...
What is the latest market app, on Dexter mod I am running 2.3.6..
if folks could list other apps they dont see, it may help to make some gradual steps.
Click to expand...
Click to collapse
Hey, Tested your update and it seems to work fine except for some game apps. These aren't crucial but may indicate some permission issues: "crazy snowboards" seems to have a orientation problem.( only work in portrait mode.) "mau mau"intermittent FC.
*** note these apps worked in Dexter's latest mode ***
Otherwise Good Job!!
I find the installation notes for gapps mod in original thread extremely confusing.
I just installed official firmware (BTW the installation notes on official site were crystal clear). What should I do now?
A video of the entire process would be great.
P.S: NP, I just did not understand that to navigate between recovery menu items I must use "back" button.
Looks like gapps works now
sorry, i didnt provide step by step details for recovery use. i wont update that information either, as recovery is likely to change soon w lightly different instructions..
Sent from my X10i using Tapatalk
Some market applications can't see sdcard...
Looks like it is mounted as /storage/sdcard-disk0 while these apps expect it to be at /sdcard. Also /sdcard is mounted somewhere on internal memory, same place as /storage actually . Is there any way to change it?
Some market applications can't see sdcard...
Looks like it is mounted as /storage/sdcard-disk0 while these apps expect it to be at /sdcard. Also /sdcard is mounted somewhere on internal memory, same place as /storage actually . Is there any way to change it?
Ummm, there's so much information on this...please do a search in these threads on SD card and you will understand why no one wants to answer that question............
okantomi said:
Some market applications can't see sdcard...
Ummm, there's so much information on this...please do a search in these threads on SD card and you will understand why no one wants to answer that question............
Click to expand...
Click to collapse
I did search and could not find any comprehensible information.
I didn't say it would be comprehensible.
The external sd card is mounted as /storage/sdcard-disk0. The A7 can read from it but not write apps to it, or at least the market doesn't and I don't think you can run apps from it, just install from it. There is an internal sd card 4GB total, but with 1+GB available for apps, and we can also add our own sd card (up to 32GB) stuffed with our music, videos, jpgs, documents, etc....that way we can access them through gallery and media players, etc, without having to download a bunch of junk onto our internal memory.
1GB is a huge amount of internal space for the kind of apps that I suspect most of us are using. Sorry if I'm not clear, but in truth this topic has been done to death.
Maybe our intrepid developers can find a way to rewrite the way this thing works now that they have the kernel source but maybe not.
there are ways and roms that may change the sdcard mount location. the apps may com thru the google market, but their ability to run is another function of the rom.
this is only a google apps addon.
you'll have to wait a lil bit longer til you see a rom from me. i'm interested in recovery and themeing for this device right now..
Sent from my X10i using Tapatalk
muxecoid said:
Some market applications can't see sdcard...
Looks like it is mounted as /storage/sdcard-disk0 while these apps expect it to be at /sdcard. Also /sdcard is mounted somewhere on internal memory, same place as /storage actually . Is there any way to change it?
Click to expand...
Click to collapse
This is an on going problem with the sd card and the way its mounted by elocity's implementation of Android 2.2. To male a long story short, Elocity's android version is 2.2 compatible not a true implementation of Android 2.2. As far as I know no one has been able to work around this problem. Dexter tried starting with mod 1.3 but people started having problems with sd and usb detection. I'm waiting for Stream Tv to finally decide to fix this problem.
rphilippe777 said:
This is an on going problem with the sd card and the way its mounted by elocity's implementation of Android 2.2. To male a long story short, Elocity's android version is 2.2 compatible not a true implementation of Android 2.2. As far as I know no one has been able to work around this problem. Dexter tried starting with mod 1.3 but people started having problems with sd and usb detection. I'm waiting for Stream Tv to finally decide to fix this problem.
Click to expand...
Click to collapse
Drugs are bad mm'kay
Why on earth do people feel the need to disseminate misinformation on here on such a regular basis.
Go back and re-read Dexter's posts on the subject. There is a reason, a real reason, not made up like "its not true android 2.2". This is not a phone, it has larger internal storage and thus relies less on the external media. To have it the way you people want it (like a monstrous phone) the external storage would end up being the default, making it difficult to use the internal storage, and also REQUIRING that you have a decent size microSD just to make the tablet usable.
BTW, I am still laughing that I am apparently using an Android knock off lolololol
netstat_EVO said:
Drugs are bad mm'kay
Why on earth do people feel the need to disseminate misinformation on here on such a regular basis.
Go back and re-read Dexter's posts on the subject. There is a reason, a real reason, not made up like "its not true android 2.2".
This is not a phone, it has larger internal storage and thus relies less on the external media. To have it the way you people want it (like a monstrous phone) the external storage would end up being the default, making it difficult to use the internal storage, and also REQUIRING that you have a decent size microSD just to make the tablet usable.
Click to expand...
Click to collapse
BTW, I am still laughing that I am apparently using an Android knock off lolololol
Click to expand...
Click to collapse
I don't understand your response. I read Dexter's post on the subject. You need to re-read it. OS's in general have standards. If I run a windows, linux or mac system to name a few, you expect your hardware and software to run a certain way. For example, when you to read, write or print a file, any software you run for that OS should allow you to this on any computer that you run that particular OS on the same way. This isn't rocket science for a typical consumer. If you want to prove to me that I don't know what I'm talking about or worse yet that I
"disseminate misinformation on here on such a regular basis
Click to expand...
Click to collapse
. , please show specifically where what I said concerning Android 2.2 is wrong other then that you may have read dexter's post.
This is not a phone, it has larger internal storage and thus relies less on the external media. To have it the way you people want it (like a monstrous phone) the external storage would end up being the default, making it difficult to use the internal storage, and also REQUIRING that you have a decent size microSD just to make the tablet usable.
Click to expand...
Click to collapse
. That's irrelevant. The standard is not about what you want but the way it was decided that the OS should work plus I believe this is or will be addressed in Android 3.0. This constitutes and opinion rather than a fact. I didn't spend $299 on your opinion which BTW I don't agree with.
I understand XDA is developers site and you guys are use to thinking outside the box, which is fine by me, but we aren't all here for the same reasons and when I purchase something and it says I'm getting a certain thing, as a consumer, I expect the minimum of what if I'm purchasing. The box days "Android 2.2" not "Android 2.2 compatible" or "Android 2.2 features" or "Android 2.2 clone."
The question is:
- What is "Android 2.2"
- How does this relate to software and hardware issues with the A7?
- Is there a work around?
- Is there a firmware update?
and If your replying to a post, do can you contribute anything helpeful because telling me to search all of Dexter's post because you think you say a post concerning this already without reference that to that post is a waste of everyone time.
rphilippe777 said:
I don't understand your response. I read Dexter's post on the subject. You need to re-read it. OS's in general have standards. If I run a windows, linux or mac system to name a few, you expect your hardware and software to run a certain way. For example, when you to read, write or print a file, any software you run for that OS should allow you to this on any computer that you run that particular OS on the same way. This isn't rocket science for a typical consumer. If you want to prove to me that I don't know what I'm talking about or worse yet that I . , please show specifically where what I said concerning Android 2.2 is wrong other then that you may have read dexter's post. . That's irrelevant. The standard is not about what you want but the way it was decided that the OS should work plus I believe this is or will be addressed in Android 3.0. This constitutes and opinion rather than a fact. I didn't spend $299 on your opinion which BTW I don't agree with.
I understand XDA is developers site and you guys are use to thinking outside the box, which is fine by me, but we aren't all here for the same reasons and when I purchase something and it says I'm getting a certain thing, as a consumer, I expect the minimum of what if I'm purchasing. The box days "Android 2.2" not "Android 2.2 compatible" or "Android 2.2 features" or "Android 2.2 clone."
The question is:
- What is "Android 2.2"
- How does this relate to software and hardware issues with the A7?
- Is there a work around?
- Is there a firmware update?
and If your replying to a post, do can you contribute anything helpeful because telling me to search all of Dexter's post because you think you say a post concerning this already without reference that to that post is a waste of everyone time.
Click to expand...
Click to collapse
----------------------------------------------
Dexter_nlb said:
this is all a misunderstanding of how tablets are supposed to work, and caused by the fact that android 2.2 is made for a phone with external memory cards, and less to nothing of internal memory.
the current installation where apps are "moved" to internal storage is actually how vendors are trying to implement 2 types of storage.
comparing this to a mobile with just sdcard, and android 2.2 only supporting one storage type, the preferred storage becomes the "internal" and sdcard handling as you notice is now pointing to a location with the internal storage location.
the mountpoint at the internal storage location is planned based on the fact that users coming from an android based mobile knows alot about where to find data, which is in the storage location, so its put as mount at the storage so its easy to access, and not actually any bug at all.
so until better handling is presented (hopefully 3.0) people will continue to think that the handling is wrong or something is not wright here, but it is correct.
your internal storage of "just" 1.5GB is the preferred location, as tablets are not meant to have sdcards as preferred storage, if you chose not to put a sdcard into the tablet. so the choice was easy, use internal storage for android so ppl didnt need to buy additional cards.
but the lack of storage internally is a vendor decision, not a bug or not "the android way" a problem in any way..
imagine, those users without any sdcard, being unable to use the feature of android to a storage, and needed to use data storage for all files, that would look strange, if you didnt have the option available..
it could have been planned differently but vendors (all of the tegra2 vendors) has chosen this path, which could have been done differently but its all relate to apps and how they expect your device to work..
a long explanation, but remember 2.2 is not made for tablets, it made for small devices with external memory cards, which is long overdue and is followed up with the new android 3.0 which hopefully solves your problem.
conclusion,
Nvidia could have chosen a different way of using android, but they're still rather new to the platform and their design is not without problems yet (honeycomb will show that too), so if they used real planning and organized memory and sdcard handling like 2.2 was made for, you would have no problems at all. Remember Nvidia designed it this way, and they are the reason you have problems..Lack of knowledge of design and functionality, like BMW trying to make graphics card for a pc, coming from designing cars, their work would not be in a class like nvidia graphics, but probably ok..but far from good..
Click to expand...
Click to collapse
There was no button to make the important text blink and slap you in the face at the same time, so I hope bold and red will suffice.
Don't get pissy with me because you are putting out misinformation and got called on it. There are people who come on here to learn and someone might have actually believed your BS about "Android 2.2 compatible" or "Android 2.2 features" or "Android 2.2 clone."
I have contributed. You on the other hand have not. Spreading crap like this is merely tantamount to telling people the sky is purple.
Edit: by the way, the "on a regular basis" part was not directed at you or any other individual person. I was pointing out how often this happens, not keeping score of who has done it the most.
Another Edit: Of course it will be addressed in Android 3.0 ... 3.0 IS FOR TABLETS!
Yet Another Edit: No, you are right, you didn't spend $299 on my opinion. You spent $299 on a bottom of the line Android 2.2 tablet hoping for the best, just like the rest of us... And since you seem so hung up on what the box said, did your box say "Powered by Android 2.2" or did it say "Powered by some guy named Rob's opinion"? I am willing to bet it said the first. However if you decide that you are willing to pay for my "opinion", there happens to be a donate button right under my name on the left. Thanks for playing.
so, yeah. mount locations a rom issue.
'piss' somewhere else?
Sent from my X10i using Tapatalk
Okay--this might be a stupid question, but am I supposed to install this and Dexter's mod over the firmware?
If so, should I do them in a particular order?
Thanks for all that you guys do!

Its about the multi users on 4.2

I'm sure everyone here uses and loves the multi users feature. It gives a true independent workspace for each user, however it's not always fascinating.
While the apps need to be downloaded in each profile, the main issue is about locally stored data.
For instance, I want to share some pictures that I have in my gallery with my wife on the same device but can't figure out how to do it.
Would appreciate if anyone can share a solution to be able to share local files with another user profile
junooni said:
I'm sure everyone here uses and loves the multi users feature. It gives a true independent workspace for each user, however it's not always fascinating.
While the apps need to be downloaded in each profile, the main issue is about locally stored data.
For instance, I want to share some pictures that I have in my gallery with my wife on the same device but can't figure out how to do it.
Would appreciate if anyone can share a solution to be able to share local files with another user profile
Click to expand...
Click to collapse
Well the apps actually are NOT downloaded for each user. Only one copy is used by both.
Have to think about intentionally sharing pictures. I am sure Google Drive would work - but that is overkill, and you might wind up with two copies...
sharing of local files is the main issue
junooni said:
I'm sure everyone here uses and loves the multi users feature. It gives a true independent workspace for each user, however it's not always fascinating.
While the apps need to be downloaded in each profile, the main issue is about locally stored data.
For instance, I want to share some pictures that I have in my gallery with my wife on the same device but can't figure out how to do it.
Would appreciate if anyone can share a solution to be able to share local files with another user profile
Click to expand...
Click to collapse
Nope, I have no use for multi-user on the N7 or any tab. To me, a tablet is a personal device, just like a phone. I have no need for multi-user on a Nexus 4 either, it's pointless.
Because storage is limited on the Google Nexus devices (discounting usb) both my wife and I have our own. Each is setup for our personal preferences and taste. If we want to share data, it's easily copied, or shared with Google drive, dropbox whatever.
We are both remaining on JB 4.1.2 and have no immediate plans to update.

Android Security Concerns

I'm hoping someone can point me in the right direction after spending a day reading about mobile phone security. I'm still confused as to what an app can do and how I can limit access. Some answers or a point in the right direction for more information would be helpful.
Apps that are granted permission "Modify/Delete SD Card" can pretty much read/write anything on my device? Could an app go through my sd card and see files, for example, music, movies, other data from different apps; file names/content? I have about 35 apps running on my phone with this access. I'd rather not leave it to "how much I trust the developer" and have some means to limit access to data.
I don't keep national security secrets on my nexus but there is work and personal information that is sensitive and I wouldn't want shared. It looks like if I use android to encrypt my data it only encrypts the /data folder and there doesn't seem to be much in there.
What about securing contact and calendar data? Is this possible? Not as critical as guarding my file data, but still important to me. Thanks.
Yes, files on the external sdcard are not protected, I.e. all apps which have the right to read/write sdcard can read/write everything there. One reason is just the filesystem type: on FAT you don't have access rights. On internal /sdcard it's a bit different, because it's using ext4 as a filesystem, so principally not all apps can read everything, but also here you have the problem that for example the camera, the gallery app, ... need access to the same files and directories. So at the moment you need to trust the apps in a certain way or not to install it at all.
Sent from my Nexus 7 using xda app-developers app
While it is difficult for someone with limited tech experience, it is plausible to protect your data with measures like XPrivacy or PDroid.
However, if you're looking for an answer without jumping through a few technical hoops, there aren't many good ones unfortunately. The best bet is as you already suggested, that is to be smart about where you browse the net, and only install trusted apps. Always think twice and review permissions carefully for any app even if it's from the Play Store.
And don't forget encryption only works similar to a house door. It's only good if you keep it locked. But if you let the bad guys into your house (i.e., installing a naughty app), it doesn't protect you much. It only keeps them out so long as you don't let them in (physical access). P.S. I'm assuming you're talking about the stock android encryption not actually having individual encrypted files on your device if not then ignore this paragraph (although I'm sure some will disagree that even having SHA-512 AES encrypted files with a extremely complex and long passwords is still not enough to protect data once a malicious user gets their hands on that file.)
Even on the internal SD card, it looks like once I give an app access to "modify/delete" the entire sd card is exposed; did I understand that correctly? It looks like grant access to everything or nothing.
After reading this:
http://appanalysis.org/
It seems that even trusted developers can't be trusted. I don't consider myself a novice user but I'm really surprised at how exposed the data is on phones and tablets. Its like leaving money on your front porch and hoping it isn't too tempting for someone to walk though a broken gate and grab.
Any idea what WP, iOS or BB10 offer in the way of data protection?
TheAltruistic said:
While it is difficult for someone with limited tech experience, it is plausible to protect your data with measures like XPrivacy or PDroid.
However, if you're looking for an answer without jumping through a few technical hoops, there aren't many good ones unfortunately. /QUOTE]
XPrivacy looks good, might be worth rooting for that app.
I'm not as concerned with an app downloading files and using a high level attack on my data. I am concerned about an app where the developer decides to go through my contacts, photos, and files which are unlocked and easily viewed. Then sell the data to whomever that can do whatever. No effort required, no ability to know the data was even accessed and no ability to lock the data. I think like most things, if there is more than a slight effort needed to access the data, they'll move on to something else.
I see Google offers encryption but I can't find information on exactly what is encrypted and if I install an app with say permission to contacts does that give them encrypted access to all contacts? For example, a program that can add a contact via sms I don't want to allow it to read all my contacts, just add a new one.
Maybe Android isn't the right platform for me.
Click to expand...
Click to collapse
mgerbasio said:
TheAltruistic said:
While it is difficult for someone with limited tech experience, it is plausible to protect your data with measures like XPrivacy or PDroid.
However, if you're looking for an answer without jumping through a few technical hoops, there aren't many good ones unfortunately. /QUOTE]
XPrivacy looks good, might be worth rooting for that app.
I'm not as concerned with an app downloading files and using a high level attack on my data. I am concerned about an app where the developer decides to go through my contacts, photos, and files which are unlocked and easily viewed. Then sell the data to whomever that can do whatever. No effort required, no ability to know the data was even accessed and no ability to lock the data. I think like most things, if there is more than a slight effort needed to access the data, they'll move on to something else.
I see Google offers encryption but I can't find information on exactly what is encrypted and if I install an app with say permission to contacts does that give them encrypted access to all contacts? For example, a program that can add a contact via sms I don't want to allow it to read all my contacts, just add a new one.
Maybe Android isn't the right platform for me.
Click to expand...
Click to collapse
Heh don't give up. To be honest at least android tells you when it grants a program certain permissions unlike some other OSes where you're in the dark in terms of security.
As far as I know, and I'm assuming we're talking about the same thing, the type of encryption Android offers only prevents people from gaining unauthorized access to your data if your device is mounted or accessed when your lock screen is up. (I'm sure someone will correct me if I'm wrong--please do). But if your device is not password protected (e.g., you set lock password to lock every hour and they get it when it's unlocked) then your data can potentially be compromised.
This encryption does not, however, protect your data as you're browsing the internet, or running apps like facebook.
If you're looking for something to protect your data from say facebook finding your GPS location without your permission, or accessing your contacts and doing God knows what with it, then XPrivacy and PDroid (links above) is your answer, and I'd say that's awesome.
I may not play around with an iPhone / iOS enough, but I'm confident enough to say that they don't offer the same privacy protection even from Cydia that you can get from communities like here on XDA. Perhaps for iOS users, ignorance is bliss?
Click to expand...
Click to collapse
TheAltruistic said:
mgerbasio said:
Heh don't give up. To be honest at least android tells you when it grants a program certain permissions unlike some other OSes where you're in the dark in terms of security.
Click to expand...
Click to collapse
Thanks again. I appreciate the comments.
All I'm really looking to do is prevent an app downloading all my contacts, photos, movies, files, etc. I have some work data on my tablet that isn't confidential but it is what I would call sensitive. Actually, I rarely use external memory, mostly just use in internal sd card.
It seems all the "good apps" grab more permissions than they need or, the permission they do need to operate gives them way more access than I'd like. I'm not so concerned that I'd start using Tor or duckduckgo, but just trusting a developer with an open door to data is more than I can to leave to chance.
From what I've been reading the sandboxing in iOS and WP provide good security and in BB you can remove permissions from apps; BB10 is still the most secure if you can believe the internet articles. I'd like to see Google make it more clear as to what encryption actually allows and prevents.
There seems to be apps that button up a lot of holes, like photos, but there still are gaping holes.
Click to expand...
Click to collapse
Hi guys,
Any progress? I use PDroid on my smartphone and find it unnerving to see how much and how often data is accessed not only by third party apps but by Google itself. With PDroid you can restrict permissions without bricking the app because it can provide fake data rather than none. I have to say that I am not entirely happy with it though. I hope that Firefox OS will have success in stopping the appification of our devices. Data wise, it is much safer to use web-based services than app-based services.
I think Google's Android is so successful with developers (also) because they can gather so much data. Our smartphones are unfortunately "data gold mines" for the ICT industry.
If you have any progress in improving privacy, safety and security of the Nexus 7 than I'd be happy to read about it.

QuickPic code share for storage increase

I wasn't aware of this app until it was pre-installed on a custom flash game in place of the default gallery.
I don't know how long they'll be around for, for such a massive photo storage cloud but the app has support for various other clouds and samba support as well. I initially wasn't that interested since I use Foldersync but I would like to try it out as my gallery for now, and that said it seemed I may as well get the bazillion Gig storage option. Doing it here keeps me from spamming my friends.
From the looks of it, you only need to get one referral, so if someone takes mine, please say so and repost a code assuming one is available, if not then I suppose its simply a good place for people to post who want space; referees get it as well therefore I'm unclear how it works in this regard.
Hey! I'm trying to get 1,000GB free cloud space, but I need your help!
---------------
Install QuickPic, invitation code [870717], we'll both win 1,000GB:https://cloud.cmcm.com/i?i=870717&l=en&d=i0
Click to expand...
Click to collapse
PantsDownJedi said:
I wasn't aware of this app until it was pre-installed on a custom flash game in place of the default gallery.
So that's how you found quick pic? Party's over thanks to Cheetah Mobile. RIP quick pic, the once best and only gallery app.
EDIT: DON'T BOTHER WITH THE STORAGE, JUST UNINSTALL THE APP.
Click to expand...
Click to collapse
Thanks for the heads up. I hadn't read the store comments because indeed it is how I found it. The interface and functionality are still good. Hopefully I can neuter any services and permissions I don't like after moving it out of /system (and it irritates me that ROM cookers put things there at all).
It's been quite some time since I had a gallery app with a folder view that was complete and was also able to delete photos when I told it to. Hopefully I can either find something else or get this one to do all of the above after removing it from /system and installing normally.
I only briefly, just now, by the way, and I didn't find all the file sharing support it advertises, including Samba but assuming the cloud space is in fact upgradable, another layer of redundancy would be desirable.
We shall see how things turn out...
EDIT: Permissions were fine. New code since I used the one I posted
ik8874

Rooting and Fixing Samsung Galaxy Tab E (SM-T560NU) (and fixing -504 issue)

Disclaimer: I know this should go in the correct subforum for my device, but I'm having trouble navigating this site, altogether. I only see subforums for a handful of devices. So if there is a better place for this thread, I apologize
Oh, where to begin. My wonderful girlfriend got me this tablet back in october, since i said it'd be nice to have a linux based tablet so i wouldn't have apple telling me what i can and cannot do with my device (she saw that as a hint, even though it was more social commentary, but I'll take it). Anyway, I found the 16GB limitation problematic, so I decided to root it so i could use some sort of sshfs app to create a slow multi-terabyte harddrive space to steam small files (like music) from. Seeing as i had the thing for only a week and it's kind of expensive, even for a nurse, to buy for me, i chickened out and made due with a small 8GB microSD card which i just happened to have laying around.
Fast forward to a few days ago, I ordered from Amazon a 128GB microSD card (also from samsung), and decided to try to make due with that. Only to find out (and, if you're able to help me you've probably met the following issues yourselves) that the seemingly largest apps refuse to let you move them to external storage. Even better, there's some apps like Star Wars KOTOR (2.5GB) that say they let you move them, but in reality they stay on internal storage and create empty folders on the external medium. And then many apps cannot write and read to and from SD cards (like DOSbox Turbo), for reasons that completely stump me (which leads to me having to move dos games back and forth when i want to play one that saves). I then read about this wonderful feature called "Adoptable Storage," and promptly go through all sorts of things to try to enable it, only to find out that, since I have Android Version 6.0.1 from Samsung, that feature was disabled by them. After using the email support to berate them (they don't have a suggestion box), decided to try to come here and figure out how to properly root this device and figure out how to solve my space issue (I have 128GB of space that I need to use, but have no idea how to use it for what i need to use it for). By the way, a small shoutout to Samsung support, despite my very terse response, there clearly was a human being at the other end and this human was very, very civil and said that they'll pass it on as feedback (I got the impression that the employee either had the same issue or at least wanted me to know that there have been alot of complaints about this issue).
Anyway, now that that wall of text is over, this is how far i've gotten.
I know that XDA is reliable, they've had problems in the past with malware, but it was unintentional and the ship has been cleaned. I don't know about anywhere else, so the rooting instructions i find elsewhere i assume are probably correct, but i don't know where to get files for the process that i can trust, outside of XDA (and i'm having trouble finding the files i need, here).
I have a nice little article from techbeasts.com ( techbeasts.com/install-twrp-and-root-samsung-galaxy-tab-e/ ), but I don't know where their downloads came from and how many people checked them out for windows and android trojans and such.
So...
1. Is that article accurate for android 6.0.1?
2. Are those files safe (free from corruption and viruses)?
3. If they're not safe, where can I get safe files?
4. I like to develop programs, and I want to be able to develop apps for android as well. Once rooted, how does one test how their app would work on an unrooted device to ensure the app follows the "proper procedures?"
5. How do I deal with apps that are root sensitive? The point of all this is so that I can keep using my apps, so if they all break because i'm rooted that defeats the purpose.
6. Other than having to be careful with what i do (I've used Linux for years, and I occasionally like to code in assembly), that it voids my warranty, and that screwing up can make for a really bad day, is there anything else that I should know? This is, indeed, my first touch screen device outside of Nintendo products, because my V3xi is fine for me as a phone.
EDIT:
7. Forgot the most important question: How would I go about getting adoptable storage working on this device once it is rooted?
Forward: Given the nature of my question, the URL is absolutely necessary. After I've gotten my "10 useful posts" I'll fix the URL for future viewers.
EDIT2: Decided to take a chance. Ran into some issues finding the "stock firmware" which I ended up having to do. For those that have problem getting TWRP to stick, you gotta flash the stock firmware of the version you have currently installed. I tried to flash the original that it came with, which, for some reason, it didn't like at all.
Oh, and don't turn off OEM mode after everything's done. I assumed that after everything was installed it wouldn't second guess it and i could safely turn it off for added security if any app went rogue or something. Nope, must keep it on, so do regular backups. Turn off auto-updating, etc. I hear there's some sort of app that lets you "update safely." Not sure what it is, but unless you *NEED* it, don't do it.
And as a bonus note (so it shows up in the archives), some apps didn't install right (either google or the app developer's fault, but these apps weren't tied to this process [pokemon go and just about all the final fantasy games]). The kicker about this is is that you will not notice this UNTIL you uninstall the app, and reinstall it. Deleting the data before uninstalling the app will make it unstable. To find the data, i used
Code:
du / | grep "pokemon" > pokesearch.log
, since i knew that there should not have been a pokemon related directory on my droid at the time, since i needed to reinstall pokemon go because it was acting really fruity. Deleting the folders (actually, the last entry contains the rest, so it's easier just to delete the last one) allowed me to avoid the -504 issue (not to be confused with 504).
Code:
[email protected]:/data/data/com.termux/files/home # cat pokesearch.log
4 /mnt/expand/07aa2c40-4a8f-428c-afb9-7495df69eb26/user/0/com.nianticlabs.pokemongo/cache
1192 /mnt/expand/07aa2c40-4a8f-428c-afb9-7495df69eb26/user/0/com.nianticlabs.pokemongo/code_cache
12 /mnt/expand/07aa2c40-4a8f-428c-afb9-7495df69eb26/user/0/com.nianticlabs.pokemongo/shared_prefs
4 /mnt/expand/07aa2c40-4a8f-428c-afb9-7495df69eb26/user/0/com.nianticlabs.pokemongo/files
1220 /mnt/expand/07aa2c40-4a8f-428c-afb9-7495df69eb26/user/0/com.nianticlabs.pokemongo
Message me if have the same tablet on a system root
Sent from my SM-S907VL using Tapatalk
denakor said:
Message me if have the same tablet on a system root
Sent from my SM-S907VL using Tapatalk
Click to expand...
Click to collapse
We can talk here for the benefit of the community. Any problems you might have should be documented for the sake of the community. But, yes, the -504 error i mentioned above can only be solved through root, so, yes, i was successful.
Kohlrak said:
We can talk here for the benefit of the community. Any problems you might have should be documented for the sake of the community. But, yes, the -504 error i mentioned above can only be solved through root, so, yes, i was successful.
Click to expand...
Click to collapse
I have the same tablet
---------- Post added at 09:32 PM ---------- Previous post was at 09:28 PM ----------
keith thibodeau said:
I have the same tablet
Click to expand...
Click to collapse
Tablet just updated itself after I tried to root it .. MM 7.0.1 but I didnt ask it to
I disabled automatic updates (from settings and google play, 'cause it's in both places) to prevent this problem. There might be a new firmware for the tablet, but i'm sticking to this version. I'm not sure you can downgrade after you upgrade, though. You can take a shot, though, if you're not afraid of loosing data. I doubt this process will brick as long as you can get the official firm ware on backup incase something goes wrong.
Kohlrak said:
We can talk here for the benefit of the community. Any problems you might have should be documented for the sake of the community. But, yes, the -504 error i mentioned above can only be solved through root, so, yes, i was successful.
Click to expand...
Click to collapse
Now it seems impossible to root without pc

Categories

Resources