[SOLVED] Can't read '/etc/fstab' - Samsung Galaxy Mini

As the title suggest when I type the command
Code:
mount grep | sd-ext
It says the following error..
Code:
mount: can't read '/etc/fstab': - no such file or directory
Please, help me if anyone has faced such problem before.

yagya said:
As the title suggest when I type the command
Code:
mount grep|sd-ext
It says the following error..
Code:
mount: can't read '/etc/fstab': - no such file or directory
Please, help me if anyone has faced such problem before.
Click to expand...
Click to collapse
mount grep | sd-ext
mount | grep sd-ext

it is mount | grep sd-ext

mebitek said:
it is mount | grep sd-ext
Click to expand...
Click to collapse
it's same thing.... anyway thanks for trying to help.

yagya said:
it's same thing.... anyway thanks for trying to help.
Click to expand...
Click to collapse
How can be the same thing? With your command "mount grep|sd-ext" i have the same your error, with correct command without sintax error, the output is correct.
---------- Post added at 03:24 PM ---------- Previous post was at 03:23 PM ----------
mebitek said:
it is mount | grep sd-ext
Click to expand...
Click to collapse
same post like previous

denzel09 said:
mount grep | sd-ext
Click to expand...
Click to collapse
excuse me denzel but you rewrite same wrong command!!!

mebitek said:
excuse me denzel but you rewrite same wrong command!!!
Click to expand...
Click to collapse
you are right, my mistake...
commands are similar

denzel09 said:
How can be the same thing? With your command "mount grep|sd-ext" i have the same your error, with correct command without sintax error, the output is correct.
Click to expand...
Click to collapse
I tried with what you say but still getting the same error...

yagya said:
it's same thing.... anyway thanks for trying to help.
Click to expand...
Click to collapse
It is not the same thing:
- mount it is a command that without arguments let you see what devices are mounted into system
- | is the unix pipe that make conjunction of inout/output of two commands
- grep is a search command (it is moreover that a search command)

PROBLEM SOLVED!!!
Thanks for everyone's help. I guess my mind wasn't working today. But, now I'm fine.

yagya said:
PROBLEM SOLVED!!!
Thanks for everyone's help. I guess my mind wasn't working today. But, now I'm fine.
Click to expand...
Click to collapse
Don't worry buddy

Can point how do you solve this?

IdeosDev said:
Can point how do you solve this?
Click to expand...
Click to collapse
I second the motion. I get that output trying to run fsck

Related

I need help about rooting

Hello everyone.
First off all i hope this post is in the right section.
Let me get this out off the way first:
Im not good at english, and im not good at cmd files and so on.
But! i can succecsfully root my phone and get the # in cmd.
The reason im rooting is becouse i want the market patch so i can see all apps.
Here is my questions:
1. Whenever i try to adb push vending......
It says "the file is read-only" i cheked its not read only
So how do i fix that?
2. In the guide to root the phone he says:
"You can do anything then! Look at /system, /data, etc etc. You're broken free, my friend"
Where can i see the /system and so on? he says look at, but where can i look at it? how can i like acces the folders?.
So on the easy way, i search a way to install the market patch.
Thank you everyone
Bump, i really hope someone will help
Anyone? please?
When you have root, you need to mount r/w partition:
- adb push tattoo-hack.ko ./data/local/bin/tattoo-hack.ko (if you haven't did it before)
- adb shell
$
- su
#
- # insmod /data/local/bin/tattoo-hack.ko
- # mount -o rw,remount /dev/block/mtdblock5 /data
- # mount -o rw,remount /dev/block/mtdblock3 /system
And now you have mounted in r/w, so:
- adb push Vending-Tattoo-patched.apk /system/app/Vending.apk
p.s. ah...you can access system folders with Root Explore (it needs root)
I never had to mount anything. I did the latest root hack in the sticky at top of forum and then i installed the full market apk. Worked a treat.
ephumuris said:
I never had to mount anything. I did the latest root hack in the sticky at top of forum and then i installed the full market apk. Worked a treat.
Click to expand...
Click to collapse
I'm happy for you, but someone like me (and mafiapanda in that case) did old manual root.
Ty
Thank you im going to try it out now, thanks
Okay, after i get the
#
then i did what you said.
i get it again
# adb push vending.....
"adb not found"
Ehhmm can you help me there?
Everyting was succesfull except pushing it.
mafiapanda said:
Okay, after i get the
#
then i did what you said.
i get it again
# adb push vending.....
"adb not found"
Ehhmm can you help me there?
Everyting was succesfull except pushing it.
Click to expand...
Click to collapse
Of course, it's normal
You have to write "adb push vending....." non in "adb shell" but in "adb" (open another cmd and as for example "cd c:\android\tools", then "adb push" etc.)
Stupid me
Am so thankfull to you guys, you really helped me alot Thank you really much!
Okay, now i get "permisson denied" when im trying to "adb push vending..."
I opened a new CMD and typed cd c android tools, i just get permission denied.
Can anyone help me about that? Thank you guys so far
mafiapanda said:
Okay, now i get "permisson denied" when im trying to "adb push vending..."
I opened a new CMD and typed cd c android tools, i just get permission denied.
Can anyone help me about that? Thank you guys so far
Click to expand...
Click to collapse
Have you opened new cmd closing the other or not?
You don't have to close the first cmd.
Try. If it doesn't work, probably there are some problems with the root procedure, in that case try that solution: Root in 1 click. It contains: root, boot.img, market (also recovery if you choose it).
Yea, i have tryed root in 1 click, but does it really include market?
Root in 1 click gives me the same error ?
Okay maybe this is alot to ask for but is there anyone out there that can make a video of it all from rooting to push market. i would be so thankfull.
And its not just for me, it would help alot out there. im so thank full
Damn, now it says "read only file system" again.
Can anyone post a detalied how-to Thank you really much.
Im going to bed now, cheking this post tommorow.
Btw, i would love to have talk with someone on msn, steam or mail.
Am from denmark if it matters.
THANK YOU
mafiapanda said:
Damn, now it says "read only file system" again.
THANK YOU
Click to expand...
Click to collapse
You have to repeate that every time you reboot:
- adb shell
$
- su
#
- # insmod /data/local/bin/tattoo-hack.ko
- # mount -o rw,remount /dev/block/mtdblock5 /data
- # mount -o rw,remount /dev/block/mtdblock3 /system
And then you have mounted in r/w:
- adb push Vending-Tattoo-patched.apk /system/app/Vending.apk
(one time)
Okay I Will try that when I get home. Can I use the 2. 1 market I mean so I can have all the 500 apps or is it only for 2 1 firmware modded phones?
mafiapanda said:
Okay I Will try that when I get home. Can I use the 2. 1 market I mean so I can have all the 500 apps or is it only for 2 1 firmware modded phones?
Click to expand...
Click to collapse
Use v2 patch, not 2.1. It has worked for me.
YES! I cant ****ing believe it!! I succed !! im am so happy
Thank you very very very much 1000 times.
YES MAN im so happy now.
Maybe i should at a guide to this forum? i dont know if anyone needs it but..
Okay last last question, when i search for "video" i see 300 results which am very happy for but, on the picture he had 500 how can i get 500 ?
mafiapanda said:
YES! I cant ****ing believe it!! I succed !! im am so happy
Thank you very very very much 1000 times.
YES MAN im so happy now.
Maybe i should at a guide to this forum? i dont know if anyone needs it but..
Okay last last question, when i search for "video" i see 300 results which am very happy for but, on the picture he had 500 how can i get 500 ?
Click to expand...
Click to collapse
You're welcome
300 rather than 500? I'll try..

Unroot Droid 3 without computer?

Ok, so I haven't figured out the cord thing yet (phone won't connect to any computer using the stock cord, I can get it to show its charging...thats it!), so I am wondering if there is anyway to unroot without a computer? PLEASE HELP!!! I AM GETTING DESPERATE!!!
ajgates92 said:
Ok, so I haven't figured out the cord thing yet (phone won't connect to any computer using the stock cord, I can get it to show its charging...thats it!), so I am wondering if there is anyway to unroot without a computer? PLEASE HELP!!! I AM GETTING DESPERATE!!!
Click to expand...
Click to collapse
Open market and grab "terminal emulator", once you have it open it up and follow the steps as root (first thing you type into the terminal emulator is "su")
1./ remount /system to rw "busybox mount -o remount,rw /system
2./ erase root files "rm /system/xbin/su" "rm /system/bin/su" "rm /system/app/Superuser.apk" "rm /system/xbin/busybox"
3./ remount system ro and reboot "busybox mount -o remount,ro /system" "reboot"
these paths are for root w/zergs but they might be the same for Petes etc. This will clear all files and symlinks that were created when you rooted your device.
I am trying this now, thanks for the quick reply. Will let you know how it works!
Edit: Can you please put the exact code string I should enter into the Terminal? Thank you
Double Edit: I'm an idiot! I read your post wrong, I got it right this time and it worked!!! THANK YOU SO MUCH!!!!!
Droid 3 stock cables suck f(2 d3s and both cables died).. be sure to also check with no stovk cable...
Enviado desde mi DROID3 usando Tapatalk
ajgates92 said:
I am trying this now, thanks for the quick reply. Will let you know how it works!
Edit: Can you please put the exact code string I should enter into the Terminal? Thank you
Double Edit: I'm an idiot! I read your post wrong, I got it right this time and it worked!!! THANK YOU SO MUCH!!!!!
Click to expand...
Click to collapse
No worries, I'm glad you got it working. You're not an idiot, I'm a cryptic poster
So terminal app comes with superuser and busybox?
poetryrocksalot said:
So terminal app comes with superuser and busybox?
Click to expand...
Click to collapse
No, terminal app usually comes on custom roms but stock rooted users will have to download it for free off the market.

cache

Anyone know a good task to clean cache when screen turns off? Running cm 13 T-Mobile note 3
Tmobilefan906 said:
Anyone know a good task to clean cache when screen turns off? Running cm 13 T-Mobile note 3
Click to expand...
Click to collapse
I just created one that deletes cache for apps. The only thing is that you have to put the location of each apps cache manually. There is an app that does this, fast cache cleaner. It didn't work on my nexus 6p so I did it manually.
Here is my profile, you can add it remove what ever you need to, to suit your needs.
https://mega.nz/#!1EoQwISB!qrxkGA-zwck-taKnFkOUgKQvgjCfkNybPtFpA5eePAA
Fe Mike said:
I just created one that deletes cache for apps. The only thing is that you have to put the location of each apps cache manually. There is an app that does this, fast cache cleaner. It didn't work on my nexus 6p so I did it manually.
Here is my profile, you can add it remove what ever you need to, to suit your needs.
https://mega.nz/#!1EoQwISB!qrxkGA-zwck-taKnFkOUgKQvgjCfkNybPtFpA5eePAA
Click to expand...
Click to collapse
This one?
Tmobilefan906 said:
This one?
Click to expand...
Click to collapse
Nvm. Seems to work. How would I go about cleaning for a specific app?
Fe Mike said:
I just created one that deletes cache for apps. The only thing is that you have to put the location of each apps cache manually. There is an app that does this, fast cache cleaner. It didn't work on my nexus 6p so I did it manually.
Here is my profile, you can add it remove what ever you need to, to suit your needs.
https://mega.nz/#!1EoQwISB!qrxkGA-zwck-taKnFkOUgKQvgjCfkNybPtFpA5eePAA
Click to expand...
Click to collapse
Can u show me a manual way? Tyvm
Tmobilefan906 said:
Can u show me a manual way? Tyvm
Click to expand...
Click to collapse
That's the app.
Make a context when screen turns off.
Next, make action and select code, run shell.
Then type in
rm -r /data/data/name.of.app/cache
If your doing multiple apps put a ; at the end of each line like this.
rm -r /data/data/name.of.app/cache;
rm -r /data/data/name.of.app/cache;
Fe Mike said:
That's the app.
Make a context when screen turns off.
Next, make action and select code, run shell.
Then type in
rm -r /data/data/name.of.app/cache
If your doing multiple apps put a ; at the end of each line like this.
rm -r /data/data/name.of.app/cache;
rm -r /data/data/name.of.app/cache;
Click to expand...
Click to collapse
Like this? Don't seem to work
Tmobilefan906 said:
Like this? Don't seem to work
Click to expand...
Click to collapse
Edit. I put "," in front of com
Lol. Thanks.
Run this as root by shell script:
#!/system/bin/sh
busybox find /data/data -type d -iname "cache*" -exec busybox rm -fr {}/ ';'
Does the job for all apps(tested). Test it first in terminal.
Tmobilefan906 said:
Edit. I put "," in front of com
Lol. Thanks.
Click to expand...
Click to collapse
So your good to go? Taisto method I'm trying now. Thanks Taisto.
---------- Post added at 05:36 PM ---------- Previous post was at 05:26 PM ----------
taisto said:
Run this as root by shell script:
#!/system/bin/sh
busybox find /data/data -type d -iname "cache*" -exec busybox rm -fr {}/ ';'
Does the job for all apps(tested). Test it first in terminal.
Click to expand...
Click to collapse
Tried it, I get error -exec needs an argument any suggestions
Fe Mike said:
So your good to go? Taisto method I'm trying now. Thanks Taisto.
---------- Post added at 05:36 PM ---------- Previous post was at 05:26 PM ----------
Tried it, I get error -exec needs an argument any suggestions
Click to expand...
Click to collapse
Syntax error in exec, should end in ";".
Put space before the last ';'.
Attached the shell script.
taisto said:
Syntax error in exec, should end in ";".
Put space before the last ';'.
Attached the shell script.
Click to expand...
Click to collapse
Got it, thank you. I was missing the space. So hard to see gap after fwd slash to notice space.

Question Request: Run a few "adb shell" commands on a Xiaomi 11

Hey you lucky Mi 11 owners,
I'm trying to compile a database for Android Devices - something like the Grade Partition Table Reference started a while ago here @xda, but a lot more detailed, including:
-cat /proc/cpuinfo
- getprop
- service list
- lshal
- ps -Zef
- ls -l /dev
- ls -l /dev/block/by-name
- cat /proc/partitions
- df
- mount
- dumpsys (lots of output)
I make the results public at http://newandroidbook.com/ddb/ so other people, primarily researchers and rooters/modders, can benefit. Any help would be *greatly* appreciated. It's really simple to do this (especially on Linux, just use "script" then "adb shell", then run all these , exit from device, exit from script, and grab typescript.txt)
I have sent my debugging records, copied and saved by CMD of win10. Because my linux can't seem to load usb
G731882624 said:
I have sent my debugging records, copied and saved by CMD of win10. Because my linux can't seem to load usb
Click to expand...
Click to collapse
That's great! Thank you! But... where did you send them? I didn't get anything either here or at the [email protected] mail..
And btw, running "Adb" as root usually fixes the usb problems on Linux. Either that, or changing dev rules
morpheus______ said:
That's great! Thank you! But... where did you send them? I didn't get anything either here or at the [email protected] mail..
And btw, running "Adb" as root usually fixes the usb problems on Linux. Either that, or changing dev rules
Click to expand...
Click to collapse
Oh, I probably sent the wrong email address. I am using the Linux subsystem under win10. Run lsusb to get [email protected]:/mnt/c/Users/Ge# lsusb
unable to initialize libusb: -99
G731882624 said:
Oh, I probably sent the wrong email address. I am using the Linux subsystem under win10. Run lsusb to get [email protected]:/mnt/c/Users/Ge# lsusb
unable to initialize libusb: -99
Click to expand...
Click to collapse
Is it the address at [email protected]? . .
G731882624 said:
Is it the address at [email protected]? . .
Click to expand...
Click to collapse
Got it! Thank you so much! This is super helpful!!!
how to root ?any one can help?
feng.zh.cfo said:
how to root ?any one can help?
Click to expand...
Click to collapse
It should be as easy as unlocking the bootloader and trying magisk through Magisk Manager on the boot.img from the OTA (which I put at http://NewAndroidbook.com/ddb/Mi11/OTA). Let me know if you need help with that.
feng.zh.cfo said:
how to root ?any one can help?
Click to expand...
Click to collapse
I am rooted, very simple
G731882624 said:
I am rooted, very simple
Click to expand...
Click to collapse
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
morpheus______ said:
It should be as easy as unlocking the bootloader and trying magisk through Magisk Manager on the boot.img from the OTA (which I put at http://NewAndroidbook.com/ddb/Mi11/OTA). Let me know if you need help with that.
Click to expand...
Click to collapse
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
morpheus______ said:
It should be as easy as unlocking the bootloader and trying magisk through Magisk Manager on the boot.img from the OTA (which I put at http://NewAndroidbook.com/ddb/Mi11/OTA). Let me know if you need help with that.
Click to expand...
Click to collapse
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
morpheus______ said:
Got it! Thank you so much! This is super helpful!!!
Click to expand...
Click to collapse
I'm rooted, I will do the un-debugged part later
127|venus:/data/local/tmp # ./bindump
Usage: bindump [-h|-?]
bindump [ns] list
bindump [ns] check SERVICE
bindump [ns] call SERVICE [i32 N | i64 N | s16 STR ] ...
bindump [ns] users SERVICE # As per my 'bindump' tool (try 'all' for SERVICE)
bindump [ns] dump SERVICE # As per 'dumpsys' tool
Where: [ns] is optionally 'binder' (default), 'hwbinder' or 'vndbinder'
Bindump, Dumpsys, Service & more - v0.1 - By Jonathan Levin
This tool is part of the resources for 'Android Internals', Volume II
Free for non-commercial use at http://NewAndroidBook.com/
用于商业用途(和纯C活页夹库)mail://[email protected]
I don’t know how to enter next to get debugging information
127|venus:/data/local/tmp # ./bindump users all
venus:/data/local/tmp #
For example, he has no output
G731882624 said:
127|venus:/data/local/tmp # ./bindump users all
venus:/data/local/tmp #
For example, he has no output
Click to expand...
Click to collapse
That happens if debugs is not mounted
mount -t debugfs none /sys/kernel/debug
fixes problem

Question While installing apk on my device,How to fix the error -3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE

What does it mean and how to fix it
-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE
Snowcone12 said:
What does it mean and how to fix it
-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE
Click to expand...
Click to collapse
.try fixing it with this
adb shell pm install-create -i "com.android.vending" -r /sdcard/launcher.apk
replacing launcher.apk with your apk filename, and have your apk in the root of your sd card
Would you tell me more details
Snowcone12 said:
Would you tell me more details
Click to expand...
Click to collapse
do you know how hot use adb ?
Yes
What does this command means?
Thank you so much for replying and using your time to help me!
I just wanna ask you what this command means.
Before trying what you told me
Snowcone12 said:
I just wanna ask you what this command means.
Before trying what you told me
Click to expand...
Click to collapse
its just trying to force install in a different location
Are you sure it will work?
Snowcone12 said:
Are you sure it will work?
Click to expand...
Click to collapse
Not certain, it's an older trick and I don't have that device, but it won't do any harm trying it will either work or it wont
Thank you so much!
And what is the next step?
Success:created install session
Snowcone12 said:
And what is the next step?
Success:created install session
Click to expand...
Click to collapse
There shows the message Success:created install session
Snowcone12 said:
There shows the message Success:created install session
Click to expand...
Click to collapse
So the app isn't installed ? Have you tried rebooting and checking ? Have you tried to reinstall the apk again
No it hasn't

Categories

Resources