[Q] GoClever Tab R75 - /data/app/ problem - Android Q&A, Help & Troubleshooting

Recently I bought some invention. It is GoClever Tab R75. Unfortunately, to the application is intended only 300MB. They can not be moved to SD or Exterlnal_SD. I have given root privileges, but unfortunately I still can not do that. TitanumBackup tried but can not too. Pops up like it was successful, but nothing changes. Programs are in the directory /data/app/. Is it possible to change the standard path to other directory ? Application Directory Bind do not want to catch the path /data/app/ Thanks for any information.
This device has the android 4.0.4

Related

Smb client mount using cifs library and cifsmanager

Hello everybody, I'm new and I'm a noob
Yesterday night i have root my samsung galaxy tab 10.1, then i mount cifs module with the aim to moun a smb share on my tablet. In the end all works but i can't browse folder without root privileges. For example
Using root file manager or terminal i can browse read, edit or write any file
using another app i can't because it has no privileges.
Probably there'll be three solution
1- Run all app as root (i can't do that please help me)
2- Change permission to all folder (i don't like this way)
3- Resolve problem using other ways ( change cifs.ko or something like that)
Please help me, consider that i use cifs file taken from this thread
http://forum.xda-developers.com/showthread.php?t=1058713&page=2
Maybe you should set the mount point under /mnt/sdcard/
e.g. /mnt/sdcard/yourdir
I've tried but it doesn't work. I have red on the forum to put in the options
uid=1000 (system), gid=1015. You can read at the post 368 of this thread
http://forum.xda-developers.com/showthread.php?t=756158&page=37
But i can't get the solution
everything solved mountin on sdcard using option
uid=0,gid=1015
Solve a problem band another one will come. I have mounted a share and i can't write on it. Any ideas? I think that the problem is the same, on the privileges. I have red about cifs but i can't understand. First or all cifs privileges on android discard the server rule when i write a new file or edit a old one? Second when i use privileges what is the user that execute apps on android? Third i have to use it and what is its code? Thank you
up ^ up ^ up ^ up ^
Well everything works. I write what i did probably it'll be useful for anyone.
First of all android use a series of user each for subsistem ( gps,bluetooth, radio ecc) and app ( music player, contact ecc). When you mount a share any app have access to it only if it has all privileges, so you have to specify in option the uid of the app that should open or write the share. The uid of all apps can be found in /data/system/packages.xml.
That's all folks
Sorry for digging this up, but I just wanted to thank the OP.
I had exactly the same problem on my SGS and manually overriding uid and gid did the trick.
I wonder why only some people seem to have this problem, though.

[Q] Tablet Ematic 7

Hello, i just inherit my moms Android 4.1.1 Tablet Ematic 7" EM63 purchased from walmart, a 70 dlls tablet. but with an issue, The tablet shows 0.00 HDD space available if no external SD card is plugged in, and its unable to download data or install APKs, The tablet works fine for browsing or playing files from sd card. but if the user restart the device it shows the factory reset screen after boot. The user needs to set up the wifi, google account, etc. Everytime a soft reset is done.
i've been told that not unusual activity was performed (no rooting, installing apks or messing up with files) before the issue happen. The tablet does not have Root privilege installed yet.
after a pair of hours doing research on internet i saw that it was a common (?) issue on generic brand tablets with 4.1.1 and the "busybox" application update (as im aware, no one updated the application on my moms EM63 tablet). According to "Dejan" from another forum this is the obvious fix for my issue.
Iregistered since i needed to thank you for your help, also i have some tips to add!
I had the same problem with all files wiped out and not enough space to instal new apps..
here is how i solved it.
1. Download root explorer here
2. Copy it to your memory card, and instal it (don't worry you will not have memory instal problem while installing it)
3. Run root explorer, and go to preferences and thick option "show hidden files"
4. Go back and inside root explorer there is an option "search", click on it and type in word "busybox", hit enter, after few seconds while he locate busybox location (mine was in /system/Xbin/busybox ) just copy it to /system/bin.
after that just reboot tablet..TAAADAAAM all your apps and everything is back to normal.
hope this helps and thank you again.
Dejan from Bosnia
Click to expand...
Click to collapse
After trying to fix the tablet by my own following this instructions i noticed that the tablet has indeed the buxybox file in the path /system/Xbin/busybox instead the path /system/bin.
Now, here goes the question:
As stated before, i dont have Root Permisions so i cannot move the busybox to the correct path in order to complete that fix, Is it possible to fix this issue without having to root my device? Im not exactly sure how and if its possible to root my "new" EM63 tablet since there is no Hard drive disk space available.
Is there a "easier" way to fix this issue?
Thanks in advance for any help regarding this issue
Att:
Roberto Villa
as a side note, the HDD can be "read" by the pc.
Noobs!

[Q] iptables issue in android 4.4.2

Samsung Galaxy Tab Pro 12.2 (SM-T900), android 4.4.2 stock, rooted.
No any app can open a port (even higher 1024) . I'm getting errors like 'iptables: permission denied'. Root Check says device is rooted (and I can edit system files in Root Explorer). I tried 3 smb servers and 2 ssh servers. Everytime server starting it shows 'root permissions granted', but nothing.
Additionally I tried to add static route in terminal. It's appears in route table but not working.
To check is it realy iptables issue I need to (temporary) let non preveleged users edit iptables rules, but don't know how to do it. Can anybody help me?

[Q] How do I access android.os.storage.IMountService? System Dev's HELP!

I'm working on a custom tablet running Android 6.0.1
I have root access and have placed the app I'm making in the /system/priv-app/ directory and thus gaining access to system permissions.
This app needs to copy files from the sdcard partition to a flash drive (The tablet I'm working on has 2 Full USB ports) and then unmount the flash drive.
I've already got the file's being copied successfully, but I'm having trouble unmounting the flash drive.
From what I've read I need access to the android.os.storage.IMountService class.
How do I gain access to this class?
I've tried adding a classes-full-debug.jar file I found online and this did give me access to android.os.storage.IMountService but there were errors when trying to compile in Android Studio.
The main reason this tablet even exists is to create these reports and the people using these tablets are not very "Tech Savy"...
Simplifying the process to get the reports off the tablets is crucial, so any help at all would be amazing!
Habbert said:
I'm working on a custom tablet running Android 6.0.1
I have root access and have placed the app I'm making in the /system/priv-app/ directory and thus gaining access to system permissions.
This app needs to copy files from the sdcard partition to a flash drive (The tablet I'm working on has 2 Full USB ports) and then unmount the flash drive.
I've already got the file's being copied successfully, but I'm having trouble unmounting the flash drive.
From what I've read I need access to the android.os.storage.IMountService class.
How do I gain access to this class?
I've tried adding a classes-full-debug.jar file I found online and this did give me access to android.os.storage.IMountService but there were errors when trying to compile in Android Studio.
The main reason this tablet even exists is to create these reports and the people using these tablets are not very "Tech Savy"...
Simplifying the process to get the reports off the tablets is crucial, so any help at all would be amazing!
Click to expand...
Click to collapse
can't you just open a shell in the background of the app and do df -h and see what the drive mount thing it is on, then you can just type unmount /dev/<insert drive mount thing here>.
if anyone else has this problem the solution is http://stackoverflow.com/a/39792666/5194446

Updating certs on old AMlogic 812 android 5 TVbox

Recently my trusty old box stopped finding streams in kodi. I suspect it's related to the expired DST Root CA X3 cert that no longer is usable since last week. Since this OTT box hasn't been updated in over 5 years I'm left with few options short of tossing it and starting over, BUT I'de like to try to get android functioning again instead of scrapping the hardware.
Soo...hoping someone could provide some insight how to safely add the new certs to the existing system store -OR- completely replace it. I'm semi-proficient with ADB and the device is rooted AFAIK.
Option #1 : add in the new certs. Per https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ and https://letsencrypt.org/docs/certificate-compatibility/ I have installed the IdentiTrustCommercialRootCA onto the device (ISRG Root X1 I believe) but it installed as a personal cert, and I'm preparing to move it to the system store but I think theres an intermediate cert I need to install as well. I just don't know what it is, or where to find it.
Option #2 : add in the entire Mozilla cert package. http://wiki.cacert.org/FAQ/ImportRo...ect=ImportRootCert#Android_Phones_.26_Tablets has a nice walkthru and a cert package, but the docs get confusing when they explain how to import the two certs, and their download package has over 130 certs in it.
Option #3 : rebuild the entire system store from scratch. Googles github site has all the certs shipped with android 7, but I'm guessing I'll have install each one as a personal cert before moving each one to the system directory similarly to option 1.
Option #4 : REPLACE the entire cacerts.bks file from another android device via ADB. Is this SAFE ? https://forum.xda-developers.com/t/...h-kindle-app-just-stop-syncing.3205615/page-2
Anyone tried any of these, or any insight to any of these options ?
UPDATE : Worked option 1 last weekend, installed 5 certs- 2 from lets encrypt, 2 from identrust, and 1 I extracted from my browser. It was stupidly easy and without ADB since the box was rooted when I got it. Seems to have solved alot of issues, but how can I be sure the cert chain is intact and hashed properly ?
Hi there, could you please go into further details on this procedure on How you installed without replace the entire cacerts, or if you have found a better way.
I know a few friends with older devices and they could surely use my help as well I myself have an old Amlogic S812 device laying around which I wanted to put to some use. Thanks
ocd_amp said:
Hi there, could you please go into further details on this procedure on How you installed without replace the entire cacerts, or if you have found a better way.
I know a few friends with older devices and they could surely use my help as well I myself have an old Amlogic S812 device laying around which I wanted to put to some use. Thanks
Click to expand...
Click to collapse
My box came rooted, and it was required for the procedure I'm about to list here. I've inserted 5 new certs so far and havent seen any adverse effects, but I can say the SSL errors I was seeing in kodi logs no longer appear. I'm also still on android 5.1 so google isn't updating me. I wouldn't attempt this on a supported OS.
I've installed this one first : IdenTrust Commercial Root CA 1 from here : https://www.identrust.com/support/announcements
...also 3 from here : https://letsencrypt.org/certificates/
specifically ISRG Root X1 , Let’s Encrypt R3 , and the DST Root CA X3 ,
Get your certs in CRT format.
Now comes the FUN part :
Install certs normally (as user cert)- lockscreen method , as program certs.
I saw they were installed by looking at the user certs menu afterwards.
Start terminal program
type SU
mount -o rw,remount /system
The directory /data/misc/user/0/cacerts-added is where your user certs are stored. WRITE DOWN the filenames, you'll need them later. The names are now hashes of the actual certs
mv /data/misc/user/0/cacerts-added/FILENAME.0 /system/etc/security/cacerts/
This is where you actually move the certs into the OS folders. Use the 'hash names' you wrote down earlier, entered at the FILENAME.0 spot in the line above, for EACH file.
chmod 644 /system/etc/security/cacerts/FILENAME.0
As above, you'll need to chmod all the new certs.
You'll also need the chown root : root each new file as well.
mount -o ro,remount /system
Reboot
After reboot all your new certs should be system certs.

Categories

Resources