Disable System Update on Honor 8x - Honor 8X Questions & Answers

Hi,
The system keeps giving me the annoying message to update to Android 9 and EMUI 9 on my Honor 8x L22.
I do not want to do this. I have also seen many many posts on so many users facing problems with android 9 pie and emui 9.
So, is there some way to disable to system update permanently? I am tired of seeing the annoying popup asking me to update.
Thanks
Mir

By adb command:
adb shell pm disable-user com.huawei.android.hwouc
To revert this:
adb shell pm enable --user 0 com.huawei.android.hwouc

I just downgraded my phone to Oreo. PIE was disastrous.

filthykid said:
I just downgraded my phone to Oreo. PIE was disastrous.
Click to expand...
Click to collapse
Hi, could you be so kind to describe how you dit it? Is there a guide to follow?
Thanks in advance
Inviato dal mio Honor 8x utilizzando Tapatalk

Gwozdem said:
By adb command:
adb shell pm disable-user com.huawei.android.hwouc
To revert this:
adb shell pm enable --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
Can you give more detailed instructions please?

heos98 said:
Can you give more detailed instructions please?
Click to expand...
Click to collapse
First, get to know this https://www.xda-developers.com/quickly-install-adb/
After that, use my tip

Gwozdem said:
By adb command:
adb shell pm disable-user com.huawei.android.hwouc
To revert this:
adb shell pm enable --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
Thank you so much for this. Not only does it disable the annoying update notification popup, it also diables the "System Update" option in Settings menu, so it seems to completely stop the system update module.
Do you have any further ADB (or other) tips and tricks for the Honor 8x, or for Huawel/Honor/Emui devices in general? I would be most grateful if you shared some tips or links.
Thank you
Mir

filthykid said:
I just downgraded my phone to Oreo. PIE was disastrous.
Click to expand...
Click to collapse
I second another User's request, if possible, that you share how you downgraded the firmware on your honor 8x.
Information like
- which software was used to perform the downgrade
- where you found the official firmware
- how to identify the correct firmware for our specific model
would be absolutely most appreciated by us all.

Hi, see the heos98's answer here:
https://forum.xda-developers.com/showthread.php?p=79363322
Inviato dal mio JSN-AL00a utilizzando Tapatalk

Matteo Mit. said:
Hi, could you be so kind to describe how you dit it? Is there a guide to follow?
Thanks in advance
Inviato dal mio Honor 8x utilizzando Tapatalk[/QUOTE
Check here https://huaweiadvices.com/downgrade-huawei-android-pie-emui-9-0-to-oreo-emui-8/
OR
1.Connect your Phone to windows pc and install the huawei assistant application in our pc.
2.and in phone settings check "Allow Hisuite to use HDB"
3. And connect your phone to your pc and it will automatically download hisuite APK in your phone.
4.once your phone is successful connected with your pc ,in pc go to Home and select upgrade option and in there you will see an option "go to previous version" (BACKUP YOUR FILES BEFORE DOING THIS)select and download and install it.
5.keep your phone connected to your pc throught the whole process.
Click to expand...
Click to collapse

@premk2676, thank you for your good work: It's more than I asked you!
Have a nice day
Inviato dal mio JSN-AL00a utilizzando Tapatalk

Diabolical_Mir said:
Thank you so much for this. Not only does it disable the annoying update notification popup, it also diables the "System Update" option in Settings menu, so it seems to completely stop the system update module.
Do you have any further ADB (or other) tips and tricks for the Honor 8x, or for Huawel/Honor/Emui devices in general? I would be most grateful if you shared some tips or links.
Thank you
Mir
Click to expand...
Click to collapse
Well, actually, yes - I have some tips for you friend
On my phone (Honor 10), I did hide some unnecessary icons from status bar. You can use this method: https://forum.xda-developers.com/huawei-p20-pro/how-to/guide-hiding-status-bar-icons-t3853258
And debloated system from rubbish apps (like Facebook app manager and so on...): https://forum.xda-developers.com/honor-10/how-to/guide-removing-apps-bootloader-unlock-t3855067
These tutorials were not written strict for 8X, but nonethless, you can use them safely, because it's still EMUI

Gwozdem said:
By adb command:
adb shell pm disable-user com.huawei.android.hwouc
To revert this:
adb shell pm enable --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
hey I am using Huawei Y6 Prime 2019 and I am getting this error:
Code:
Z:\ADB\platform-tools>adb shell pm disable --user 0 com.huawei.android.hwouc
Security exception: Shell cannot change component state for com.huawei.android.hwouc/null to 2
java.lang.SecurityException: Shell cannot change component state for com.huawei.android.hwouc/null to 2
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:23429)
at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:23276)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1653)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:221)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23987)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2804)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4509)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:432)
at android.os.Binder.execTransact(Binder.java:739)

Related

Easiest way to escape from Oppo R9S malware firmware?

Got an Oppo R9s through aliexpress. First time it arrived the home button wouldn't work, neither the fingerprint scanning. After sending it back and waiting three months I got a working device, but seems to have malware on it.
The lock screen is filled with chinese pictures. Doesn't seem malicious, but I can't remove it. After resetting the device to factory settings it's the first thing that installs itself after giving it network access. The wallpaper option in settings doesn't work. More importantly, when I add a phone contact, the phone app crashes opening as well as the contacts app, which renders the phone completely useless, not being able to make a simple phone call. Also, simple mode doesn't work either.
So my guess this is a modified rom to have some malware always present and basic functionality is either removed or crippled. Following instructions to enter fastboot mode (volume up + power on) seem to enter an endless loop, so it looks like this option is disabled. Using volume down I'm able to enter a recovery mode, where it says it's version 1.2 (root), and allows me to select some rom for flashing.
Before trying to wade through all the threads regarding rooting and flashing, I was considering simply replacing the ColorOS rom with a clean one. However I'm unable to find any for R9s, is it that this model doesn't have one available? Even looking at the international Oppo forums they don't have any R9s download links. So I guess I have to spend some hours reading and fishing links from long threads like https://forum.xda-developers.com/android/help/oppo-r9s-rooting-t3496781 ?
The about info of the device says this is an Oppo R9s, ColorOS v3.0, Android 6.0.1, MSM8953 OctaCore, 4GB ram, build number R9s_91_A.28_191025, baseband version Q_V1_P14,Q_V1_P14, Kernel 3.18.24-G201710252140.
romfury88 said:
Got an Oppo R9s through aliexpress. First time it arrived the home button wouldn't work, neither the fingerprint scanning. After sending it back and waiting three months I got a working device, but seems to have malware on it.
The lock screen is filled with chinese pictures. Doesn't seem malicious, but I can't remove it. After resetting the device to factory settings it's the first thing that installs itself after giving it network access. The wallpaper option in settings doesn't work. More importantly, when I add a phone contact, the phone app crashes opening as well as the contacts app, which renders the phone completely useless, not being able to make a simple phone call. Also, simple mode doesn't work either.
So my guess this is a modified rom to have some malware always present and basic functionality is either removed or crippled. Following instructions to enter fastboot mode (volume up + power on) seem to enter an endless loop, so it looks like this option is disabled. Using volume down I'm able to enter a recovery mode, where it says it's version 1.2 (root), and allows me to select some rom for flashing.
Before trying to wade through all the threads regarding rooting and flashing, I was considering simply replacing the ColorOS rom with a clean one. However I'm unable to find any for R9s, is it that this model doesn't have one available? Even looking at the international Oppo forums they don't have any R9s download links. So I guess I have to spend some hours reading and fishing links from long threads like https://forum.xda-developers.com/android/help/oppo-r9s-rooting-t3496781 ?
The about info of the device says this is an Oppo R9s, ColorOS v3.0, Android 6.0.1, MSM8953 OctaCore, 4GB ram, build number R9s_91_A.28_191025, baseband version Q_V1_P14,Q_V1_P14, Kernel 3.18.24-G201710252140.
Click to expand...
Click to collapse
Are you trying to replace the ROM or just remove the Malware? I've never heard of this device before so I can't point you towards any ROMs, But I can certainly help you remove Malware embedded in the ROM.
theashleyd123 said:
Are you trying to replace the ROM or just remove the Malware? I've never heard of this device before so I can't point you towards any ROMs, But I can certainly help you remove Malware embedded in the ROM.
Click to expand...
Click to collapse
I'm not interested in changing ROMs, just remove the malware that prevents normal device usage. That's why I was asking for links to ColorOS firmware, I presume reinstalling those would restore normal operation. However if that's not possible I'll take any non-malware ROM.
I followed the recommendation from http://community.oppo.com/en/forum.php?mod=viewthread&tid=50113 to use "adb shell" commands and disable ROM programs, finally getting to remove the lock screen pictures. After a while of having the phone turned on, I heard a weird ping sound and then the touch screen stopped responding. It works fine, since I can power off swiping to the right on the off screen, or I can swipe down and play with the toggles, but the launcher and settings app don't seem to receive touches. So maybe I disabled something affecting the screen? I did run:
adb shell pm hide com.android.browser
adb shell pm hide com.android.contacts
adb shell pm hide com.oppo.usercenter
adb shell pm hide com.nearme.gamecenter
adb shell pm hide com.nearme.atlas
adb shell pm hide com.nearme.statistics.rom
adb shell pm hide com.oppo.launcher
adb shell pm hide com.oppo.market
adb shell pm hide com.oppo.music
adb shell pm hide com.sohu.imputmethod.sogouoem
adb shell pm hide com.redteamobile.roaming
adb shell pm hide com.redteamobile.virtual.softsim
adb shell pm hide com.coloros.lives
adb shell pm hide com.nearme.themespace
adb shell pm hide com.nearme.themespacelib
adb shell pm hide com.coloros.pictorial
Rebooting or recovery mode doesn't work, so I figured to install a ROM from https://forum.xda-developers.com/showpost.php?p=70366156&postcount=13 in recovery mode (where the touch screen works fine). After installation the "optimizing android apps" kept there forever, so I turned it off/on manually, and now I launch into the original launcher with a few chinese icons, but still the screen doesn't seem to work.
Touches work for the notifications and such, but nothing for the launcher or settings, so now I'm unable to turn on USB debugging to send adb shell commands. :crying:
You've disabled your launcher and a couple of required android services (Browser etc) Use adb again to sideload a new launcher too.
---------- Post added at 10:44 AM ---------- Previous post was at 10:42 AM ----------
Also try reenabling the input method.
theashleyd123 said:
You've disabled your launcher and a couple of required android services (Browser etc) Use adb again to sideload a new launcher too.
I did these after installing replacements, like that post explained. Chrome as browser, Google APKs for contacts/calendar, Novo launcher instead of stock… and everything seemed to be working fine.
I can't enable debugging on the device, adb commands don't seem to reach the device. I've never used sideload before, does it work even without debug mode enabled?
Click to expand...
Click to collapse
romfury88 said:
theashleyd123 said:
You've disabled your launcher and a couple of required android services (Browser etc) Use adb again to sideload a new launcher too.
I did these after installing replacements, like that post explained. Chrome as browser, Google APKs for contacts/calendar, Novo launcher instead of stock… and everything seemed to be working fine.
I can't enable debugging on the device, adb commands don't seem to reach the device. I've never used sideload before, does it work even without debug mode enabled?
Click to expand...
Click to collapse
You can sideload an app via recovery by pushing it to /system/app
And then use adb shell chmod 644 "/system/app/APKNAME"
Click to expand...
Click to collapse
theashleyd123 said:
romfury88 said:
You can sideload an app via recovery by pushing it to /system/app
And then use adb shell chmod 644 "/system/app/APKNAME"
Click to expand...
Click to collapse
I can't due to adb not being able to connect to the device, since I can't put it in debug mode. When the device is in recovery mode I can't access it either, I only get "- waiting for device -"
Click to expand...
Click to collapse
Finally managed to flash a good original ROM on the device. Conveniently the chinese rom prevents running dangerous adb commands, but at least I seem to have gotten rid of the malware and I'm able to change desktop wallpapers and the lockscreen magazine
$ adb shell pm hide com.oppo.music
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Click to expand...
Click to collapse
romfury88 said:
Finally managed to flash a good original ROM on the device. Conveniently the chinese rom prevents running dangerous adb commands, but at least I seem to have gotten rid of the malware and I'm able to change desktop wallpapers and the lockscreen magazine
Click to expand...
Click to collapse
hi romfury88 how did u manage to flash original ROM can u guide me pls. thanks
Oppo R9S
ulyong23 said:
hi romfury88 how did u manage to flash original ROM can u guide me pls. thanks
Click to expand...
Click to collapse
Just bought an OPPO R9S and was wondering you managed to flash the original ROM? I have the exact same issues that romfury had.

Calender Storage

Hi, I Sold my OP7 pro because I got a Business Smartphone. The 20 Pro is my First Android ever without Root (should not Root the Business Service), so I started debloating via ADB. Unfortunately i deinstalled calender Storage. Ist there any was to get it Back? Can someone extract the apk and send it to me? YAL-L41 and UI 2.1.0. Will maybe the upcoming Update to UI 3.0 bring calender storage Back?
6nchris said:
Hi, I Sold my OP7 pro because I got a Business Smartphone. The 20 Pro is my First Android ever without Root (should not Root the Business Service), so I started debloating via ADB. Unfortunately i deinstalled calender Storage. Ist there any was to get it Back? Can someone extract the apk and send it to me? YAL-L41 and UI 2.1.0. Will maybe the upcoming Update to UI 3.0 bring calender storage Back?
Click to expand...
Click to collapse
You can activated again the deleted or uninstalled Package via ADB.
To enable use:
pm enable <package_to_enable>
package name for calender Storage:com.android.providers.calendar
I hope this help.
Error: Unable to open file: com.android.providers.calendar
Consider using a file under /data/local/tmp/
Error: Can't open file: com.android.providers.calendar
Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: com.android.providers.calendar
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:350)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:929)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:166)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23673)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2804)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4433)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:432)
at android.os.Binder.execTransact(Binder.java:739)
unfortunately, this is what i got
6nchris said:
Error: Unable to open file: com.android.providers.calendar
Consider using a file under /data/local/tmp/
Error: Can't open file: com.android.providers.calendar
Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Can't open file: com.android.providers.calendar
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:350)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:929)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:166)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23673)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2804)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4433)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:432)
at android.os.Binder.execTransact(Binder.java:739)
unfortunately, this is what i got
Click to expand...
Click to collapse
Maybe the apk will help in Attachment
letschky said:
Maybe the apk will help in Attachment
Click to expand...
Click to collapse
I tried that one before, could Not be installed
Now i Hope for Android 10, maybe the Update is a füll Rom including the calenderstorage.
6nchris said:
I tried that one before, could Not be installed
Now i Hope for Android 10, maybe the Update is a füll Rom including the calenderstorage.
Click to expand...
Click to collapse
The only thing that works safely is a factory reset
---------- Post added at 06:25 PM ---------- Previous post was at 06:18 PM ----------
Use ADB with adb shell?
adb shell
pm enable com.android.providers.calendar
if I use it says: enabled
letschky said:
The only thing that works safely is a factory reset
---------- Post added at 06:25 PM ---------- Previous post was at 06:18 PM ----------
Use ADB with adb shell?
adb shell
pm enable com.android.providers.calendar
if I use it says: enabled
Click to expand...
Click to collapse
Yes i did this as Well and it Said enabled. But there ist still No storage
6nchris said:
Yes i did this as Well and it Said enabled. But there ist still No storage
Click to expand...
Click to collapse
strange,
for what is the app exactly?
letschky said:
strange,
for what is the app exactly?
Click to expand...
Click to collapse
It is a system app. You can't User a calender App that needs to be syncronised without it.
I think only Factory Reset bring the app back.

[SCRIPT] [DISCONTINUED/SEE DESC] JBNCK-NONROOT Debloat script for Samsung devices

JBNCK-NONROOT Debloat script for Samsung devices
Works best on:
Exynos S20 series
Exynos A Series
Knox-tripped Samsung devices
[THIS PROJECT IS DISCONTINUED AND I WILL NO LONGER ANSWER ANY QUESTIONS ON THIS THREAD]
Don't worry, I'm working on a better, more extreme and more up-to-date one. I will post a link when it's ready!
Perfect, thank you
Very nice script, JanBoyGamer23. Is it possible to remove the stock Messanger app, as well? The one with three dots in the icon?
I can't install, for example Chrome
AlliePC said:
Very nice script, JanBoyGamer23. Is it possible to remove the stock Messanger app, as well? The one with three dots in the icon?
Click to expand...
Click to collapse
Yes, of course! Go to your platform tools folder (Download them if you need them) and type in:
adb shell pm uninstall -k --user 0 com.samsung.android.messaging
diegoxdrp said:
I can't install, for example Chrome
Click to expand...
Click to collapse
What?
Perfect thanks
Thank you, exactly what does "platform tools folder" mean?
Thanks, what if i want to remove or disable Samsung Game Optimization Service? Am on Android 11, 3.0.
I did try the adb command, but it didnt work. pl advise.
Vipin2689 said:
Thanks, what if i want to remove or disable Samsung Game Optimization Service? Am on Android 11, 3.0.
I did try the adb command, but it didnt work. pl advise.
Click to expand...
Click to collapse
gos always reinstalls itself. The only way to remove it is the root method: Go to your root explorer and find the app's folder in /system/priv-app and delete the folder
Hey, great script! However, I found out I needed Android SIM Toolkit after I ran the script. Do you know a way to recover/ reinstall it? or "undo" the script somehow? Thanks!
Sari95 said:
Hey, great script! However, I found out I needed Android SIM Toolkit after I ran the script. Do you know a way to recover/ reinstall it? or "undo" the script somehow? Thanks!
Click to expand...
Click to collapse
open cmd in the folder of the debloat script (the folder with all the files: adb, debloat.bat etc.) and type in:
adb shell pm install-existing com.android.stk
or with a dual sim:
adb shell pm install-existing com.android.stk
adb shell pm install-existing com.android.stk2
JanBoyGamer23 said:
open cmd in the folder of the debloat script (the folder with all the files: adb, debloat.bat etc.) and type in:
adb shell pm install-existing com.android.stk
or with a dual sim:
adb shell pm install-existing com.android.stk
adb shell pm install-existing com.android.stk2
Click to expand...
Click to collapse
That worked perfectly. Thank you!
OP, Is there a way to run your script on a MAC?
Hi, did bixby routines will work after execute this script on s20+?
I am assuming this will work on new Galaxy S21... Asking before I break my wife's new phone!!
gee.dunkin said:
I am assuming this will work on new Galaxy S21... Asking before I break my wife's new phone!!
Click to expand...
Click to collapse
Yep, should work.
Great, thanks!
FYI: I had Vanced YouTube installed and it was removed by the script. At the end I had no YouTube at all.
Also, I was somewhat surprised that you decided to remove Google Maps as well, as bloatware. Anyways, I've reinstalled both Vanced YouTube and Maps, no big deal.
Thanks for the script, you saved my some headache! I actually tried uninstalling all Facebook components using System Apps Uninstaller (root) and I ended up reflashing the firmware through Odin, as the phone got stuck on boot loops after "successfully" uninstalling them.
@op,
Could you please post a complete list of items included in the package (to be removed)?
The script had a tremendous effect on battery and I'm curious to review the main offenders (I highly suspect it to be Google telemetry, but I'd like to know specifics).
Again, excellent work, thank you!
Thanks!
nacos said:
@op,
Could you please post a complete list of items included in the package (to be removed)?
The script had a tremendous effect on battery and I'm curious to review the main offenders (I highly suspect it to be Google telemetry, but I'd like to know specifics).
Again, excellent work, thank you!
Thanks!
Click to expand...
Click to collapse
Nice to hear that it worked for you!
If you want a full list you can just look into the script as I don't remember. I know that it almost completely removes google spying, facebook trash, samsung knox bloatware and other country based bloat.

How to reinstall after accidentally uninstalling a wrong app with adb while trying to debloat?

PROBLEM SOLVED NO NEED TO REPLY
Hey, xda-developers!
Can you give me some advice? I debloated my LG v20 with adb using the following command: "pm uninstall -k --user 0 com.lge.cloudhub". It seems that I accidentally uninstalled a object that controls my phones second screen.
Can you please tell me how I can re-install said objects (without factory reset)? I'm pretty sure I know which objects I need to re-install, just don't know how to. I tried "adb shell cmd package install-existing com.lge.signboard" and got the error message "127|elsa:/ $ adb shell cmd package install-existing com.lge.signboard
/system/bin/sh: adb: not found"
So any ideas: commands, programs I can use, anything... I'm super grateful.
Thank you for reading my post!
Regards,
xdagirlrocker
xdagirlrocker said:
PROBLEM SOLVED NO NEED TO REPLY
Click to expand...
Click to collapse
If solved, why not say how - for others?
If rooted then this can be tried...
https://forum.xda-developers.com/t/...diatek-armv8-2020-08-24.3922213/post-84201415
CXZa said:
If solved, why not say how - for others?
If rooted then this can be tried...
https://forum.xda-developers.com/t/...diatek-armv8-2020-08-24.3922213/post-84201415
Click to expand...
Click to collapse
Good point! I will do so! Maybe it will help someone in future.
First I searched for possible objects that might be related to LG v20 second screen. Through the power of duckduckgo I found the following objects:
com.lge.signboard.initialguide
com.lge.provider.signboard
com.lge.signboard.setting
com.lge.quicktools
com.lge.coneshortcut
com.lge.conerecent
com.lge.signboard
In my case the (by mistake) removed object was com.lge.signboard.
From there on solved it using a software I found on xda forums. It's called ADB AppControl and it can be found on the following links. I also included the xda link. Since I couldn't find the proper command to restore the deleted item, I used this software to "un-delete" it. It was very easy.
https://appcontrol.neocities.org/index_en.html
https://forum.xda-developers.com/t/...app-manager-debloat-tool-for-android.4147837/
Cheers

Question S22+ IMEI via ADB not working

Hello,
I'm using some scripts that gather information from phones. Mainly IMEI number. However this stopped working;
adb shell service call iphonesubinfo 1
Normally it would return something like that:
Result: Parcel(
0x00000000: 00000000 0000000f 00350030 00320095 '........1.2.3.4.'
0x00000050: 00380035 00330030 00654083 00320058 '4.5.6.7.8.9.0.1.'
0x00000060: 00370097 00000033 '2.3.4... ')
But... with S22+ it does this:
Result: Parcel(fffffffc ffffffff 00000000 '............')
Something have changed... any one have any idea how to get IMEI from S22+ via ADB?
PS: phone is rooted, model SM-S906B
PPS: this method was working form S6 to S21
Edit:
It seems to be an FW issue, on first released S906BXXU1AVA7 it was working (with and w/o root).
Now I have issues on S906BXXU1AVC6.
BR, Doman.
use phone info from samsung, you have a lot of info
pitelasssss said:
use phone info from samsung, you have a lot of info
Click to expand...
Click to collapse
Nope. ADB only. I know that there are apps...
Update; I can confirm that this is an FW issue. I've rolled back to S906BXXU1AVA7 and all is ok. Any thoughts?
Update 2; well... I know "whats up" now. Staring from S906BXXU1AVBF (second available FW) there is a change in Android 12 that deprecated some functions... there is possibility for a workaround, but it's not elegant. I'm currently working on it.
I am having the same issue. Were you able to make any progress?
Hey, yes, I have a method... you need to call a code *#06# an then retrieve IMEI from it.
Here's a working example:
adb shell "imei=$(input keyevent KEYCODE_CALL;sleep 1;input text '*#06#'; uiautomator dump --compressed /dev/stdout|sed s/\>\<\/\\n/g|grep -A1 IMEI|tail -n1|sed -e 's/.*text=\"//' -e 's/\".*//'); echo ${imei:0:16}"
The above line is not mine, I'm doing it a bit differently, but it still works.
You guys able to rewrite original imei?
i'm in trouble with my s22 U
This even works for older devices,
Code:
adb shell service call iphonesubinfo 1 s16 com.android.shell | cut -d "'" -f2| grep -Eo '[0-9]'| xargs| sed 's/\ //g'
Let me know if this works!
Thank you
luckk said:
You guys able to rewrite original imei?
i'm in trouble with my s22 U
Click to expand...
Click to collapse
I haven't tryed to change IMEI on any new phone, as I remember it was a hassle 10 years ago...
uncommonthinker said:
This even works for older devices,
Code:
adb shell service call iphonesubinfo 1 s16 com.android.shell | cut -d "'" -f2| grep -Eo '[0-9]'| xargs| sed 's/\ //g'
Let me know if this works!
Thank you
Click to expand...
Click to collapse
Ha! It works on Android 13 (S23) and Android 8 (S8). Thats awesome, thanks!
I mean:
adb shell service call iphonesubinfo 1 s16 com.android.shell
The whole oneliner doesn't work on windows (but can be run in linux/android shell).
BR, Doman.
Doman2011 said:
I haven't tryed to change IMEI on any new phone, as I remember it was a hassle 10 years ago...
Ha! It works on Android 13 (S23) and Android 8 (S8). Thats awesome, thanks!
I mean:
adb shell service call iphonesubinfo 1 s16 com.android.shell
The whole oneliner doesn't work on windows (but can be run in linux/android shell).
BR, Doman.
Click to expand...
Click to collapse
Cool
Hi,
I have created a script to extract device information (including IMEI) which theoretically works on all Android versions.
For those interested: https://github.com/micro5k/microg-unofficial-installer/blob/main/utils/device-info.sh
Note: My script also works on Windows, it just need BusyBox for Windows to be executed.
ale5000 said:
Hi,
I have created a script to extract device information (including IMEI) which theoretically works on all Android versions.
For those interested: https://github.com/micro5k/microg-unofficial-installer/blob/main/utils/device-info.sh
Click to expand...
Click to collapse
These service calls can vary for the different versions of Android! You should be aware of this because you don't know what will happen for all the different devices and versions. It could be very dangerous for users to execute them.
Where to find info on Android's "service call" shell command?
Using adb shell or a terminal emulator on the device, entering this will clear all notifications (requires su) service call notification 1 This will send an sms (doesn't require su) service call...
stackoverflow.com
WoKoschekk said:
These service calls can vary for the different versions of Android! You should be aware of this because you don't know what will happen for all the different devices and versions. It could be very dangerous for users to execute them.
Where to find info on Android's "service call" shell command?
Using adb shell or a terminal emulator on the device, entering this will clear all notifications (requires su) service call notification 1 This will send an sms (doesn't require su) service call...
stackoverflow.com
Click to expand...
Click to collapse
Have you looked at the script?
It execute the right command for every Android version.
Doman2011 said:
PS: phone is rooted, model SM-S906B
PPS: this method was working form S6 to S21
Edit:
It seems to be an FW issue, on first released S906BXXU1AVA7 it was working (with and w/o root).
Now I have issues on S906BXXU1AVC6.
BR, Doman.
Click to expand...
Click to collapse
Anybody seeing Odin silently disappearing when trying to flash April security patch level firmware (Snapdragon S22+ SM-S9060)? Was fine all previous firmwares...
Edit: Post removed
I need to use adb cuz the screen is shattered. How do I pull imei while in stock recovery?
Rootmaster906 said:
I need to use adb cuz the screen is shattered. How do I pull imei while in stock recovery?
Click to expand...
Click to collapse
Stock recovery only accepts 'adb sideload'. There is no cmd to pull IMEI.
WoKoschekk said:
Stock recovery only accepts 'adb sideload'. There is no cmd to pull IMEI.
Click to expand...
Click to collapse
Can you assist me then? I cannot get any information off the phone because the screen is shattered and I can't see what is on it and my uncle forgot his password to get into it and we need the IMEI to do a trade-in
Rootmaster906 said:
Can you assist me then? I cannot get any information off the phone because the screen is shattered and I can't see what is on it and my uncle forgot his password to get into it and we need the IMEI to do a trade-in
Click to expand...
Click to collapse
IMEI is also written on the phone's package.

Categories

Resources