Hi,
I tried to receive an answer in the official cf-root thread, but nobody answered to me.
I have a question about the install-recovery.sh in system/etc that is rewrited(?) by the CF-autoroot.
I know that (please correct me if i'm wrong) this file is used to start the daemonsu at startup
Code:
/system/xbin/daemonsu --auto-daemon &
but i have seen that there are also other commands in the original file and if i remember, these commands are
used to restore the stock recovery in the case of a failing checksum at android boot... i'm right?
After rooting, can I append the command above to the other commands just inside the original install-recovery.sh just to keep
also the original functionality of the script and start the daemon at the same time?
I would like to receive OTA, i want to keep anyway the stock recovery because i need root access only.
Thanks very much in advance
I can't remember what the other commands are now but yes, they're for reinstalling recovery. Afaik there's no reason why you can't append the command however there is also no need to
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Related
Returned N5 to stock after flashing flashing stock image to undo what I think was a dodgy CWM.
Now when in fastboot and issuing command fastboot boot c:\android\...TWRP.img, fastboot informs me no such file or directory exists, but it does.
The flashing of the latest factory image was simply done with the auto .bat found the hammerhead unzip so it was not an issue, but now when trying to flash a new custom recovery this is what happens.
From what Skynet tells me these are 32 bit binary commands, however I am using 64bit Windows. In linux this does not seem to be a problem as
sudo apt-get install ia32-libs
will fix it.
Is there a solution for this problem in Windows?
Whats the full command you're running? Just to rule out mistakes
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
I run 64bit windows 7 and have no issues with that. Are you certain your file is in the same folder as the directory in the cmd line? and that the file is not named twrp.img.img?
oooh .img .img
good shout will test
HAHA
Yeah was being tard, flashed now.
Always the little things lol, that would have been me stumped most of the night creating linux boot drives lol.
Thanks very much!
Hi there, I followed this guide [http://forum.xda-developers.com/showthread.php?t=2507905] to root my nexus 5, but i ran into trouble while flashing custom recovery.
I got to the clockworkmod recovery page but i hit "reboot system now" and now i can't seem to boot into recovery. (A dead android shows up).
The phone works fine and will load up but every time i try to boot into recovery the dead android shows up.. Anyone can help?
Thanks so much in advance!
Hi so i tried reflashing CWM and from there i tried to proceed to the root section, but when i tried to push the SuperSU zip file to my sdcard, it didn't work.
In terminal it returned this -
./adb push UPDATE-SuperSU-v1.80.zip /sdcard
6449 KB/s (1160801 bytes in 0.175s)
But in CWM when i hit install zip from sdcard it says "No files found".
Any idea what i'm doing wrong?
Thank you!
Try pushing to /data/media see if different. Then try /data/media/0
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
hi
i have rooted the phone using recovery method and install superSu ,thing went successfull but i want to change the file permission of /system/bin/playlpm file using Android Commander it is not happening
please help i have wasted 2 days for this on Google but didn't find anything
thanks,
jitu89 said:
hi
i have rooted the phone using recovery method and install superSu ,thing went successfull but i want to change the file permission of /system/bin/playlpm file using Android Commander it is not happening
please help i have wasted 2 days for this on Google but didn't find anything
thanks,
Click to expand...
Click to collapse
What about using another root explorer app?
(E.g. Root Explorer, ES File Manager, etc.)
Keep in mind that you have to enabe root features in the explorer app itself and grant it root permissions in SuperSU app.
In some root explorer apps, you have to mount system partition as R/W (read/write) before you are able to change something in there.
For further questions, please ask in the Galaxy Star Q&A, Help & Troubleshooting forum.
It_ler said:
What about using another root explorer app?
(E.g. Root Explorer, ES File Manager, etc.)
Keep in mind that you have to enabe root features in the explorer app itself and grant it root permissions in SuperSU app.
In some root explorer apps, you have to mount system partition as R/W (read/write) before you are able to change something in there.
For further questions, please ask in the Galaxy Star Q&A, Help & Troubleshooting forum.
Click to expand...
Click to collapse
I don't understand if i have rooted the phone and i am using adb shell to change the permission of the file system/bin/playlpm i can't do that event i try to mount R/W system form adb shell it doesn't happen .
I am new to all this please Kindly show the right way to me .I do not want to do by app .tell me how to mount read/write permission by adb shell .
I have rooted the phone and install the superSu and Enable SuperUser permission in the app
i Am stuck Help will be appreciated
Thank you
jitu89 said:
I don't understand if i have rooted the phone and i am using adb shell to change the permission of the file system/bin/playlpm i can't do that event i try to mount R/W system form adb shell it doesn't happen .
I am new to all this please Kindly show the right way to me .I do not want to do by app .tell me how to mount read/write permission by adb shell .
I have rooted the phone and install the superSu and Enable SuperUser permission in the app
i Am stuck Help will be appreciated
Thank you
Click to expand...
Click to collapse
Ok, here is a guide about adb shell: [GUIDE][ADB]Easiest How to use adb, logcat, etc for noobs and newbies.
And here are some useful shell commands: [GUIDE] Basic Unix/Linux command to use with ADB SHELL.
Including chmod, example "chmod 755 /system/tmp/root.sh".
Make sure to got into root mode with "su" before.
And here is a nice guide of a friend of mine about the different file permissions: [Guide]Noob Guide To Set File Permission's [28-08-2012].
It_ler said:
Ok, here is a guide about adb shell: [GUIDE][ADB]Easiest How to use adb, logcat, etc for noobs and newbies.
And here are some useful shell commands: [GUIDE] Basic Unix/Linux command to use with ADB SHELL.
Including chmod, example "chmod 755 /system/tmp/root.sh".
Make sure to got into root mode with "su" before.
And here is a nice guide of a friend of mine about the different file permissions: [Guide]Noob Guide To Set File Permission's [28-08-2012].
Click to expand...
Click to collapse
Hi ,
I have just deleted the file system/bin/playlpm file form the device using adb shell
And i Trying to push my own custom play lpm file to the location system/bin
but it show "permission denied"
This is the Command i am using ----> adb push playlpm /system/bin
jitu89 said:
Hi ,
I have just deleted the file system/bin/playlpm file form the device using adb shell
And i Trying to push my own custom play lpm file to the location system/bin
but it show "permission denied"
This is the Command i am using ----> adb push playlpm /system/bin
Click to expand...
Click to collapse
Please post your question in one of the threads I have linked in my previous answer.
There you will hopefully get proper help.
My tapatalk signature:
Device: SGS5 (SM-G900F)
ROM: AllianceROM v5.6
Kernel: Stock G900FXXU1ANG2
Recovery: TWRP by Ktoonsez
Modem: G900FXU1ANG7
If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.
... for the SGS5, just ask in the Noob friendly S5 All in one support thread
If you need general help/assistence, please go to XDA-Assist.
Xda-assist is just to point to the best place for help on xda.
Thanks for your understanding. Thread closed.
My tapatalk signature:
Device: SGS5 (SM-G900F)
ROM: AllianceROM v5.6
Kernel: Stock G900FXXU1ANG2
Recovery: TWRP by Ktoonsez
Modem: G900FXU1ANG7
If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.
... for the SGS5, just ask in the Noob friendly S5 All in one support thread
If you need general help/assistence, please go to XDA-Assist.
Hello Gentlemen's
I am having One Plus One A0001
I need to install SU on it , but i cant install Update SU.zip from Cyanogen Recovery
(there were 4-5 option's)
{
1. Reboot
2. Apply Update
3. Wipe Disk/Factory Reset
4 .Wipe Caches
5. Wipe Media
}
When i tried to install SU from Apply Update
It was giving me signature error .
So please you people help me?
I get this information from this forum
Code:
You can s-off and after it gets root and you have s-off, (after you run revone -s 0) then:
Code:
adb remount
adb push su /system/xbin/su
adb shell chmod 04755 /system/xbin/su
Then you just simply install the SuperUser app from the playstore.
I was not able to understand any of this ,
So Please help me to install SU as i need root access for a particular app.
PS:
I dont want to install Custom Recovery , as i want to keep like it only .
Thank You Very Much
Hi
Thanks for writing to us at XDA Assist. You can't install SU from the CM recovery because the CM recovery can only install zips signed by CM. In order to root your phone you need to do this:
1. Unlock the bootloader.
2. Install a custom recovery.
3. Use TWRP recovery to install SuperSU.
I put together a guide specifically for this phone which is very detailed and will explain all you need to know, you'll find it here:
[GUIDES][Q&A]How-To Guides For Beginners + Q&A
Good luck, and if you have any questions please don't hesitate to ask in the guide thread.
timmaaa said:
Hi
Thanks for writing to us at XDA Assist. You can't install SU from the CM recovery because the CM recovery can only install zips signed by CM. In order to root your phone you need to do this:
Good luck, and if you have any questions please don't hesitate to ask in the guide thread.
Click to expand...
Click to collapse
Firstly Thank You for your valuable reply .
So we can't push files manually in /system/bin like locations ?
After reading deeply about rooting and what is actually does , I understand that twrp just pushes files for us that busybox and Superuser.apk in read-only file systems which cant be accessed by side-load or MTP's .That UPDATE-SuperSU-v2.46.zip it is a universal kind of rooter, it is having all kind of files for rooting almost all kind of phone with different architecture's.
My Point is cant we manually push those files by adb interface in USB debugging mode , by SDK's or other command-line executable ?
and my issues are in those method's like ./psneutor is not working for me
Reference
http://forum.xda-developers.com/showthread.php?t=2684210
No you can't just push it. The way to root this phone is how I outlined it above. Is there a reason you don't want to unlock your bootloader?
No response, thread closed.
Q&A for terminal emulator initialization
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for terminal emulator initialization. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
terminal emulator initialization
I wanted to have a few custom aliases loaded into the terminal automatically every time it started
so I searched google for some help and found this thread. You helped me on my path. Thank You!
This is what I came up with...
You need root access to do any of this.
mkshrc file is located here:
/system/etc
/etc
is just a link to the /system/etc directory.
I added this code to the mkshrc file at the bottom just above the line where it indicated to add any additional code:
Code:
[ -f /system/etc/.aliases ] && . /system/etc/.aliases
save and exit.
(Code means: Test if file /system/etc/.aliases exists, and only if it does, source that file.)
(.aliases is just a file name I chose, you can use any file name)
I then created the empty file .aliases in the /system/etc directory and set it's permissions to rw-r--r--
Code:
touch /system/etc/.aliases && chmod 644 /system/etc/.aliases
Placed my aliases in the .aliases file saved and reboot.
Code:
c='clear'
xx='exit'
All works.
The file you source can be a sh script with a shabang up top as well.
I have another file I source for custom functions that get auto loaded.
Pretty cool.
Thanks a lot, took me a while to even figure out the file I was looking for was the mkshrc file.
(Most system config options and settings are placed in the etc folder on a unix based system.)
Mission success!
(Make custom script to do all this automatically first time when installing new ROMS. Nice.)
Thank You!
Worked like a charm, Just what I was looking for works perfectly on my I9505.
mkshrc found in /etc/
Thanks again!