updated to EMUI 10, host file was reset - Huawei P10 Plus Guides, News, & Discussion

Hi all,
it has been a while,
last week I updated to the latest EMUI 10, and I found out that youtube and other advertisements are back ( the horror)
tried to pull push the hosts file with adb (as I did before) but now everything fails:
adb enable-verity
verity cannot be disabled/enabled - USER build
adb disable-verity
verity cannot be disabled/enabled - USER build
adb root
adb enable-verity
verity cannot be disabled/enabled - USER build
adb remount
Not running as root. Try "adb root" first.
remount failed
adb push hosts /system/etc/hosts
adb: error: failed to copy 'hosts' to '/system/etc/hosts': remote couldn't create file: Read-only file system
hosts: 0 files pushed. 1.4 MB/s (10417 bytes in 0.007s)
Any idea or suggestions?
Thank you

Are you saying that you got a p10 plus with an official EMUI 10 update?
This update is not supposed to exist since p10 plus was not announced by Huawei as a model receiving EMUI 10.
Could you please explain how this update was made?
Maybe upload a version of about phone?

Related

[Q] adb mount system help

Hi guys i have read around and i have seen that some experienced the same problem but i couldn't find and answer so here i go: i am trying to push an app to /system/app but it seems that i can't remount the system as read-write:
C:\AndroidSDK\tools>adb push app.apk /system/app
failed to copy 'app.apk' to '/system/app/app.apk': Read-only file system
C:\AndroidSDK\tools>adb remount
remount failed: Operation not permitted
C:\AndroidSDK\tools>adb shell sysrw
sysrw: not found
do you think you can help, please?
i have superuser installed and busy box but when i try to update busy box it gives me an error saying that: The application failed, either because your device is not nand unlocked or we were unable to remount....

V8 rooted but no CWM

I was on v8 non-rooted.
I followed the instructions here to the letter:
http://forum.xda-developers.com/showthread.php?t=1566729&page=4
didn't have any issues at all, no errors.
I'm confirmed on V8 and do have root but can't access CWM. Attempting to run the new AIO again gives the following:
Root and Recovery for ZV8
Press any key to continue . . .
* daemon not running. starting it now *
* daemon started successfully *
Device found
Mounting Device
remount failed: Operation not permitted
Pushing Root Permissions
Unable to chmod /system/bin/su: Read-only file system
7781 KB/s (5345280 bytes in 0.670s)
Unable to chmod /system/xbin/busybox: Read-only file system
Installing CWM Recovery
/dev/block/mmcblk0p14: cannot open for write: Permission denied
Remove Trash
rm failed for /system/etc/install-recovery.sh, Read-only file system
rm failed for /system/recovery-from-boot.p, Read-only file system
rm failed for /data/local.prop, No such file or directory
CWM Recovery!!!
Press any key to continue . . .
Any ideas how to get to CWM?
Looks like you need to root again after your upgrade. Run MT's Root&RecoveryAIO.bat again and select the "Root ZV8" option.
[EDIT]
My bad. That's what you are trying to do! I've been up all night and am tired. Did you get any errors when you ran the "Prepare for Update" option before you upgraded? That option actually pushes the superuser files back to your phone and the "Root ZV8" option just goes back and set's the permissions. You can try manually running these commands with adb first.
Files\adb push Files\zergrush /data/local/tmp/zergrush
Files\adb shell "chmod 755 /data/local/tmp/zergrush"

[Q] [Root 4.4.X] Pie for Motorola devices - Linux - proly mac 2 step ?s

So in the [Root 4.4.X] Pie for Motorola devices thread (thanks to jcase) on page 32 (thanks to dubyajaysmith):
http://forum.xda-developers.com/mot...ot-4-4-x-pie-motorola-devices-t2771623/page32
found this gem for Mac users. But I'm an old noob (ran CM on GalaxyS forever using Windows tools) to using adb on Mac. Tried to follow instructions but apparently not getting it right. I can get root (partial) but it doesn't survive "soft reboot" (which I'm not sure which of several methods is correct).
TiBuPro seems to work (sorta). Root Checker Basic says root access.
return from Terminal had a couple fails?:
xx-mbp:~ x$ chmod 700 mxr.sh && ./mxr.sh
5083 KB/s (1538138 bytes in 0.295s)
99 KB/s (192 bytes in 0.001s)
rm failed for /data/local/atvc/blop.asec, No such file or directory
rm failed for /data/local/atvc/blop, No such file or directory
pie by jcase
want to buy me pie? paypal-> [email protected]
Root not retained after “soft reboot” (holding power down for 5 sec - is this correct “soft reboot”?… or reboot from TiBuPro? (nope)… or?)
So did adb ./mxr.sh - returned:
4345 KB/s (1538138 bytes in 0.345s)
28 KB/s (192 bytes in 0.006s)
rm failed for /data/local/atvc/blop.asec, No such file or directory
rm failed for /data/local/atvc/blop, No such file or directory
mkdir failed for /data/local/atvc/dalvik-cache, File exists
pie by jcase
want to buy me pie? paypal-> [email protected]
After TBP reboot still lost root, adb ./mxr.sh or chmod 700 mxr.sh && ./mxr.sh
again:
platform-tools d$ chmod 700 mxr.sh && ./mxr.sh
4337 KB/s (1538138 bytes in 0.346s)
33 KB/s (192 bytes in 0.005s)
rm failed for /data/local/atvc/blop.asec, No such file or directory
rm failed for /data/local/atvc/blop, No such file or directory
mkdir failed for /data/local/atvc/dalvik-cache, File exists
pie by jcase
want to buy me pie? paypal-> [email protected]
so again, not doing something right…
Tried installing ChainFire SU & Xposed Framework, tripping at the Xposed Framework Installer's "Install/Update" Framework (using "classical"), does it's thing, cancel "reboot now" and use "soft reboot" (perhaps this isn't the correct "soft reboot"?) which after reboot leaves root disabled again.
So please forgive wall of text, suspect these fails:
rm failed for /data/local/atvc/blop.asec, No such file or directory
rm failed for /data/local/atvc/blop, No such file or directory
mkdir failed for /data/local/atvc/dalvik-cache, File exists
are the "root" (lol, pun) of trouble...
Can anyone help the helpless here? TIA

Unlock bootloader (ALE-L21)

I have a factory reset ALE-L21 (2015) with android 6. Firmware is ALE-L21C109B582, EMUI 4.0.3. I've gone through most guides on this site, and I can't find one that works.
https://forum.xda-developers.com/t/...nd-install-any-custom-rom-ale-l23-21.3977067/ suggests I should downgrade to android 5, but I can't copy anything to /dload as the filesystem is read-only (so adb tells me when I try to push).
I don't have su installed, so I can't run the command su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p7 |grep -aoE '[0-9]{16}'" (which is also suggested in many places) to extract the unlock code (running without su gets a permission denied error, as expected).
I also don't have an external SD card (though I see there is a writable /sdcard directory in the filesystem).
Are there any options in my situation?
Try this:
GitHub - mashed-potatoes/PotatoNV: Unlock bootloader of Huawei devices on Kirin 960/95х/65x/620
Unlock bootloader of Huawei devices on Kirin 960/95х/65x/620 - GitHub - mashed-potatoes/PotatoNV: Unlock bootloader of Huawei devices on Kirin 960/95х/65x/620
github.com
homer5439 said:
I have a factory reset ALE-L21 (2015) with android 6. Firmware is ALE-L21C109B582, EMUI 4.0.3. I've gone through most guides on this site, and I can't find one that works.
https://forum.xda-developers.com/t/...nd-install-any-custom-rom-ale-l23-21.3977067/ suggests I should downgrade to android 5, but I can't copy anything to /dload as the filesystem is read-only (so adb tells me when I try to push).
I don't have su installed, so I can't run the command su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p7 |grep -aoE '[0-9]{16}'" (which is also suggested in many places) to extract the unlock code (running without su gets a permission denied error, as expected).
I also don't have an external SD card (though I see there is a writable /sdcard directory in the filesystem).
Are there any options in my situation?
Click to expand...
Click to collapse
was there already a folder named dload at the root of the Internal Memory? I unlocked my phone when I was on Android 5 using KingRoot and that command. It should probably work too... If there's no "dload" folder then you need to create it and place the UPDATE.APP file on the folder...

Help w a twrp convert/ port and chmod

Edit* ok two things I have finally managed to get rooted on an Android TV amlogic device running Android 10 with magisk! But problem 1: it detects an old su binary that came pre-installed and hidden by chmod permissions in this user debug firmware I am running so you had root ADB shell. Now magisk wants me to remove the other su binary I chmodded to 777 in /system/xbin/su that came w debug build. How to chmod hide from execute or detection or remove that? And problem #2: have a twrpof a different device but with the same motherboard but it's a .zip with no recover.img fastboot boot recovery.img, to boot to twrp..how to compile the zip to a twrp img or finish porting my own?

Categories

Resources