[Q] SD card permission=S-OFF? - HTC Desire 601

Hi,
I´m using KitKat on my rooted unlocked S-ON Zara_UL and Iď like to use my SDcard for apps (move apps on sd,...). FolderMount didnt help (requires sd card permission). Can someone help me with this sdcard permission? Need to be S-OFF? How to get S-OFF? Many thanks

Use the app called sdfix: kitkat writable microsd

without being s-off OR having a kernel that allows /system write access no apps will help.
Either get rumrunner to s-off your device (not always simple) or boot to twrp, mount /system and adb pull /system/etc/permissions/platform.xml
edit platform.xml on your computer as shown in this link http://forum.xda-developers.com/showthread.php?t=2687734
then adb push it back to /sdcard/ and use twrp's file manager to move it to the proper location
Good luck

mrplowdan, you helped me again! thx a lot! adb pull and push solution worked!

Related

I may have bricked, NEED HELP!

So I htcdev unlocked. install amon ra, then I used nanbackup, then i install RezROM ICS
now i need to restore
and according to this post
http://forum.xda-developers.com/showthread.php?t=1447432
I need to flash the original PH98IMG.zip from the bootloader. I however don't know how to get PH98IMG.zip on my internal sdcard. I dont have access to android. or and sdcard adapter
so how can i do this
is there an adb command perhaps that will allow my to push the PH98IMG.zip to internal storage... Please help
boot into recovery. you can copy that to the sd card while it is in recoery
in recovery connect your phone to the computer and put the original PH91IMG.ZIP in the same folder as your adb.exe then run "adb push ph91img.zip /sdcard2/" without quotes. im not 100% sure of if thats it but if not just ask and ill test it till i figure it out still somewhat a noob haha
Also, correct me if I'm wrong, but will the phone read from the internal SD? I thought it only looked on external?
You are correct, you'll want to make sure that it's on the external sdcard (sdcard2).
I usually use either amon ra to mount the external sd card to Windows, or use adb to push. I usually find adb push to be my method of choice.
Also, I've found sometimes that when using the adb push command, you may need to first mount the external sd card in the mount menu in amon ra. For the sake of ease, I recommend just turning on use mass storage on the external card through amon ra.

[Q] Deleted ext sd card directory

While using WiFi Explorer to attempt to delete a file from my external sdcard I seem to have deleted the whole external sdcard directory on my stock Rezound. I have tried factory reset, but that doesn't add the missing directory back. As it is now my external card won't mount. I'm sure that there used to be a directory called ext-sdcard or something similar, but there isn't anymore.
If someone could please give me a very detailed walk-through of how to fix this, I would be very grateful. I'm 65+, not too terribly up on this stuff, but I am pretty good at following exact directions to copy and paste when it comes to rooting, etc.
Thanks in advance.
Can't say that I have been in that situation, so I'm not really sure what you deleted. If you just deleted the shortcut, then your data might still be there. Just so we're on the same page, do you have ES File Explorer installed? If not, can you download it from the Market?
Once you launch it. It should take you to the Internal sdcard. Do you see any folders or files? Look for "ext_sd". Might be wrong, but I believe that is just a shortcut to your External sdcard, not your actual card. If that folder is not there, hit the menu button, select New, folder, and name it... ext_sd
If that doesn't work or you do not care about the data on your cards, you could always try reformatting the sdcards. (Just be warned. If you do that, you WILL lose any data that might on the cards, such as pictures.) It should be on the same settings menu as the factory wipe was. First try "Erased SD card". If it is greyed out, select "Unmount SD card" first. If you still can't access the card, try erasing phone storage. Once reformatted, it may reload your ext sd card mapping.
I had a similar problem, since there is /sdcard and /sdcard2 in the root (top-level) directory I figured those were the actual mount points and /mnt/sdcard and /mnt/sdcard/ext_sd were symlinks. It turns out it's the exact opposite so I essentially deleted about 25GB worth of stuff I had on there.
Essentially you need to recreate the directory either from a file brower with root access (such as es file manager) or from the command line.
Run this command via either adb shell or a shell/terminal on your phone when you have root access: mkdir /mnt/sdcard/ext_sd
The mount command shows where it's mount point actually is. Like said above it is in /mnt/sdcard/ext_sd
/dev/block/vold/179:65 /mnt/sdcard/ext_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0202,dmask=0202,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
"Incorrect syntax" now
brando56894 said:
Essentially you need to recreate the directory either from a file brower with root access (such as es file manager) or from the command line.
Run this command via either adb shell or a shell/terminal on your phone when you have root access: mkdir /mnt/sdcard/ext_sd
Click to expand...
Click to collapse
I really appreciate the help. OK, I unlocked it, got root and tried to run the command "mkdir /mnt/sdcard/ext_sd" (without the quotes) with adb. The message I received back was "The syntax of the command was incorrect".
Hopefully I am a lot closer than I was.
If you don't mind, can I make a suggestion? Have you ran the latest .22 leaked RUU or any updates prior to this? Maybe look into Cleanrom 4.2(if you flashed the leak) or Cleanrom 1.7.5(if no leak). May be worth your time and patience to do this instead, as time is money.
Got it working - Thanks everyone
Prize goes to the suggestion of installing the leaked 4.0 Took me all day to figure out how to use adb, (it's hell to get old, kids), but finally all the stars were aligned and voilla. ICS kicks butt! Tomorrow I will see if I can remember how to unlock this thing again and install CleanRom. Again, thanks to all the helpful and friendly folks out there.
Glad you got it fixed!

ADB Device with no ROM

Ok so Im just expiramenting with a Atrix 4g and ADB to get a little more versed with it and discovered that the rom I flashed is incomplete so it obviously wont boot however I have access to CWM and the device is unlocked. Now this would be so much simpler if I just had a SD card but seeing as I dont there is no way for me to mount sd card... Im just trying to figure out the directory in which I need to push my ROM.zip file so that I can see it in CWM. Right now I have successfully pushed it into my /data/ROM.zip however I cannot access that directory through CWM. Using the ls /DIR/ command I did some delving to see if I can find the root directory that CWM explores but I cant seem to find any of the files that I know exist or directories...

Problem with root user

Hi,
I succesfully root my cubot p7. I've only a strange issue. the root user has no access to sdcard.
I explain better:
If for example i open a terminal and move to /mnt/sdcard i can read and write the file into it. If i type SU and switch to root user i see the folder empty.
Neither root explorer or root browser can access sd card.
has someone solved this problem?
Thanks
I did some other test.
In root explorer mount r/w button seems to be ineffective...
tatanka77 said:
Hi,
I succesfully root my cubot p7. I've only a strange issue. the root user has no access to sdcard.
I explain better:
If for example i open a terminal and move to /mnt/sdcard i can read and write the file into it. If i type SU and switch to root user i see the folder empty.
Neither root explorer or root browser can access sd card.
has someone solved this problem?
Thanks
Click to expand...
Click to collapse
tatanka77 said:
I did some other test.
In root explorer mount r/w button seems to be ineffective...
Click to expand...
Click to collapse
It sounds like your internal memory might be dying. I've seen it before.
Try an fsck on the SD card location from TWRP or CWM
Which option i've to use to launch fsck from recovery? I tried from terminal and it say "unable to find /etc/fstab"
I did a fsck from recovery / adb terminal but no error show in all blocks device i checked...

[Q] Doogee DG280 mt6582 Kitkat root write-only

Hey.
I am no stranger to Android hacking so I downloaded newest ROM for my Doogee DG280 (mt6582).
I flashed it, then backed up using SPFlashTool, processed using MTKDroidTools to mod boot and recovery
and from this new CWM I installed SuperSU update from ZIP file.
So far so good, BUT:
Once any application requests root (i.e. calls "su"), it loses the rights to READ from sdcard (actual or emulated, doesn't matter).
I am emphasising READ because common problem on Kitkat is that the apps cannot write on SD card, which is easily
fixed by the SDFix app (tried it - no help).
So basically, all my apps can now read/write sdcard, but once an app requests root access, from that moment it can only write
to the SD, but not read from it. This creates lots of ****ty situations - for example, I download a file to an SD card and want to
copy it to /system/media/audio using Total Commander. So I do this, Total Commander says it needs to remount the partition.
I click Yes, it requests the root, remounts the partition (success) to rw and then tries to copy the file from SD but because it now
has root, it has lost the rights to actually read the file I want to copy.
Funny thing is, when I connect USB debugging and use ADB, the ADB is rooted as well and it CAN read from the sd card.
So there is a workaround for me now to use Android terminal, connect to the adbd on localhost and execute all the commands
I need but that is VERY nasty and of course it only works for manual operations.
Many root apps use sdcard to store data, for example Lucky Patcher stores downloaded patches on SD card. But with this bug
it cannot.
Anyone encountered this problem? Any solutions?
Try flashing this zip in recovery. Remember to take a backup before flashing. Did wonders for my phone running on MTK6582 chipset on KK ROM.
https://mega.co.nz/#!200y1KbA!-Z9tBbQrOAOCxP3Kis_c1idJQAMytR0O7AgGsuW3osY
no help
Unfortunately, didn't help. I examined the package and it does the same as SDFix app (which I already tried). But all these apps focus on giving write access to SD cards for ordinary apps.
I have a different problem - my apps actualy CAN read/write SD card right to the moment when they request root (call "su" binary). After that, they lose read access to the card.
Have you tried installing Busybox?
Maybe this helps: use SuperSU, disable the "mount namespace separation" option in SuperSU's settings. Reboot.

Categories

Resources