How to run these batch files in terminal(Android) - General Questions and Answers

Hello everybody,
I have xiaomi mi max 32GB +Multirom 8.4.26+Magisk
I have some terminal commands that works If I executed it one by one.
My Question:Can you help me create a batch to execute them in terminal?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My try:
-I created 4 files (Freeze code.sh-Uninstall code.sh-Background process ignore.sh-Ignore Wakelock.sh)
-I Opened terminal:
Code:
-su
-cd sdcard/download/Batches
-chmod +x Freeze code.sh
But the code doesnot work.It doesnot give me any error
If I executed this:
Code:
sh Freeze code.sh
It says Unknown package
please help me to run these batch files

Help....... help

Related

[How To] Get Xposed 2.7 working on any huawei device

First Of All Download Terminal Emulator and type the following command:
"su" then it will ask for root permissions
after that use the following command:
"mount -o remount /system"
like the picture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and then colse it.
Then Download Root Explorer
and go to
system folder:
and find build.prop file:
and open it in text editor:
press yes to remount it:
and find the line
ro.config.hwtheme= 1 or 2
and change it to
ro.config.hwtheme=0
save and restart
after that download xposed 2.7
and install the framework and enjoy!
i am not responsible for any bricked device use it at your own risk!.

Lollipop: easily turn on and off data connection with single click (ROOT)

I use lollipop, and problem is you must to do many step to on or off the data connection. So I used this method to make it easily!
First, you need terminal with root access ( I use terminal emulator for android).
Then, create new terminal shortcut with this command: su -c 'svc data enable' ; exit
That will enable your data connection.
To turn off, use this: su -c 'svc data disable' ; exit
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Detail guide here:

Pixel Experience Rom: adb sideload cannot load (Mi 10 T lite), pls help

can anyone help me out? after changing recovery from orangefox and succcesfully installing pixel experience recovery and of course deleting cache and format data and so on. I could not install it via adb sideload, I also installed the adb drivers as the guide suggested. Please helpe me, kinda desperate :/
do I need to operate cmd under admin rights? for some reason if I do that I cannot drop the file in...
and opening cmd without admin rights, I got this following issue:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Help me unlock Huawei's FBLOADER, Getting this error!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
At least both locations must be mounted as RW
Check that both paths are indeed correct.
I removed the ">", but still it's locked
Do we use ">" in adb shell cat?
">" copies INPUT to OUTPUT ( overwriting )
">>" appends INPUT to OUTPUT
I was helped by my friend, I was supposed to write them as separate commandsm Like
1- adb shell
2- cat .........
Doing so an Android's terminal session gets opened and never closed ...
Passing a command enclosed in quotes to shell automatically closes terminal session after execution.

iGUIDE PLANIX 3D Tour Camera System - build on Pi4 - system image and photos.

Just wanted to share this with community, interesting system, didn't know it is built on raspbery pi4.
I'm attaching the image of the sd-card from Pi4 made with
sudo dd if=/dev/mmcblk0 of=~/dd_image.dd bs=4M
You can write it to any 8gb sdcard using linux shell with
sudo dd if=~/dd_image.dd of=/dev/mmcblk0 bs=4M status=progress
System runs on some simple scripts and lighttpd web server. Cool approach. But for some weird reason updates are password protected (simple 7z archive).
Download the DD image (pass - xda)
Spoiler: Pics
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources