[Q&A] Is there a .bashrc equivalent for android? - G1 Q&A, Help & Troubleshooting

Q&A for Is there a .bashrc equivalent for android?
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 Is there a .bashrc equivalent for android?. 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!

bashrc or profile file for terminal emulator
This is a response to a thread that got redirected here BC I have fewer than 10 posts. On some custom roms the shell init file for Terminal Emulator is /etc/mkshrc. You can put an alias here like alias s='sudo bash' for example to start a bash she'll. Bash's init file is then /etc/bash/bashrc.

colinw1 said:
bashrc or profile file for terminal emulator
This is a response to a thread that got redirected here BC I have fewer than 10 posts. On some custom roms the shell init file for Terminal Emulator is /etc/mkshrc. You can put an alias here like alias s='sudo bash' for example to start a bash she'll. Bash's init file is then /etc/bash/bashrc.
Click to expand...
Click to collapse
[ Error writing /etc/mkshrc: Read-only file system ]
How do I go about editing this when it is a read only file system

Related

[Q&A] How to Sign System apps

Q&A for How to Sign System apps
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 How to Sign System apps. 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!
I have the same problem, maybe my solution helps someone.
Just make sure that after signing apk, folder "META-INF" contains only CERT.RSA CERT.SF MANIFEST.MF, it is necessary key&checksums, the other one makes android think that is not system app.

[Q&A] XiaomiTool [WIN] [UNIX]

Q&A for XiaomiTool [WIN] [UNIX]
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 XiaomiTool [WIN] [UNIX]. 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!
historian.py is a python2 or python3 script?
greegings
Missing wait_for_adb function in Linux
For the Linux version there's no definition of "wait_for_adb" function in XTools.sh and the rooting fails (and I guess other tools too).
I also had to install realpath in Linux Mint.

[Q&A] [CWM-FLASHABLE] Fix Permissions Emulator - Solution for removed fixpermission

[Q&A] [CWM-FLASHABLE] Fix Permissions Emulator - Solution for removed fixpermission
Q&A for [CWM-FLASHABLE] Fix Permissions Emulator - Solution for removed fixpermission in cwm
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 [CWM-FLASHABLE] Fix Permissions Emulator - Solution for removed fixpermission in cwm. 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!
I'm getting can't copy meta-inf/com/google/android/update-binary when I try to run it.

[Q&A] [RECOVERY] CWM-Recovery Touch for P970.

Q&A for [RECOVERY] CWM-Recovery Touch for P970.
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 [RECOVERY] CWM-Recovery Touch for P970.. 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!
Looks good, but not yet working?
I tried my best but this is what the command line tells me:
C:\Users\USER\Desktop\cwm-touch-flasher>adb\adb.exe shell "su -c 'dd if=/da
ta/local/tmp/recovery-clockwork-6.0.1.4-p970.img of=/dev/block/mmcblk0p4'"
/system/bin/sh: su: not found
So when i boot into 'recovery' it just put my phone into factory reset.
What to do now? Please help!!

[Q&A] shell bash for android

Q&A for shell bash for android
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 shell bash for android. 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!
PErmition denied when i copy this file to bin...

Categories

Resources