[Q] Install and run apk.file - Android Q&A, Help & Troubleshooting

Is there any command on cmd.exe that would allow me to run apk.file after installing it .. like
adb install myapp.apk
This command will only install myapp onto the emulator and I have to manually run this application from the emulator (by performing single click on its icon).
What I want to do is use a command which not only installs the application but also run it or open it in the device after installation.

stiphen said:
Is there any command on cmd.exe that would allow me to run apk.file after installing it .. like
adb install myapp.apk
This command will only install myapp onto the emulator and I have to manually run this application from the emulator (by performing single click on its icon).
What I want to do is use a command which not only installs the application but also run it or open it in the device after installation.
Click to expand...
Click to collapse
http://delphi.org/2013/11/installing-and-running-android-apps-from-command-line/
I think that is what you are looking for

quentin330 said:
http://delphi.org/2013/11/installing-and-running-android-apps-from-command-line/
I think that is what you are looking for
Click to expand...
Click to collapse
after installing Myfile.apk
adb install Myfile.apk
and then try to run it in the device
adb shell am start -n com.other.Myfile.apk/.MainActivity
I get the error
Starting: Intent { cmp=com.other.Myfile.apk/ .MainActivity }
Error type 3
Error: Activity class {com.other.Myfile.apk/com.other.Myfile.apk.MainActivity} does not exist.
whereas Myfile.apk is installed

stiphen said:
after installing Myfile.apk
adb install Myfile.apk
and then try to run it in the device
adb shell am start -n com.other.Myfile.apk/.MainActivity
I get the error
Starting: Intent { cmp=com.other.Myfile.apk/ .MainActivity }
Error type 3
Error: Activity class {com.other.Myfile.apk/com.other.Myfile.apk.MainActivity} does not exist.
whereas Myfile.apk is installed
Click to expand...
Click to collapse
You have to remplace com.other by the name of the package and MainActivity by the name of the activity you want to open

quentin330 said:
You have to remplace com.other by the name of the package and MainActivity by the name of the activity you want to open
Click to expand...
Click to collapse
As in my first post .. I said I install apk file into my device by
adb install myfile.apk
OK it is installed into my device .. Now with command I want to open/run installed apk in my device .. I know i can normally run it by touching its icon .. but i want to do the same through the command ..

stiphen said:
As in my first post .. I said I install apk file into my device by
adb install myfile.apk
OK it is installed into my device .. Now with command I want to open/run installed apk in my device .. I know i can normally run it by touching its icon .. but i want to do the same through the command ..
Click to expand...
Click to collapse
That's what you can do with the commands but you have to know which activity to open and in which package it is

quentin330 said:
That's what you can do with the commands but you have to know which activity to open and in which package it is
Click to expand...
Click to collapse
as i am new .. i only know that i have installed an apk and is installed . now hoe come i know which package is this in and how can i run it

Related

[Q] Coding applications - Need quick help

I'm trying to make something easy here.
I've followed a guide to install Ubuntu (using Ubuntu Installer) and I now have a shell script.
When I have to start the server, I have to write:
Code:
su
cd /sdcard/ubuntu/
sh ubuntu.sh
Then I have to write in the screen resolution which I write 1190x720 (because of ICS buttons) and then press 2 for GNOME desktop.
So I write:
Code:
su
cd /sdcard/ubuntu/
sh ubuntu.sh
1190x720
2
Then for shutting it down, I have to write "exit".
I want to make an easy application that can do those 5 above steps so I don't have to write those 5 lines. I want the application to have 2 buttons. An START and STOP and then like a status bar which shows if I've started or stopped the server.
How will I be able to do that? Which language should I write it in?
I'm a noob at this, so please take it easy!
Thanks in advance!
You can create a script with those commands, and execute it with Script Manager (this is the easiest way).
If you wish to develop your own app, you'll need:
Basic Java and Android knowledge.
Android SDK, Eclipse and ADT Plugin for Eclipse.
RootTools Library (the easiest way to grant root access to your app and run commands as root).
It's difficult? Nope, add 2 buttons and a message to an app is very easy (using the tools that I listed above).
RoberGalarga said:
You can create a script with those commands, and execute it with Script Manager (this is the easiest way).
If you wish to develop your own app, you'll need:
Basic Java and Android knowledge.
Android SDK, Eclipse and ADT Plugin for Eclipse.
RootTools Library (the easiest way to grant root access to your app and run commands as root).
It's difficult? Nope, add 2 buttons and a message to an app is very easy (using the tools that I listed above).
Click to expand...
Click to collapse
Yes, thank you for answering.
I know about the SDK and Eclipse, but I can't get it to work on my phone.
Can you find me a working guide on how to execute that shell script from Java, please? Thanks
RootTools dude
RoberGalarga said:
RootTools dude
Click to expand...
Click to collapse
So basicly...
Code:
try {
List<String> output = RootTools.sendShell(command);
String[] commands = new String[] { su, cd /sdcard/ubuntu/, sh ubuntu.sh };
List<String> otherOutput = RootTools.sendShell(commands);
} catch (IOException e) {
// something went wrong, deal with it here
}
Guess that's what it's going to look like, aye?

[Q] Can't Execute Script via Terminal Emulator

Hello all,
I'm trying to run a script on my rooted Galaxy W GT-I8150 but - here's the rub - the script use to run perfectly but now returns a syntax error.
The script runs on my Mac, and I know it's syntactically flawless. But if I try to run it from ADB shell, it returns a syntax error. The syntax error is the same if I try to run it from the terminal emulator on the phone. It stopped working after I used CWM to restore a backup of my stock rom.
However, my stock rom is still rooted, with SU and busybox installed. I am wondering if I should wipe my cache or something?
The error is:
sdcard/external_sd/pull_script.sh: 4: Syntax error: word unexpected (expecting ")")
The first four lines of the script is this:
Code:
NUM=0;
NUM2=1;
str=( "ccid_ctrl" "ccid_bulk" "smem_log" "ttySMD0" "ttyCSD0" "ttyHS0" "poop.rtf" ) ;
str2=( "mmcblk1" "mmcblk0p" ) ;
Anyone have any ideas? Thanks,
Foxy

[Q] Searching for a Howto - Ubuntu SDK build QML APP runs system commands

Hello,
sorry about my poor english.
Searching for a step by step how to to build a QML App for Ubuntu Touch.
- How to run system commands like " ls -la > test.txt "
- How to translate the Buttons, Texts etc.
- How to create a button to exit the App
- How to include a Icon for the App
I have installed a Ubuntu 14.04.2 (amd64) and Ubuntu SDK 1.126
can create a Simple QML App and install it on my Ubuntu Phone.
But no Icon, an did not sucess to run system commands.
Thanks for help.
ds2k5 said:
I have installed a Ubuntu 14.04.2 (amd64) and Ubuntu SDK 1.126.
Click to expand...
Click to collapse
First of all, please update your Ubuntu SDK installation to the latest version (1.194) from the PPA from the installation page.
ds2k5 said:
- How to run system commands like " ls -la > test.txt "
Click to expand...
Click to collapse
This is possible if you add a C++ backend to your application but you'll have to ship every binary you want to execute in your click package or you'll have to run your app unconfined to achieve this. The latter will result in your app not being included in the official Ubuntu Store. There's an unofficial one for unconfined applications though.
ds2k5 said:
- How to translate the Buttons, Texts etc.
Click to expand...
Click to collapse
Simply wrap strings in i18n.tr() calls and use gettext to create pot and po files.
Example:
Code:
Button {
text: i18n.tr("Translatable string")
}
ds2k5 said:
- How to create a button to exit the App
Click to expand...
Click to collapse
I don't know whether this is possible from QML but you will for sure be able to do this from a C++ backend.
ds2k5 said:
- How to include a Icon for the App
Click to expand...
Click to collapse
Set the icon path in your desktop file to your custom one which you place in the app directory.
Check out the Qt.quit() function call for closing your app.
Sent from my awesome Ubuntu Touch device using the Forum Browser app

Amazfit Enable app list on US/CN through adb

In CN version you can active the app list in the watch, if you have not already enabled "Launcher App List", go to "More Settings" -> "About" -> Keep clicking legal information till you see countdown to zero. Once that is done, you will have the Lab link below. Click on Lab and select "Launcher AppList". This will restart your Launcher. Now go to the Right most app from your watch face, you will see the Launcher.
This method allows you to activate the app list also on the American versions so as to use the third-party app!
Connect the watch to your computer via USB and access via ADB (install ADB Drivers as needed)
Open command prompt or shell
Enter the commands :
Code:
adb shell
> /sdcard/launcher_config.ini
am force-stop com.huami.watch.launcher
After Launcher restart you can go to the Right most app from your watch face and you will see the App List.
Thank you very much! US firmware 1.3.1, this did work. I was able to install and use AmazfitCNTimer.apk without installing Chinese firmware.
# SEE EDIT!
On 1.3.1m watch model a1612 your instructions return:
Code:
adb shell
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
[email protected]:/ # /sdcard/launcher_config.ini
/sdcard/launcher_config.ini
/system/bin/sh: /sdcard/launcher_config.ini: not found
Further, if I proceed to force-stop the launcher does restart but of course there is no app launcher as expected.
# EDIT
Just realized I needed to include the '>' to create the file. I'll take noob mistakes for 500, Alex.
Hello
On 1.3.2b, it does'nt
Code:
c:\adb shell
[email protected]:/ $
vador1967 said:
Hello
On 1.3.2b, it does'nt
Code:
c:\adb shell
[email protected]:/ $
Click to expand...
Click to collapse
After adb shell command you need to write this command:
> /sdcard/launcher_config.ini
am force-stop com.huami.watch.launcher
Cracklydisc said:
After adb shell command you need to write this command:
> /sdcard/launcher_config.ini
am force-stop com.huami.watch.launcher
Click to expand...
Click to collapse
Hi
I know this and I've tried.
It doesn't work
I've the US 1.3.2b version
vador1967 said:
Hi
I know this and I've tried.
It doesn't work
I've the US 1.3.2b version
Click to expand...
Click to collapse
mmm
you can open with explorer the watch and create the "launcher_config.ini" file .
After the file creation you need to restart the watch, can you try this method?
Cracklydisc said:
mmm
you can open with explorer the watch and create the "launcher_config.ini" file .
After the file creation you need to restart the watch, can you try this method?
Click to expand...
Click to collapse
Ok
I've created the file (empty) et placed it in the root of Amazfit
I enter in CMD the adb shell : it indicates a wrong way
vador1967 said:
Ok
I've created the file (empty) et placed it in the root of Amazfit
I enter in CMD the adb shell : it indicates a wrong way
Click to expand...
Click to collapse
after the file copy you only need to restart the watch and look if the applist is active
Cracklydisc said:
after the file copy you only need to restart the watch and look if the applist is active
Click to expand...
Click to collapse
Hi
Not yet.
vador1967 said:
Hello
On 1.3.2b, it does'nt
Code:
c:\adb shell
[email protected]:/ $
Click to expand...
Click to collapse
Worked for me on 1.3.2b
Please, don't forget to type ">" after the "[email protected]:/ $" prompt ; it makes all the difference
My Amazfit model A1612 Fw1.3.2b
I open Lab manu in about manu
Before lab maun in open I follow code commands
it works
Ok
It works
Thanks a lot
So this allows you to open almost any sideloaded apk installed on the watch?
Noreg96 said:
So this allows you to open almost any sideloaded apk installed on the watch?
Click to expand...
Click to collapse
It allows you to open all sideloaded apps.
BUT IT DOESN'T MEAN THAT ALL APPS WILL WORK.
It's only the app starter.
vador1967 said:
Hi
Not yet.
Click to expand...
Click to collapse
Are you sure you installed correct drivers?
For me that was the problem
question
works...
but then can i install new APK? is it possible with 1.3.2b non rooted?
Cracklydisc said:
In CN version you can active the app list in the watch, if you have not already enabled "Launcher App List", go to "More Settings" -> "About" -> Keep clicking legal information till you see countdown to zero. Once that is done, you will have the Lab link below. Click on Lab and select "Launcher AppList". This will restart your Launcher. Now go to the Right most app from your watch face, you will see the Launcher.
This method allows you to activate the app list also on the American versions so as to use the third-party app!
Connect the watch to your computer via USB and access via ADB (install ADB Drivers as needed)
Open command prompt or shell
Enter the commands :
Code:
adb shell
> /sdcard/launcher_config.ini
am force-stop com.huami.watch.launcher
After Launcher restart you can go to the Right most app from your watch face and you will see the App List.
Click to expand...
Click to collapse
Hello there. I was using this metod on last 1.3.2b update and it was working.
Now i've received 1.3.3a, that should have app list by default.
But it desapparead from the watch, and also using this method, i have no more app list.
any idea?
PS:
Amazfit PACE US
Jun 2017 firmware 1.3.3a was supposed to include the app list as a feature.
I tried to enable it by going in to the menu > About > Legal and tapping 5 times but there was no app list in the new Lab menu.
So I tried the adb shell command and it worked.
To reverse this, do we just delete the launcher_config.ini?
Also, I tried to pull that file and look at it but couldn't:
adb pull /sdcard/launcher_config.ini c:/temp
Got no errors, but got no file in C:\temp.
areynoldsnz said:
Jun 2017 firmware 1.3.3a was supposed to include the app list as a feature.
I tried to enable it by going in to the menu > About > Legal and tapping 5 times but there was no app list in the new Lab menu.
So I tried the adb shell command and it worked.
To reverse this, do we just delete the launcher_config.ini?
Also, I tried to pull that file and look at it but couldn't:
adb pull /sdcard/launcher_config.ini c:/temp
Got no errors, but got no file in C:\temp.
Click to expand...
Click to collapse
For me didn't worked... Maybe because i've activated it on 1.3.2b with adb?
---------- Post added at 07:32 PM ---------- Previous post was at 07:17 PM ----------
Cracklydisc said:
after the file copy you only need to restart the watch and look if the applist is active
Click to expand...
Click to collapse
I've also tried, on 1.3.3a but still not work...

Dual boot Redmi 9(GSi with miui)

prove:
I give a zip file.download and extract it.you can find a video watch it as the prove of this post
You can test GSi ROM without any data loss.....
Requirements:
1.Need a laptop with Linux (window also can do...but Linux is batter for CMD line)
2.Unrooted phone.(magisk patch boot not boot gsi for my case try it if it work or not)
3.vbmeta.img(flash it via 'fastboot flash vbmeta vbmeta.img')
3.java installed in your machine...
4.Working brain to solve Errors.:fingers-crossed::fingers-crossed:
Step 1:
Go to the link and download any official gsi arm64-ab version (I can not boot unofficial gsi..Descendant X....any room which it not boot remember you cannot boot it even fastbood method )
https://www.google.com/url?sa=t&sou...FjAAegQIARAB&usg=AOvVaw0IRaTTGUOyl04z17LCE96H
Step 2:
Extract and rename file as 'system.img'...
Step 3:
Now open CMD terminal from where your system.img located and paste this cmd...
simg2img system.img system_raw.img
Error and slove...
You need to install simg2img on Linux...
After install and run this CMD you found error like about header file magic or like something...do not worry... that's mean your system.img file already a raw file and do not need to convert it..just rename this file as 'system_raw.img'
Step 4:
Now open CMD terminal from where your system_raw.img located paste this cmd...
gzip -c system_raw.img > system_raw.gz
Wait for finish..
Step 5:
Now connect your phone with via cable and in developers options turn on usb debugging mood and run this CMA...
adb push system_raw.gz /storage/emulated/0/Download/
Wait for finish........
Step 6:
Now run this CMD..
adb shell setprop persist.sys.fflag.override.settings_dynamic_system true
Step 7:
Now run this CMD...
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
You need to varying your identity by fingerprints or parttern if your device has lock function on...after varify you will notice a notification like this...
Dynamic system update
That's mean you can successfully do my instructions....:cyclops::cyclops:..
Wait for finish....
Now you have two option restart or discard....
Tap restart to go to your gsi or discard to destroy gsi install....
On gsi you can do what you want..
If your work or discover finis then reboot the phone with power button option.
After reboot you are now miui and yes no data lost...
After some moments you can again get two options (Restart or discard)...
This process go untill you discard gsi...
If you stay gsi after reboot then run the CMD....
adb shell gsi_tool enable
Now you can stay gsi after reboot how many time you want...
Disable this feature now type this CMD ...
adb shell gsi_tool disable
If you face some problems....tell me want is your problem......
If you can dual boot your device the thanks is free...
Go throw below link for more information...
https://developer.android.com/topic/dsu
Redmi note 9 merlin doesn't support seamless system update. Is it possible to do this?
Halloul said:
Redmi note 9 merlin doesn't support seamless system update. Is it possible to do this?
Click to expand...
Click to collapse
I think it's better to provide your questions in Redmi note 9 fourms in Xda.
Check it :https://forum.xda-developers.com/redmi-note-9
Halloul said:
Redmi note 9 merlin doesn't support seamless system update. Is it possible to do this?
Click to expand...
Click to collapse
Redmi note 9 supporting dynamic storage if it come with android 10 out of box..if you hava fastboot rom then go to image folder on it and find super.img.
If super.img found that's mean your are good to go...
Or if you find system.img and vendor.img then sorry
1st time its works great
Then i want to check another gsi but not showing in the notification menu
Mantipallykrishna said:
1st time its works great
Then i want to check another gsi but not showing in the notification menu
Click to expand...
Click to collapse
If you use two GSI. That's mean you install a a dynamic GSI over a GSI then the problem will happen. Because all GSI can not capable with it. If you flash dynamic GSI over MIui Rom then the problem not happened.when you in MIui then restart to go dynamic GSI.when you are in dynamic GSI then do not reboot your device just power off and then power on your device to go MIui.then you find the dynamic GSI restart option again.even if you can not find the notification then go to your device recovery option and reboot device from recovery mood.
Even if your problem not solve then you can activate GSI from adb cmd
adb shell gsi_tool enable
Then you can go GSI and when you reboot you can not go back MIui but it is good option to use GSI without data loss.to deactivate just run this adb cmd
adb shell gsi_tool disable
Now reboot and then you can back MIui again..
But remember to check if your dynamic GSI can connect you PC via adb.
This method work for me.I also face the same problem like you.hope you can solve your problem.and remember one thing that if you use magisk patched boot.img then you can not boot your dynamic GSI.I think it is a bug hopefully it will solve soon
the first time worked fine, then i tried the command: adb shell gsi_tool enable, for some reason i wasn't able to connect to gsi with adb to turn it off: adb shell gsi_tool disable
i flashed miui with miflash, but now the installation won't start again
just found out that when a micro sd card ist in the phone, for some reason dsu won't show up, i removed the micro sd card, restarted the phone, and now dsu shows in the notification bar
Shas45558 said:
prove:
I give a zip file.download and extract it.you can find a video watch it as the prove of this post
You can test GSi ROM without any data loss.....
Requirements:
1.Need a laptop with Linux (window also can do...but Linux is batter for CMD line)
2.Unrooted phone.(magisk patch boot not boot gsi for my case try it if it work or not)
3.vbmeta.img(flash it via 'fastboot flash vbmeta vbmeta.img')
3.java installed in your machine...
4.Working brain to solve Errors.:fingers-crossed::fingers-crossed:
Step 1:
Go to the link and download any official gsi arm64-ab version (I can not boot unofficial gsi..Descendant X....any room which it not boot remember you cannot boot it even fastbood method )
https://www.google.com/url?sa=t&source=web&rct=j&url=https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-%28GSI%29-list&ved=2ahUKEwj04pKZwfnrAhVLfXAKHV8FAFcQFjAAegQIARAB&usg=AOvVaw0IRaTTGUOyl04z17LCE96H
Step 2:
Extract and rename file as 'system.img'...
Step 3:
Now open CMD terminal from where your system.img located and paste this cmd...
simg2img system.img system_raw.img
Error and slove...
You need to install simg2img on Linux...
After install and run this CMD you found error like about header file magic or like something...do not worry... that's mean your system.img file already a raw file and do not need to convert it..just rename this file as 'system_raw.img'
Step 4:
Now open CMD terminal from where your system_raw.img located paste this cmd...
gzip -c system_raw.img > system_raw.gz
Wait for finish..
Step 5:
Now connect your phone with via cable and in developers options turn on usb debugging mood and run this CMA...
adb push system_raw.gz /storage/emulated/0/Download/
Wait for finish........
Step 6:
Now run this CMD..
adb shell setprop persist.sys.fflag.override.settings_dynamic_system true
Step 7:
Now run this CMD...
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
You need to varying your identity by fingerprints or parttern if your device has lock function on...after varify you will notice a notification like this...
Dynamic system update
That's mean you can successfully do my instructions....:cyclops::cyclops:..
Wait for finish....
Now you have two option restart or discard....
Tap restart to go to your gsi or discard to destroy gsi install....
On gsi you can do what you want..
If your work or discover finis then reboot the phone with power button option.
After reboot you are now miui and yes no data lost...
After some moments you can again get two options (Restart or discard)...
This process go untill you discard gsi...
If you stay gsi after reboot then run the CMD....
adb shell gsi_tool enable
Now you can stay gsi after reboot how many time you want...
Disable this feature now type this CMD ...
adb shell gsi_tool disable
If you face some problems....tell me want is your problem......
If you can dual boot your device the thanks is free...
Go throw below link for more information...
https://developer.android.com/topic/dsu
Click to expand...
Click to collapse
its give me proble when in start activity at the end.
===========================================================
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Exception occurred while executing 'start-activity':
java.lang.IllegalArgumentException: No intent supplied
at android.content.Intent.parseCommandArgs(Intent.java:7790)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:341)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:438)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:189)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:11390)
at android.os.Binder.shellCommand(Binder.java:936)
at android.os.Binder.onTransact(Binder.java:820)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5216)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3162)
at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:169)
at android.os.Binder.execTransactInternal(Binder.java:1166)
at android.os.Binder.execTransact(Binder.java:1130)
=========================================================
Here Is the error code. Im on A11. Realme C3. But when Im use Dsu and download and install from dsu it works im confused ??
fire7ly said:
its give me proble when in start activity at the end.
===========================================================
adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system_raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system_raw.img|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Exception occurred while executing 'start-activity':
java.lang.IllegalArgumentException: No intent supplied
at android.content.Intent.parseCommandArgs(Intent.java:7790)
at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:341)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:438)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:189)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:11390)
at android.os.Binder.shellCommand(Binder.java:936)
at android.os.Binder.onTransact(Binder.java:820)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5216)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3162)
at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:169)
at android.os.Binder.execTransactInternal(Binder.java:1166)
at android.os.Binder.execTransact(Binder.java:1130)
=========================================================
Here Is the error code. Im on A11. Realme C3. But when Im use Dsu and download and install from dsu it works im confused ??
Click to expand...
Click to collapse
Use dsu..it is easy method
Shas45558 said:
Use dsu..it is easy method
Click to expand...
Click to collapse
Yeah You Are Right ! . But Dsu gives Only Aosp Gsis. Which Is not So Great. If Any Ways I use Pixel Gsis it Would Be Great.
fire7ly said:
Yeah You Are Right ! . But Dsu gives Only Aosp Gsis. Which Is not So Great. If Any Ways I use Pixel Gsis it Would Be Great.
Click to expand...
Click to collapse
Hmm...thats is the point...use linux and when you input any cmd you must open cmd pannel from where you kept the rom which you try to installed...
Shas45558 said:
Hmm...thats is the point...use linux and when you input any cmd you must open cmd pannel from where you kept the rom which you try to installed...
Click to expand...
Click to collapse
you mean same directory where gsi present.
fire7ly said:
you mean same directory where gsi present.
Click to expand...
Click to collapse
Yes..
work in poco m3?
how about redmi note 9 pro sir? can you give me a link for the tut?

Categories

Resources