How to check status of dm verity? To make sure it's disabled. - Samsung Galaxy S7 Edge Questions and Answers

Hello everybody! I recently bricked my s7e by trying to install the superman mod because I was jumping between two guides and just followed the chapter for flashing the new bootloaders and not the beginning about twrp and so on.
Now I've done everything more carefully and thoroughly and executed the file for disabling dm verity and encryption. However I want to know if it is really disabled because I don't want to make the same mistake and have to reset me device again. Can you guys help me with how I check the status of em verity and encryption? I've tried to reach but just finds posts about people having the verification fail issue.
Thanks

Anyone our there that can help me or give me an idea?

Open a TWRP root shell and type:
Code:
surya:/ # avbctl get-verity
verity is disabled.
surya:/ # avbctl get-verification
verification is disabled.

lebigmac said:
Open a TWRP root shell and type:
Code:
surya:/ # avbctl get-verity
verity is disabled.
surya:/ # avbctl get-verification
verification is disabled.
Click to expand...
Click to collapse
Does it have to be with TWRP because Pixel 5 A12 doesn't have TWRP yet

elong7681 said:
Does it have to be with TWRP because Pixel 5 A12 doesn't have TWRP yet
Click to expand...
Click to collapse
No. You can run the same command in Android too and it will work. You can find avbctl binary in /tools subfolder of my SystemRW release (see link in my signature). Good luck!
Bash:
adb shell
su
./tools/avbctl disable-verity
./tools/avbctl disable-verification

lebigmac said:
No. You can run the same command in Android too and it will work. You can find avbctl binary in /tools subfolder of my SystemRW release. Good luck!
Bash:
adb shell
su
./tools/avbctl disable-verity
./tools/avbctl disable-verification
Click to expand...
Click to collapse
Can you send me a link to where I can find your tools?

lebigmac said:
No. You can run the same command in Android too and it will work. You can find avbctl binary in /tools subfolder of my SystemRW release (see link in my signature). Good luck!
Bash:
adb shell
su
./tools/avbctl disable-verity
./tools/avbctl disable-verification
Click to expand...
Click to collapse
Trying to use this on a slightly more out of date system. Is it possible to get you to release your tools in 32bit?

strayedsoul2003 said:
Trying to use this on a slightly more out of date system. Is it possible to get you to release your tools in 32bit?
Click to expand...
Click to collapse
I'll try to compile a 32 bit version sometime in the future but I can't say when. Just subscribe to the thread in my signature and you should be notified if there's any update
Wish me luck! Thanks
elong7681 said:
Can you send me a link to where I can find your tools?
Click to expand...
Click to collapse
Just click the link in my signature

elong7681 said:
Can you send me a link to where I can find your tools?
Click to expand...
Click to collapse
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com

Related

[TOOL] MTD-Utils for Android (incl. nanddump/nandwrite)

I could not find any binaries of the MTD-Utils (a set of useful tools when dealing with flash devices; see http://www.linux-mtd.infradead.org/index.html) for Android so I compiled some Android binaries from the source (http://git.infradead.org/mtd-utils.git).
My main interest was to get the two programs 'nanddump' and 'nandwrite' running on Android which must be used instead of 'dd' when creating images of nand partitions and restoring partitions from these images, because dd does not handle the bad blocks on the nand correctly which could lead to corrupted data.
With these two tools more flexible backup/recovery tools can be implemented since a backup/recovery can be made for every partition available on the device, even those which do not have a readable filesystem, for example the bootloader. Also, for partitions which include a filesystem, but hide some extra data outside that filesystem, this hidden data will also be included in the backup. These raw nand partition images can be tar'd or zip'd to reduce the size of the backup files.
Download: http://www.multiupload.com/5GJLEJNR8M
I do not accept donations, however if you want to make my life easier and thank me for my efforts, please think about signing up for a free SpiderOak account using this refer-a-friend link https://spideroak.com/download/referral/b89974e492728fa6a246880f0b7cbcd5. It is just like Dropbox except you can get up to 50GB of free space and they have a true zero-knowledge policy.
Thanks. I am trying to dump the system partition and restore it to another Android Mobile. Any Hints ? Thanks.
kkkelvinkk said:
Thanks. I am trying to dump the system partition and restore it to another Android Mobile. Any Hints ? Thanks.
Click to expand...
Click to collapse
Dump from one device wont work on other, if they are very similar it has few chances of booting but else it'ld brick if you dont be safe!
Actually, I want to remove some system app and then install other app, and make all configuration. After that, I want to clone this configuration to other mobile device with same model. Do you have any suggestions ?
Thanks.
kkkelvinkk said:
Actually, I want to remove some system app and then install other app, and make all configuration. After that, I want to clone this configuration to other mobile device with same model. Do you have any suggestions ?
Thanks.
Click to expand...
Click to collapse
Ok so you got a phone (model a) and you wanna remove sumtin frm /system/app n add sumtin back n then let some user having the same model a use it
Get root
Install root explorer or any root file explorer
Allow su permissions
Navigate to /system/app and do what you wanted
Then you can dump the /system partition
Kindly give some more info of your device - will help more
And yes also paste the output of "mount" command
I think I can only give more information about the phone after I back to my office.
Actually, I am using System App Remover to remove the System App. It does the job.
Wow can I dump and restore the system partition ? I have tried to use dd command, but it fails. May be nanddump will help, but I cannot find the documentation how to use it. Please help. Thanks.
Is there any way to have nanddump directly send the image to a PC that is running recv_image? I'd like to use nanddump on my Galaxy Nexus, but since it is lacking an SD card, it would seem like writing the nanddump image to the nand would just destroy any possibility of obtaining a clean nand image.
I found a way using netcat...
From host machine in one console window:
Code:
adb.exe forward tcp:5555 tcp:5555
adb.exe shell
# nanddump [options] /dev/mtd/mtd0 | nc -l -p 5555
From host machine in a second console window
Code:
nc 127.0.0.1 5555 > flashdump.bin
So how does nanddump compare with Nandroid, which uses mkyaffs2image to create .img files?
So does n e one a mirror for this??? Multiupload is no good n e more...
Sent from my Hellfire Kindle using xda premium
da-pharoah said:
So does n e one a mirror for this??? Multiupload is no good n e more...
Sent from my Hellfire Kindle using xda premium
Click to expand...
Click to collapse
Per my request, stericson kindly built nanddump and nandwrite into his version of busybox. If you still want Ezekeels's pack, I might still have it around here somewhere.
Maximilian Mary said:
Per my request, stericson kindly built nanddump and nandwrite into his version of busybox. If you still want Ezekeels's pack, I might still have it around here somewhere.
Click to expand...
Click to collapse
Yes please and thank you..
Sent from my Hellfire Kindle using xda premium
da-pharoah said:
Yes please and thank you..
Sent from my Hellfire Kindle using xda premium
Click to expand...
Click to collapse
Nope. I dug through my sdcard and the backups on my computer, and I do not still have it. If you want to contact the OP directly, he is @ezekeel666 on twitter.
Maximilian Mary said:
Nope. I dug through my sdcard and the backups on my computer, and I do not still have it. If you want to contact the OP directly, he is @ezekeel666 on twitter.
Click to expand...
Click to collapse
dirty... and nope also.. I PM'd him and he informed me he deleted all his backups on this....
also try compile, but it hard for me.
all link dead. please, upload mtdutil again.
so I saw that you updated your github!! thanks! now lets see if I can get this sorted and btw if I end up using anything no worries I will give you full credit as usual! Thanks again!
mtd ultil for android
ok guys...
1st: sorry for reviving this topic ...
2nd:here ara the binaries for android: http://goo.gl/eJ8mX
3rd and most importanto to me:
If I do a nandread mtd7 > mtd7.img (in my case the /misc partition) I can do a nandwrite mtd7.img > /dev/mtd/mtd7 without any data corruption ?
I have a lot of backups of many partition except this /misc that in freaking me!
So. Is this a reliablbe backup/restore system ? can I do it with all mtd partition ?
* I tested nandread in qcom msm_7x27 device running android 2.3.6.
shaunco said:
I found a way using netcat...
From host machine in one console window:
Code:
adb.exe forward tcp:5555 tcp:5555
adb.exe shell
# nanddump [options] /dev/mtd/mtd0 | nc -l -p 5555
From host machine in a second console window
Code:
nc 127.0.0.1 5555 > flashdump.bin
Click to expand...
Click to collapse
Or just:
adb shell "nanddump -f - /dev/mtd/mtd0" > mtd0.img
-f - outputs to stdout
Excude the partial OT, but are there any similar tools for MMC flash storage?

[Thor][Apollo] Unlocking bootloader with any firmware

Hello. At first, I did not invent anything new, just checked some my guess on a other motherboard. All thanks and credits to our great developers. As always, all at your own risk.
It does not work on the Fire HDX 8.9 (Saturn)!
All steps in this manual are not necessary but they are present for maximum safety. So I highly recommend do anything exactly in this way. Sorry my English as always =)
Update2 - actual method is https://forum.xda-developers.com/showpost.php?p=75284993&postcount=1006
Update: now you can use updated draxie's utility - http://forum.xda-developers.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014
Prerequisites for Installation
- Root
- Installed adb and fastboot drivers - official - https://drive.google.com/open?id=0B2twXJIOgv-UWWdwRl9TQS11b0k (if your system language not English, after fail navigate to "Program Files (x86)\Lab126\drivers" and run dpinst.exe /EL or switch to English =) for x64 need to disable driver signature verification before install ) also you can use pdanet drivers - http://forum.xda-developers.com/showpost.php?p=59268023&postcount=8
Manual:
1. Create unlock file following this instruction - https://forum.xda-developers.com/ki...r-firmware-t3463982/post70881555#post70881555
2. Flash old vulnarable aboot and cubed twrp (just in case). Check that all these commands executed without errors. If you'll get one - read second post below. If your firmware <=13(14)3.2.3.2 skip this step.
Download aboot and twrp for Thor (Kindle Fire HDX 7) https://drive.google.com/open?id=0B2twXJIOgv-UMGxXMUZPZTlZTUk or for Apollo (Kindle Fire HDX 8.9) - https://drive.google.com/open?id=0B2twXJIOgv-URzJDQkczNzRLaHM - and put this two files (twrp_cubed.img and aboot_vuln.mbn) into root of your kindle internal storage.
Run:
Code:
adb shell
su
dd if=/sdcard/twrp_cubed.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
dd if=/sdcard/aboot_vuln.mbn of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Now you have working twrp recovery. It already works even without unlocked bootloader. You could boot into it by holding volUP during grey kindle logo. But no need to flash anything until unlock. At this point this is just emergency tool if something goes wrong =)
3. Flash unlock file.
Now, if you reboot, you will go straight into fastboot because of old aboot - newest boot.img can't load with it. If your firmware <13(14).4.1.1 you need run "adb reboot bootloader" to boot into fastboot.
Time to flash your unlock file.
Code:
fastboot -i 0x1949 flash unlock 0xmmssssssss.unlock
You must obtain "unlock code is correct".
Grats. You are perfect =)
You can flash:
CM13 - http://forum.xda-developers.com/kin...ment/rom-cm-13-kindle-hdx-2015-11-29-t3259732
CM 12.1 - http://forum.xda-developers.com/kin...ent/rom-cm-12-unofficial-apollo-thor-t3050199
Or stock repacked latest 4.5.5.2 rom - https://drive.google.com/open?id=0B2twXJIOgv-UVFFtN2RYNXNUZ0k (13.x - thor, 14.x - apollo)
Do not flash original stock firmwares.
Regards and thank to all - @dpeddi, @vortox, @draxie, @ggow, @Ralekdev, @jcase, @Hashcode
And greatest thanks for motherboard for my experiments to @MahmudS !
FAQ:​1. if your get "not such file or directory" after su in step 2 (this is SAFESTRAP related possibly)- try to use next commands:
Code:
adb shell
su
dd if=/storage/emulated/0/twrp_cubed.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
dd if=/storage/emulated/0/aboot_vuln.mbn of=/dev/block/platform/msm_sdcc.1/by-name/aboot
http://forum.xda-developers.com/showpost.php?p=68751981&postcount=35
I think you can use greatest @draxie tool - http://forum.xda-developers.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014 with doing step2 only. But it need to test. Anyway I highly recommend get your hw id's before any actions.
Daredevil
ONYXis said:
Code:
dd if=/sdcard/aboot_vuln.mbn of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Click to expand...
Click to collapse
Great job! So, simply flashing the vulnerable bootloader "just works"...
Are you absolutely positive?
Although I've been expecting this all along
[but wouldn't dare trying, since the HDX is *still* my only tablet],
I'm wondering what the supposed "rollback protection" after 3.2.8 really covers.
Fixed issue (now hidden)
BTW: I get the exact same MD5 hash for both versions of 'aboot_vuln.mbn' (the two 'cubed_twrp.img' are different).
Code:
66b7df0db97c7c2905d1d61199c816a5 13-aboot_vuln.mbn
66b7df0db97c7c2905d1d61199c816a5 14-aboot_vuln.mbn
087e7125c48fcbebcc2f51a9c46379f2 13-twrp_cubed.img
c06799a4a8d48d9dd55aea002def1caf 14-twrp_cubed.img
H[66b7df0db97c7c2905d1d61199c816a5]=aboot-13.3.2.3.2_user_323001720.mbn
Please double-check to make sure Apollo users won't get fried.
You do say that not all steps are necessary. Can you advise if my thinking below sounds correct?
I'm considering adding this to 1-Click; that's why I'm asking.. (If I could also include a surefire way
to root the device beforehand, we'd be all set for a truly 1-Click experience from scratch, modulo
strange Windows behaviour. [if anybody still cares ;-P])
I suppose getting rid of the potentially dangerous anti-rollback-related files is good measure,
but if they had been making any difference, this method shouldn't really work, right?
So, this may not be needed at all.
I'm also thinking that flashing TWRP in the same step -although nice- is not strictly needed.
Would you agree?
Are you absolutely positive?
Click to expand...
Click to collapse
I tried this with two devices with two firmwares at each after rollback-upgrade proccess to be sure.
Although I've been expecting this
Click to expand...
Click to collapse
Same as I. Just need to be checked.
: I get the exact same MD5 hash for both versions of 'aboot_vuln.mbn
Click to expand...
Click to collapse
Strange, I use same aboots in this tool - http://forum.xda-developers.com/kin...-to-unbrick-kindle-fire-hdx-firmware-t3277197 =) need to fix=)
Re-uploaded aboot from 14.3.2.3.2 - 4A2BE8E374C8D1FCE8E6743AC2D09BB0
Thank you.
'm also thinking that flashing TWRP in the same step -although nice- is not strictly needed.
Click to expand...
Click to collapse
Of course. But... why not? and sometimes fastboot flash recovery at very first time don't work.
but if they had been making any difference, this method shouldn't really work, right?
So, this may not be needed at all.
Click to expand...
Click to collapse
This is need to check. I really do not like that factory_provision_tool.
But I agree that all magic is just dd'ing of old aboot.
ONYXis said:
I tried this with two devices with two firmwares at each after rollback-upgrade proccess to be sure.
Click to expand...
Click to collapse
Sounds good.
ONYXis said:
Same as I. Just need to be checked.
Click to expand...
Click to collapse
Indeed! And, that's quite a daring achievement. Big thanks for that!
ONYXis said:
Strange, I use same aboots in this tool - http://forum.xda-developers.com/kin...-to-unbrick-kindle-fire-hdx-firmware-t3277197 =) need to fix=)
Re-uploaded aboot from 14.3.2.3.2 - 4A2BE8E374C8D1FCE8E6743AC2D09BB0
Thank you.
Click to expand...
Click to collapse
I also verified this, just to be sure; and, chose to hide the issue in my post above.
H[4a2be8e374c8d1fce8e6743ac2d09bb0]=aboot-14.3.2.3.2_user_323001720.mbn
ONYXis said:
Of course. But... why not? and sometimes fastboot flash recovery at very first time don't work.
Click to expand...
Click to collapse
I'll see if including the TWRP images in 1-Click pushes the size of the ZIP over the XDA limit.
I suppose I could opt to fetch from the net if it doesn't, but then I need to enable networking for the VM.
ONYXis said:
This is need to check. I really do not like that factory_provision_tool.
But I agree that all magic is just dd'ing of old aboot.
Click to expand...
Click to collapse
Yes. Please check!
draxie said:
Yes. Please check!
Click to expand...
Click to collapse
Ok. So... Another motherboard with stock 3.2.3.2
Updated it through OTA to 3.2.5 > 4.1.1 > 4.5.2 > 4.5.4 > 4.5.5 > 4.5.5.1 > 4.5.5.2
Rollbacked to 3.2.8, updated to 4.5.5.1, Kingroot.
Code:
adb shell
su
dd if=/sdcard/aboot_vuln.mbn of=/dev/block/platform/msm_sdcc.1/by-name/aboot
reboot
Boot into fastboot. At this point need to have id's already!!!
Flash unlock, flash recovery, flash upHDXed 4.5.5.2 rom. Succesfully booted up. :fingers-crossed:
OP edited.
ONYXis said:
Rollbacked to 3.2.8, updated to 4.5.5.1, Kingroot.
Click to expand...
Click to collapse
I don't suppose this rollback is essential, is it?
It should work just as well to stop the update before the currently unrootable 4.5.5.2, right?
ONYXis said:
Flash unlock, flash recovery, flash upHDXed 4.5.5.2 rom. Succesfully booted up. :fingers-crossed:
Click to expand...
Click to collapse
Nice. I'll PM you soon with an updated 1-Click, for testing, if you don't mind.
(I cannot [and don't even want to] test this on my only tablet.)
draxie said:
I don't suppose this rollback is essential, is it?
Click to expand...
Click to collapse
just checked all variations.
I'll PM you soon with an updated 1-Click, for testing, if you don't mind.
Click to expand...
Click to collapse
Of course.
Can it work on hdx 8.9?
Although I have registered my 'thanks' on various posts it seems hollow to not explicitly recognize @ONYXis and @draxie for their tremendous contributions supporting this device both past and present. The ability to unlock virtually any rooted 3rd gen HDX is a true game changer that will revive interest in this discontinued gem that still competes nicely with contemporary offerings. Well done, gents!
wizard_mini said:
Can it work on hdx 8.9?
Click to expand...
Click to collapse
You mean Saturn? No, sorry.
Hi, i cant get the adb driver to work with my german Win 10 64bit
dpinst.exe /EL starts fine but throws an error while installing.
So i wanted to try the pdanet drivers but im not sure how to get my fire into fastboot mode ("- connect your kindle already waiting in fastboot mode with usb cable to pc").
Any help? :>
Maybe you need to disable driver signature verification before install. Google it.
fastboot -
Code:
adb reboot bootloader
ONYXis said:
Maybe you need to disable driver signature verification before install. Google it.
fastboot -
Code:
adb reboot bootloader
Click to expand...
Click to collapse
Thanks, that worked. Now i have the following problem when trying "python.exe cuberHDX.py 0xmmssssssss": (tried with 64 and 32bit Python + gmpy2, because that seems to be the problem sometimes)
File "cuberHDX.py", line 7, in <module>
from gmpy2 import iroot, mpz
ImportError: DLL load failed: %1 ist keine zulõssige Win32-Anwendung. [last part means not a valid win 32 application]
Thanks for your help!
It is python installation related problem, I really not familar with that. You could post your id's and I'll create and attach your unlock-file.
ONYXis said:
It is python installation related problem, I really not familar with that. You could post your id's and I'll create and attach your unlock-file.
Click to expand...
Click to collapse
0x000015
0x1022b00d
Thank you!
RambaaZambaa said:
0x000015
0x1022b00d
Thank you!
Click to expand...
Click to collapse
Welcome.
Need to unarchive.
ONYXis said:
Welcome.
Need to unarchive.
Click to expand...
Click to collapse
Next problem :silly:
As long as im not su i can cd to sdcard folder (or storage/sdcard0). But then i cant use the "dd if=/sdcard/twrp_cubed.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery" command.
So when im SU the command fails and i also cant enter the sdcard folder (no such file or directory). Strange...
RambaaZambaa said:
Next problem :silly:
As long as im not su i can cd to sdcard folder (or storage/sdcard0). But then i cant use the "dd if=/sdcard/twrp_cubed.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery" command.
So when im SU the command fails and i also cant enter the sdcard folder (no such file or directory). Strange...
Click to expand...
Click to collapse
Sorry, really don't understand )
Pls, provide screenshot of cmd with your error.
And try to follow instructions directly.There is no any cd command.

Root OP3T without unlocking bootloader - Automated App

ROOT w/o UNLOCKING BOOTLOADER:
Few of Qualcomm Devices have been found to have engineering mode software preinstalled on the device, which has root access. Using the same exploit root can be achieved in OP3, OP3T, OP5 and others, without unlocking the bootloader. Here is a full story: OnePlus Accidentally Pre-Installed an App that acts as a Backdoor to Root Access
The exploit was found by the user Elliot Alderson. An application has been promised by the author soon, to gain root access.
I have tested the method in OnePlus 3T and it works perfectly and passes SafetyNet check, furthermore you do not get DM-Verity error either.
Please follow the guide from here: OnePlus 3T Root w/o unlocking bootloader
Note: Do not modify system files though it won't let you, doing so will trigger Dm Verity.
Magisk Modules do not work, i,e you won't be able to use any modules.
Root and hide root works.
You will get system update but updating might kick you out of the root and you won't be able to gain access to root again.
It works on latest Oreo Beta, as you see in the screenshot.
Disclaimer: Follow the guide at your own risk, it is working fine for me, that in no way means it will work the same for you. Neither me nor the people envolved in this takes any responsibility. You and only you are responsible if anything goes wrong.
Note: I am not the developer or the person who found this exploit or root method. All credits go to them.
SCREENSHOTS ATTACHED
Update 1:
An app has been realsed by Oğuzhan Yiğit here is the link, the full credit goes to him for the same. Here is the link to the post:
Oneplus 3T Root Via App, further it installs SuperSU
This step is required every time you reboot:
adb shell
cd /data/magisk/
./magisk --mountimg xbin.img /system/xbin
magisk --post-fs
magisk --post-fs-data
magisk --service
I haven't tried doing the same, but theoretically, it shouldn't work.
[deleted]
casual_kikoo said:
...OnePlus 2...
Click to expand...
Click to collapse
That phone does not have dm-verity. That's why it works.
DOING THIS ON A ONEPLUS 3 OR NEWER WILL NOT WORK AND YOU WILL BRICK UNTIL YOU QUALCOMM UN-BRICK THE PHONE
Edit: I suggest deleting that and posting it in the OnePlus 2 section since someone will likely try it and brick.
SpasilliumNexus said:
That phone does not have dm-verity. That's why it works.
DOING THIS ON A ONEPLUS 3 OR NEWER WILL NOT WORK AND YOU WILL BRICK UNTIL YOU QUALCOMM UN-BRICK THE PHONE
Edit: I suggest deleting that and posting it in the OnePlus 2 section since someone will likely try it and brick.
Click to expand...
Click to collapse
Ok, as I thougth something else enter into account.
Thanks a lot !
As a newbie can u plz provide me the steps how to gain root access.?
Thanks in advance.
anuajayan said:
As a newbie can u plz provide me the steps how to gain root access.?
Thanks in advance.
Click to expand...
Click to collapse
Please do the necessary steps, I will assist you wherever you get stuck, you can also reach me at telegram on @apurvak
coolstoneapurva said:
Please do the necessary steps, I will assist you wherever you get stuck, you can also reach me at telegram on @apurvak
Click to expand...
Click to collapse
I don't know from where or how to start with? Please guide me accordingly..
replace hosts file
OK, so I decided to take advantage and replace my hosts file. I gain adb root, but then
Code:
@~/Downloads/oneplus[20:56:04]~: 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. 73.3 MB/s (327680 bytes in 0.004s)
trying without success
Code:
@~/Downloads/oneplus[21:00:48]~: adb remount
remount failed
and from within
Code:
@~/Downloads/oneplus[21:00:51]~: adb shell
OnePlus3T:/ # id
uid=0(root) gid=0(root) groups=0(root),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:su:s0
OnePlus3T:/ # mount -o rw,remount /system
'/dev/block/dm-0' is read-only
What am I doing wrong or need to do to replace my hosts file, please?
mitkko said:
OK, so I decided to take advantage and replace my hosts file. I gain adb root, but then
trying without success
and from within
What am I doing wrong or need to do to replace my hosts file, please?
Click to expand...
Click to collapse
It's a good thing something is stopping you, because you shouldn't be modifying any file on the partitions. Again, dm-verity is enabled. You modifying any file directly will result in getting a corrupt error after a reboot. Use Magisk for systemless modifications.
Please write in first post if OTA will still work on next update. And if possible specify if this woks also on oxygen os open beta with Android Oreo.
That said, anyone know if possible to unlock bootloader state, without trigger the factory reset??
SpasilliumNexus said:
It's a good thing something is stopping you, because you shouldn't be modifying any file on the partitions. Again, dm-verity is enabled. You modifying any file directly will result in getting a corrupt error after a reboot. Use Magisk for systemless modifications.
Click to expand...
Click to collapse
How do I do that? Assume I have already introduced magisk to my phone.
mitkko said:
How do I do that? Assume I have already introduce magisk to my phone.
Click to expand...
Click to collapse
Isn't there a systemless host option for adblock in Magisk's settings? If so, turn it on, install AdAway, turn on systemless hosts in that, apply the adblock.
SpasilliumNexus said:
Isn't there a systemless host option for adblock in Magisk's settings? If so, turn it on, install AdAway, turn on systemless hosts in that, apply the adblock.
Click to expand...
Click to collapse
Never used it before. Is that persistent? I mean after reboot and magisk root gone will it persist? I don't need persistent root, I just want to patch hosts one time only if possible.
mitkko said:
Never used it before. Is that persistent? I mean after reboot and magisk root gone will it persist? I don't need persistent root, I just want to patch hosts one time only if possible.
Click to expand...
Click to collapse
It's not persistent. The last steps for root access in that guide needs to be done after every reboot, which is also needed for AdAway to apply the block. Applying the adblock after root doesn't need a reboot.
You're better off just doing the traditional unlock and root instead.
Hope that makes sense.
Deodexed and Patched EngineeringMode.apk for restore default Privilege
I played a little with Angela`s Root and wanted to restore the previous level of privilege. In the application there is a special button rollback changes, but it is Invisible
Code:
this.mPrivilege = this.findViewById(2131493042);
this.mPrivilege.setOnClickListener(((View$OnClickListener)this));
this.mPrivilege.setVisibility(4); //this.mPrivilege.setVisibility(View.INVISIBLE);
So I did the application deodex and patched the application, changing it to
Code:
this.mPrivilege.setVisibility(0); //this.mPrivilege.setVisibility(View.VISIBLE);
After that I changed the original application to patched
Code:
adb remount
adb push EngineeringMode_SIGNED_ALIGNED.apk /system/app/EngineeringMode/EngineeringMode.apk
And start them
Code:
adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Result Screenshort:
After click on the button, the phone restarts and all privileges are restored
mitkko said:
OK, so I decided to take advantage and replace my hosts file. I gain adb root, but then
Code:
@~/Downloads/oneplus[20:56:04]~: 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. 73.3 MB/s (327680 bytes in 0.004s)
trying without success
Code:
@~/Downloads/oneplus[21:00:48]~: adb remount
remount failed
and from within
Code:
@~/Downloads/oneplus[21:00:51]~: adb shell
OnePlus3T:/ # id
uid=0(root) gid=0(root) groups=0(root),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:su:s0
OnePlus3T:/ # mount -o rw,remount /system
'/dev/block/dm-0' is read-only
What am I doing wrong or need to do to replace my hosts file, please?
Click to expand...
Click to collapse
You shouldn't make any changes to system partion doing to will render you unable to boot, as dm verity is enabled.
andQlimax said:
Please write in first post if OTA will still work on next update. And if possible specify if this woks also on oxygen os open beta with Android Oreo.
That said, anyone know if possible to unlock bootloader state, without trigger the factory reset??
Click to expand...
Click to collapse
Yes it will work on next update as system files are intact, further it works on Beta Oreo as you can see the screenshot. I will further update the post with the same.
seems not working on Android 8 /OOS 5

request for android p gsi

request for android p gsi image build on android p dp4 or which ever dp sources are available for non pixel phones.
hope some developer start to work on this project soon.
Closed in 3, 2, 1...
Any update related to android p gsi...??
It is not possible since android P source code is not public yet.
cf: https://android.googlesource.com/platform/manifest/+refs
@sharky172 Thanks for posting it that way and with a link. I was actually wondering why I couldn't find any GSI info for P. Not asking for ETA, just curious on average when do the next release's sources show up online, when they officially announce the version or a little before?
Not yet, Android P sources aren't public, so we need to wait little more.
Good news for us, i found chat on telegram group. Mr. Erfan Abdi (who invented capire le treble/CLT) said that android p gsi is under development. For additional info, he had been release android p port developer preview 4 for motorola moto z.
He said p gsi is coming soon
Here's the proof
https://forum.xda-developers.com/moto-z/development/rom-android-p-developer-preview-t3786645
And i also screenshot his statement
yogasetyaadi said:
Good news for us, i found chat on telegram group. Mr. Erfan Abdi
Click to expand...
Click to collapse
can you share a link to the group?
Android-p-preview-4 manifest https://android.googlesource.com/platform/manifest/+/android-p-preview-4
DarkRisen said:
can you share a link to the group?
Click to expand...
Click to collapse
https://t.me/phhtreble
Aosp phusson group
ya i posted this thread after reading post on xda that a dev has tested android p gsi on some motorola phone.
if there is any gsi to test please post it in this thread. i mean for all phones
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
is this for arm 64 a only device
and what are instructions to flash as i see post gsi zips.
gello0 said:
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
Click to expand...
Click to collapse
gello0 said:
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
Click to expand...
Click to collapse
Where you get that link??
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
godraxe said:
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
Click to expand...
Click to collapse
You think this will work coming from open beta 13 in oneplus 5? And I have to flash all zips in twrp?
what is the partition type. is it a or a/b or ab
Is it working on redmi note 5 pro?
godraxe said:
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
Click to expand...
Click to collapse
I flashed the image, then the 3 zips and when I reboot system it goes to fastboot mode.
Oneplus 5

Mount Oneplus 8Pro in rw (Android 11)

Hello guys
I have a OP 8 Pro rooted phone with Android 11.
I want to remove pre-installed apps but the system is in Read-only mode.
I use Root Explorer with root access but impossible to have RW mode in Root Explorer.
I try with adb but nothing happen.
It seems that the rw mode is inaccessible.
Can you help me please ?
Thanks for all.
Johncaffee said:
Hello guys
I have a OP 8 Pro rooted phone with Android 11.
I want to remove pre-installed apps but the system is in Read-only mode.
I use Root Explorer with root access but impossible to have RW mode in Root Explorer.
I try with adb but nothing happen.
It seems that the rw mode is inaccessible.
Can you help me please ?
Thanks for all.
Click to expand...
Click to collapse
Did you tried MiXplorer? I had various issues with other file explorers but MiXplorer always worked fine for me.
MiXplorer
Raiz said:
Did you tried MiXplorer? I had various issues with other file explorers but MiXplorer always worked fine for me.
MiXplorer
Click to expand...
Click to collapse
Sorry I've just seen your response (sorry for my english).
I've found a solution.
You have to install adb before and USB Debugging enabled.
Plug the phone into PC and change it from charge only to file transfer.
In the folder where adb is installed, you have to do SHIFT+RIGHT CLICK to open PowerShell.
Then, in the terminal, enter :
adb devices
This print the serial number of the device (first time you have to click ok on the phone).
after, enter :
adb shell
You are into your phone.
execute the next command :
pm uninstall -k --user 0 "name of package"
(without quote. You can see the name of package in Titanium or SD Maid for exemple.)
Done
It seems to be ok for me.
Johncaffee said:
Sorry I've just seen your response (sorry for my english).
I've found a solution.
You have to install adb before and USB Debugging enabled.
Plug the phone into PC and change it from charge only to file transfer.
In the folder where adb is installed, you have to do SHIFT+RIGHT CLICK to open PowerShell.
Then, in the terminal, enter :
adb devices
This print the serial number of the device (first time you have to click ok on the phone).
after, enter :
adb shell
You are into your phone.
execute the next command :
pm uninstall -k --user 0 "name of package"
(without quote. You can see the name of package in Titanium or SD Maid for exemple.)
Done
It seems to be ok for me.
Click to expand...
Click to collapse
This command is used to hide the app from the main user, the apk file is still here and if you factory reset the apps will be there again.
If it doesn't bother tho that's cool
Pre-installed apps ( so called bloatware ) typically are located in /system/priv-apps, their owner typically is ROOT what means they can't get uninstalled / deleted by ordinary Android user ( e.g user 0 ), so, disabling them pretty much remains your only option.
I tried Mixplorer but the file is blocked in read-only mode
Johncaffee said:
I tried Mixplorer but the file is blocked in read-only mode
Click to expand...
Click to collapse
You need to enable root in mixplorer settings
I do it.
Just in Android 11, it seems to be impossible to enter in rw mode.
Johncaffee said:
I do it.
Just in Android 11, it seems to be impossible to enter in rw mode.
Click to expand...
Click to collapse
..
Not work.
I have the same screen like you. I remove but thd phone say "no deleted file".
Johncaffee said:
Not work.
I have the same screen like you. I remove but thd phone say "no deleted file".
Click to expand...
Click to collapse
I get those messages, the folder I delete stays but the file inside is deleted
Not me. The file is still here
try systemrw 1.32.
open twrp and put in this ZIP:
systemrw_1.32_flashable.zip
and all systemwide rw mode
Edit: the Owner of this ZIP ask me to remove that File here.
Im amazed how noone replied with proper instructions. The guy literally wants a r/w ability. Inorder to do that super partition needs to be modified which is done with systemrw zip.
At least someone shared it. Thanks @012345678
012345678 said:
try systemrw 1.32.
open twrp and put in this zip
and all systemwide rw mode
Click to expand...
Click to collapse
It seems to be work. Thank you
012345678 said:
try systemrw 1.32.
open twrp and put in this zip
and all systemwide rw mode
Click to expand...
Click to collapse
Worked on OnePlus 8 Pro (IN2023) with OxygenOS 10.5.10.IN11AA. Thanks
Hi @012345678. Thanks for your interest in my SystemRW project.
Sorry but unauthorized, unofficial, unverified re-uploads of my SystemRW files (or parts thereof) are not allowed!
Therefore I must please ask you to remove your unauthorized, unofficial, incomplete re-upload of my SystemRW project from your comment above. The unofficial version that you re-uploaded it's missing the original sysrw_repair script!
Instead could you please simply put a link to the official SystemRW project page ? Thanks
The official download mirrors that I provided there work just fine and I'll add more official download mirrors soon! Dont worry
I can only offer customer support for the latest official version of my script that was downloaded directly through the official SystemRW project page
Thank you!
Enjoy a fully read/write-able device!
Great news! New SystemRW version coming soon!
lebigmac said:
Hi @012345678. Thanks for your interest in my SystemRW project.
Sorry but unauthorized, unofficial, unverified re-uploads of my SystemRW files (or parts thereof) are not allowed!
Therefore I must please ask you to remove your unauthorized, unofficial, incomplete re-upload of my SystemRW project from your comment above. The unofficial version that you re-uploaded it's missing the original sysrw_repair script!
Instead could you please simply put a link to the official SystemRW project page ? Thanks
The official download mirrors that I provided there work just fine and I'll add more official download mirrors soon! Dont worry
I can only offer customer support for the latest official version of my script that was downloaded directly through the official SystemRW project page
Thank you!
Enjoy a fully read/write-able device!
Great news! New SystemRW version coming soon!
Click to expand...
Click to collapse
Sure, i removed that. Sorry
Hello guys
Just to say : doesn't work on Oxygen OS 11.0.11.11 IN11BA.
That's all.
Have a good day
Hi @Johncaffee thanks for your feedback. What exactly is the problem with your OnePlus device? You must tell me now because I'm working on brand new version which will be released very very soon (this month!)
It's work with older Oxygen firmware version but not with new firmware version?
Development of new version took a little bit longer than expected because my SystemRW / SuperRW featuring MakeRW by lebigmac project was stolen, hacked, rebranded and reuploaded as their own by multiple hacker thieves in the meantime. It's almost impossible to protect open source or even closed source software from ruthless cyber pirates nowadays. Anyone good with obfuscation and encryption please contact me now thanks!
Thanks you too have a nice day

Categories

Resources