Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor 9C - Nothing was opened #43

Open
adolgiy opened this issue Jun 9, 2020 · 8 comments
Open

Honor 9C - Nothing was opened #43

adolgiy opened this issue Jun 9, 2020 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@adolgiy
Copy link

adolgiy commented Jun 9, 2020

No description provided.

@judemanutd
Copy link
Owner

@adolgiy I would urge you to follow the same steps mentioned in #47 (comment) and post the result here in order to get the latest intent.

@judemanutd judemanutd self-assigned this Jun 29, 2020
@judemanutd judemanutd added bug Something isn't working help wanted Extra attention is needed labels Jun 29, 2020
@judemanutd judemanutd removed their assignment Jun 29, 2020
@adolgiy
Copy link
Author

adolgiy commented Jun 29, 2020

@judemanutd i've got about 8k lines. should I search for something specific?

@adolgiy
Copy link
Author

adolgiy commented Jun 29, 2020

@judemanutd this line looks suitable:
ActivityRecord{7bf58df u0 com.huawei.systemmanager/.power.ui.PowerWholeCheckActivity t869}

@judemanutd
Copy link
Owner

The basic idea here is trial and error until you get the screen that opens up the activity. For example in case of a Xiaomi phone you have a package name com.miui.securitycenter and a component name in that package com.miui.permcenter.autostart.AutoStartManagementActivity. Once you have those 2, you basically try

val intent = Intent()
intent.component = ComponentName("com.miui.securitycenter", "com.miui.permcenter.autostart.AutoStartManagementActivity")
context.startActivity(intent)

In your case you could try

val intent = Intent()
intent.component = ComponentName("com.huawei.systemmanager", "power.ui.PowerWholeCheckActivity")
context.startActivity(intent)

Looks like something is missing here with the power.ui.PowerWholeCheckActivity, that doesn't look like the complete component name but you get the idea, since you have access to the device, you can spend a few minutes getting the combination right. Do create a PR once you get it so others can benefit from it as well.

@adolgiy
Copy link
Author

adolgiy commented Jul 2, 2020

meh, something is really missing 😞

@NoHarmDan
Copy link

Hey, did you try the option I suggested for Huawei? I mean this: "com.huawei.systemmanager.startupmgr.ui.StartupNormalAppListActivity"
I'm not entirely certain and I don't have a Honor at hand right now, but I believe it worked the same as on Huawei devices.

@adolgiy
Copy link
Author

adolgiy commented Aug 21, 2020

sorry for delay, but my temporary access to that Honor was suspended
if it is acceptable, let the issue be open, may be I'll get access later again

@ponomarevlm
Copy link

Hello! I've found missing component for Honor 10 with EmUi 9:
"com.huawei.systemmanager", "com.huawei.systemmanager.startupmgr.ui.StartupNormalAppListActivity"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants