Difficult to write to internal and External Card - HTC U11 Questions & Answers

I have HTC U11 Stock rom with Magisk installed (Rooted).
Why sometimes I cannot write to my External SD Card?
And also I cannot write to my internal Card, for example I want to make a folder at "System/app/". I cannot do it although I have already rooted.
I used Total commander and already have superuser right.
Already tried with terminal : mount -o remount,rw /system (still not working)
Try with busybox, but can't install busybox, because cannot write to system.
Anyone can help.

reroot or restore the stock rom then reroot and then use a legit file explorer eg solid explorer

Related

[Q] Perplexed copying files to get market

I have an elocity A7 with 2.2 and V2.0121 firmware upgrade
I have successfully rooted with z4root
I have mounted with /system write access using mount/system (rw/ro)
I get the message that super user access has been granted
I have root explorer and can set toggle R/W button
I can copy files to the flash or usb flash
I can not copy files to /system folder
Problem solved. Got a different version of root explorer.

[Q] Can't mount sd-ext

I have a Nexus one running stock MIUI 1.7.1 with apps2sd and Aman Ra recovery. I attempted to activate cache2d, but after running the script the phone was unable to reboot. I moved the cache back to internal storage via adb in recovery and the phone now boots, but is unable to mount the sd-ext partition. When I connect via adb shell in recovery I am able to mount the sd-ext partition and view the files. I have attempted to run apps2sd repair from recovery as well as the actual OS, but both fail to have any effect.
Any ideas?
I have found a folder in mnt by the name "asec" which shows 220Mb free and extasec also with 220Mb free.
What do these folder mean?

[Q] [RESOLVED!] Help! Recovery Can't Mount SD Card

Can't mount SD card in recovery. See http://bit.ly/LgBTUN.
Tried fix permissions, mount sdcard in recovery says Error mounting /sdcard, other stuff too. Still no go.
Found forum posts with same problem in several HTC phones but don't think the fix works for TF101.
I'd like to put the Megatron ROM on my TF101 though I'd be happy just to get ASUS upgrades. They keep failing - I think from my Dvorak keyboard mod (see device config below).
Any ideas?
TF101. Stock, rooted rom with modded key mapping for Dvorak keyboard when docked. Android Version 3.2.1. Kernel 2.6.36.3 [email protected] #1, Build Number HTK75.US_epad.8.6.5.19-20111107.
Can you still boot Android or did you already wipe?
I also see ROM manager, which is usually bad news for the TF...
That's a rather old recovery, if you can get ADB access you can try my PERI tool to reflash a newer recovery that should mount properly, and then flash a ROM with that.
Good luck!
First, thanks for the help.
I tried your tool. Besides having entertaining comments, it just left me frustrated.
You can see some screenshots at https://docs.google.com/open?id=0B46V3MQdpAUOek1GRGlvS0FKTms
I'm wondering if the problem is that I can't mount / as RW. Perhaps I'm just not getting the right args to adb's mount command. I think I should be able to remount / RW as I can run "adb shell" and then "su" to get the "#" prompt.
I do think part of the problem is that /sdcard is not actually my sdcard. It is a symlink to /mnt/sdcard which is where the physical sdcard is mounted.
I tried to modify init.ventana.rc. I think that is the right file - I just found it by poking my head around. This is what I wanted to change:
Code:
on early-init
mount debugfs debugfs /sys/kernel/debug
export EXTERNAL_STORAGE /mnt/sdcard
mkdir /mnt/sdcard 0000 system system
# for backwards compatibility
symlink /mnt/sdcard /sdcard
But I can't mount / RW so I can't change it. I tried this:
Code:
$ adb root
adbd cannot run as root in production builds
$
I'm definitely rooted. I can su to root in ADB. I also have a SuperUser that seems to be working.
Update: I can mount / RW via ES File Explorer. I can then adb shell, su, and then update files in /. I pushed my updated init.ventana.rc but when I rebooted it reverted to the original.
I'm terribly frustrated.
Any ideas? I seem to have a totally useless CWM. I can't even put a file on /sdcard/update.zip because the sdcard isn't booted when I'm in recover.
Once I get / mounted RW, can I just copy a working CWM into some system directory?
I've spent half my day messing around with this thing. I'm very comfortable with the command line and would happily do a manual install if someone could tell me how to do that.
I tried the adb equivalent of:
Code:
run_program("/sbin/busybox", "dd", "if=/tmp/recoveryblob", "of=/dev/block/mmcblk0p4");
using the 5.5 recoveryblob but it didn't seem to do anything. If I just knew the magic commands, I'd be happy to do them.
Hi there.
I just released the beta version of my EasyFlasher tool.
Try using that, it'll flash Rogue Recovery for you which should successfully mount the sdcard.
You may need to use that (It's Nvflash based) It won't work on a Tf101G or Sl101 though. Give it a shot.
PERI didn't work because your ADB drivers don't work.
Thanks for your help. I finally got a working CWM by following this thread. I then flashed the CWMs you pointed to.
Problem solved.
Though I can always f-up my upgrade to CM9 and be back here for help in a few hours.
Too Funny
I just posted my thanks reply and then noticed that you two pointed me to the solution that I found.
I appreciate your help and timeliness (and your nvflash program too).
Neil
Got my TF101 BK70 SBK1 in same situation and this thread helped me a lot.
Just put my tf into apx mode (hold up + power for 7 seconds, screen stays black but device manager can see APX device connected, then use Universal Naked drivers to fix it.
After that, just open EasyFlasher and choose which recovery you want.
I also had the same problem, I didn't see this thread so I used this workaround:
if you have the keyboard dock you can mount an external usb drive as the sdcard (under the mount options) and do all the backups/flashing from there
Sent from my Transformer using xda app-developers app
There are two sd cards, the internal sd card which is the phone's built-in USB storage, and external sd card which is the removable sd card that is physically located at the back of the phone and is sealed by your phone's battery.
so technically speaking you should be choosing the "choose zip from external sd card" based on how you described storing your rom.
I'm not sure as to why your sdcard is unmounted, but you can remount it back using CWM. There should be a "mounts and storage" section in CWM menu, where you can remount the internal USB storage by selecting "mount /sdcard".
If you want to recover the data in your Android phone, just go to http://android-recovery.net/.
Need help with this can't mount /sd card /
Here is what I am getting (pics). This is on the Tf101 with CWM via 1 click root method

Where is the internal Rom?

I can never figure this out and its always different it seems. So I'm trying to copy my build prop from /system to my internal ROM sdcard so I can mount the infinity to windows, open it up and edit it, then copy it back to system.
So i'm using root explorer, copying the file, and I tried everything. I tried /sdcard, mnt/sdcard, data/media and everytime I mount the device and look in my downloads folder where I pasted it from root explorer, its not there!
argh
Copying should work normally, symlinks won't. I can't say anything for Root Explorer, try either Solid Explorer or Total Commander.
Personally I like to just use the term for this ("cp /system/build.prop /sdcard/" will do)

send apps to sd card - avoid low storage advise warning

Hi!
This is a light version from the tutorial described below.
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<<<<<<<The END of low storage>>>>>
I test it in L11 with B370 kit kat factory ROM. From 0.
!!!!Attencion!!!! 3G device users, read pinned post, you need to install SuperSU.zip first than this KingUser.zip to root OR WILL FAIL!!!!
In the step when you will install kinguser.zip change for this one, see the default tutorial here: https://www.facebook.com/groups/huawei.g6.development/permalink/578005512358705/
You need a primary external ext4 partition in sd card with the size you think you need for apps.
To create a primary ext4 partition in sd card with the size you want, you can use mini partition tool (for windows OS ).
http://www.partitionwizard.com/free-partition-manager.html
Need bootloader Unlocked:
https://www.facebook.com/groups/huawei.g6.development/permalink/504332286392695/
Need a custom recovery, i use TWRP for my L11, U models use more CWM, you can find it in G6SKnife.
Must have Windows OS to use G6SKnife:
https://www.facebook.com/groups/huawei.g6.development/permalink/577809609044962/
Than i modded this Kinguser flash zip that:
-Roots
-create a working init.d folder where you can store your scripts that will be executed on boot
-it will install busybox apk ( it need it to install some system tools )
- Rashr to change recoverys with the phone ( only need to have the images in sd card )
- It will automatically send all apps to your external ext4 partiton in sd card IF you have one!!!!
How to do it!!!!??????
READ IT CARFULL:
If you already have apps in phone do backup, use the phone default app for that.
Copy this zip to sd card:
UPDATE-Kinguser-3.4.0-Modded.zip
https://mega.nz/#!rhRknYDJ
Key:
!tnT9KAYOOcuSNm9eq7AcW_PHc2p-C4wjvssNI4IHAMU
Turn off and go to recovery ( TWRP or CWM ) by pressing at same time vol + and power.
Do a factory reset.
Go to install and search the UPDATE-Kinguser-3.4.0-Modded.zip and install it. The phone will reboot.
( A) After settings go to KingUser and open it to check if is ok than go back, open busybox, give root permissions, it will take some time seraching for old files than install it!!!!
( you will need this tools )
Reboot, and is done.
If you start from flash is the same process.
Now your apps go all to sd card.
This video show a flash of B370 and the root with this KingUser.zip:
https://youtu.be/CcFdbS20RrY
persona78 said:
#!/system/bin/sh
# apk to sd card
mount -t ext4 -o rw /dev/block/vold/179:66 /data/app
mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/app
chown system system /data/app
# apk lib to sd card
mount -t ext4 -o rw /dev/block/vold/179:66 /data/app-lib
mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/app-lib
chown system system /data/app-lib
chmod 773 /data/dalvik-cache
Click to expand...
Click to collapse
How is it possible to make the same source folder diferent and multiple target folder mount script?!! I think ther must be an error on this...
The first mount lines are pointing to /data/app and in the other lines pointing again to /data/app-lib?
its possible!
pestevao said:
How is it possible to make the same source folder diferent and multiple target folder mount script?!! I think ther must be an error on this...
The first mount lines are pointing to /data/app and in the other lines pointing again to /data/app-lib?
Click to expand...
Click to collapse
It's possible because works like a symlink. Imagine a room with several doors.
The mmcblk1p2 is the room, the /data/app , /data/app-lib are the doors.
Is working perfectly in my device. No lags.
http://postimg.org/image/8lc3of5pd/
http://postimg.org/image/jjnd6luap/
See this video, it have this script
pestevao said:
How is it possible to make the same source folder diferent and multiple target folder mount script?!! I think ther must be an error on this...
The first mount lines are pointing to /data/app and in the other lines pointing again to /data/app-lib?
Click to expand...
Click to collapse
This video shows how my ROM version works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Hi!
I create a easy way, go here:
http://forum.xda-developers.com/ascend-g6/general/root-upadtekinguser-zip-modded-extras-t3349679
I've instaled the B370 and use Link2SD that have already bought. And it works perfectly and smooth!
With the original ROM / Android it displays a warning that mount must be done after a quick reboot but now everything is working on a normal reboot.
Used KingRoot 3.4.o modified to include /etc/init.d folder creation to Link2SD be able to write mount scripts and with the Huawei B370 cleans everything from Vodafone P that came hacked and pre-installed
Now is better than ever!
pestevao said:
I've instaled the B370 and use Link2SD that have already bought. And it works perfectly and smooth!
With the original ROM / Android it displays a warning that mount must be done after a quick reboot but now everything is working on a normal reboot.
Used KingRoot 3.4.o modified to include /etc/init.d folder creation to Link2SD be able to write mount scripts and with the Huawei B370 cleans everything from Vodafone P that came hacked and pre-installed
Now is better than ever!
Click to expand...
Click to collapse
With this option you don't need link2sd
http://forum.xda-developers.com/ascend-g6/general/root-upadtekinguser-zip-modded-extras-t3349679
Yeah you are maybe right. But when I make it with Link2SD I doesn't find yout tutorial (and even doesn't exists on xda forum) so right now is everything working there no reason to move away from Link2SD
This is how have my phone using a 64 GB SDCARD
pestevao said:
Yeah you are maybe right. But when I make it with Link2SD I doesn't find yout tutorial (and even doesn't exists on xda forum) so right now is everything working there no reason to move away from Link2SD
Click to expand...
Click to collapse
Hi!
I buy a 64 GB sd card, create 3 ext4 partitions and mounted like this:
So, now I have 24GB ext4 for data, 10GB ext4 storage and 27GB fat32 for external storage... For mt G6-L11. I had before resized data storage to 4GB.
By default is 2/3 , I can't remember.
Hi!
Main post is Update!
persona78 said:
Hi!
Main post is Update!
Click to expand...
Click to collapse
Great job congratulations!

Categories

Resources