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

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:

Related

[JB 4.1] Create new user

Steps to create a new user:
1. Open Terminal Emulator
2. Type the following:
Code:
su
pm create-user give-it-any-name
Now hold down the power button. You get the option of the new user and the old one is named Primary
Steps to remove a user
For this you first need to know the user's userid
1. Open Terminal Emulator
2. Type
Code:
pm list-users
Something like this will appear
UserInfo{0rimary:3}
UserInfo{1:watever-the-name-was:0}
[userid is 1]
UserInfo{2:watever-the-name-was-2:0}
[userid is 2]
.
.
Next type
Code:
pm remove-user 1
(for userid 1)
{
"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"
}

[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!.

How to run these batch files in terminal(Android)

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

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