Android 10 0 bytes available in "root" - Google Pixel 3a XL Questions & Answers

I rooted my Pixel 3a XL with magisk on Android 10, and after when looking at my file browser I see that the "root" directory has 0 bytes free? What the heck?
I re-flashed stock factory image and checked again and it still says 0 bytes available. Anyone know what is going on here?
EDIT: I figured it out.

Ravoz88 said:
I rooted my Pixel 3a XL with magisk on Android 10, and after when looking at my file browser I see that the "root" directory has 0 bytes free? What the heck?
I re-flashed stock factory image and checked again and it still says 0 bytes available. Anyone know what is going on here?
EDIT: I figured it out.
Click to expand...
Click to collapse
It would be nice if you posted your solution, in case others have the same situation.

poncespr said:
It would be nice if you posted your solution, in case others have the same situation.
Click to expand...
Click to collapse
I'll be honest, when I wrote that edit I was pretty frustrated. I couldn't figure out what was wrong, and I posted my question to several websites and didn't get any responses.
But you are correct, I should have posted what I learned here.
With Android 10, I've now read, that they switched to a new ext4 file system. And "system" is now read only, and can not be written to. Because it is now read only, file browsers see "root" as having 0 bytes of available space.
I have read that even with administrative access (root), the partition still can not be written to. Considering adaway could not modify the host file, with root access, this is obviously true.
Root programs, like adaway, will need to use a "systemless" method now. Which adaway does have in its settings.
I am not an expert, but this is what has happened as far as I understand it.

Related

Root

This isn't hard. Towel root, use ES file Explorer to uninstall system app Device Services Platform from rooted device to disable OTA updates. Do everything else from other posts to install Gapps. Enjoy a truly nice phone.
Not sure if I am doing something wrong but I downloaded the towelroot v3 apk from geohots site and when I press the make it rain button it says "This phone isn't currently supported".
I also tried tapping the towelroot v3 button and trying the below with no luck:
1337 0 1 0 4 0
1337 0 1 7380 4 0
1337 0 1 0 4 1
I am experiencing the same. When you click "make it rain" in Towel Root you get a phone is unsupported. Looks like no way as of yet to root Amazon Fire Phone.
Guys,could you try Bin4ry's rooting method? I has worked on all tate and jem models. Also,can someone make a list of the files in /dev/block?
SafinWasi said:
Guys,could you try Bin4ry's rooting method? I has worked on all tate and jem models. Also,can someone make a list of the files in /dev/block?
Click to expand...
Click to collapse
@SafinWasi - I tried the Bin4ry root method but I don't see an option in the Fire OS to enable USB debugging, so adb does not read the device. I will try to get a list of the files in /dev/block/ to you if I'm able to read the file system through one of the explorers. Sounds like towelroot is working for some, and not for others?
EDIT: Here is the list of files in /dev/block/
/platform/msm_sdcc.1
/voId/ (EMPTY FOLDER)
/loop0
/loop1
/loop2
/loop3
/loop4
/loop5
/loop6
/loop7
/mmcblk0
/mmcblk0boot0
/mmcblk0boot1
/mmcblk0p1
/mmcblk0p10
/mmcblk0p11
/mmcblk0p12
/mmcblk0p13
/mmcblk0p14
/mmcblk0p15
/mmcblk0p16
/mmcblk0p17
/mmcblk0p18
/mmcblk0p19
/mmcblk0p2
/mmcblk0p3
/mmcblk0p4
/mmcblk0p5
/mmcblk0p6
/mmcblk0p7
/mmcblk0p8
/mmcblk0p9
/mmcblk0rpmb
/ram0
/ram1
/ram10
/ram11
/ram12
/ram13
/ram14
/ram15
/ram2
/ram3
/ram4
/ram5
/ram6
/ram7
/ram8
/ram9
/zram0
Please let me know if there's anything else I can do to help.
I am M3 said:
@SafinWasi - I tried the Bin4ry root method but I don't see an option in the Fire OS to enable USB debugging, so adb does not read the device. I will try to get a list of the files in /dev/block/ to you if I'm able to read the file system through one of the explorers. Sounds like towelroot is working for some, and not for others?
EDIT: Here is the list of files in /dev/block/
/platform/msm_sdcc.1
/voId/ (EMPTY FOLDER)
/loop0
/loop1
/loop2
/loop3
/loop4
/loop5
/loop6
/loop7
/mmcblk0
/mmcblk0boot0
/mmcblk0boot1
/mmcblk0p1
/mmcblk0p10
/mmcblk0p11
/mmcblk0p12
/mmcblk0p13
/mmcblk0p14
/mmcblk0p15
/mmcblk0p16
/mmcblk0p17
/mmcblk0p18
/mmcblk0p19
/mmcblk0p2
/mmcblk0p3
/mmcblk0p4
/mmcblk0p5
/mmcblk0p6
/mmcblk0p7
/mmcblk0p8
/mmcblk0p9
/mmcblk0rpmb
/ram0
/ram1
/ram10
/ram11
/ram12
/ram13
/ram14
/ram15
/ram2
/ram3
/ram4
/ram5
/ram6
/ram7
/ram8
/ram9
/zram0
Please let me know if there's anything else I can do to help.
Click to expand...
Click to collapse
Oh yeah,it's got a boot0block file(mmcblk0boot0). Can you check which file is ridiculously large? Also,what's in the platform file?
Sent from my device running CyanogenMod 11
SafinWasi said:
Oh yeah,it's got a boot0block file(mmcblk0boot0). Can you check which file is ridiculously large? Also,what's in the platform file?
Sent from my device running CyanogenMod 11
Click to expand...
Click to collapse
@SafinWasi - The files in the dev/block/ all show as empty 0.00b. And I apologize, looks like msm_sdcc.1 is actually a folder which contains the following:
By-name (folder)
aboot
boot
cache
dbi
DDR
fsc
fsg
misc
modem
modemst1
modemst2
persist
recovery
rpm
sbl1
ssd
system
tz
userdata
By-num (folder)
p1 thru p19
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p10
mmcblk0p11
mmcblk0p12
mmcblk0p13
mmcblk0p14
mmcblk0p15
mmcblk0p16
mmcblk0p17
mmcblk0p18
mmcblk0p19
mmcblk0p2
mmcblk0p3
mmcblk0p4
mmcblk0p5
mmcblk0p6
mmcblk0p7
mmcblk0p8
mmcblk0p9
mmcblk0rpmb
Again, all files show as 0.00b for me, but I'm using ES File Explorer. Also the files are showing with -rw permissions.
I am M3 said:
@SafinWasi - The files in the dev/block/ all show as empty 0.00b. And I apologize, looks like msm_sdcc.1 is actually a folder which contains the following:
By-name (folder)
aboot
boot
cache
dbi
DDR
fsc
fsg
misc
modem
modemst1
modemst2
persist
recovery
rpm
sbl1
ssd
system
tz
userdata
By-num (folder)
p1 thru p19
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p10
mmcblk0p11
mmcblk0p12
mmcblk0p13
mmcblk0p14
mmcblk0p15
mmcblk0p16
mmcblk0p17
mmcblk0p18
mmcblk0p19
mmcblk0p2
mmcblk0p3
mmcblk0p4
mmcblk0p5
mmcblk0p6
mmcblk0p7
mmcblk0p8
mmcblk0p9
mmcblk0rpmb
Again, all files show as 0.00b for me, but I'm using ES File Explorer. Also the files are showing with -rw permissions.
Click to expand...
Click to collapse
Can you pull the boot file and send it to me? Looks like we just found the kernel. Also,the system file should be large
Sent from my device running CyanogenMod 11
towelroot
SafinWasi said:
Oh yeah,it's got a boot0block file(mmcblk0boot0). Can you check which file is ridiculously large? Also,what's in the platform file?
Sent from my device running CyanogenMod 11
Click to expand...
Click to collapse
All versions of towelroot are not created the same it seems. I had rooted my Kindle Fire HDX 8.9 and done everything it seems that everyone here had posted. Installed Super SU, KindleFree Pro, etc. Well, the pesky Kindle Fire updated nonetheless and I had to search for and find a version of towelroot that would work to re root the device again. At the same time, it was a different version of towelroot that rooted my 2 day old phone weeks ago and before I knew it, I was getting nags that when I was connected to wifi again, the phone was going to update OS! I did I boatload of searching on the internet and discovered that the Fire TV uses system app Device Services Platform (DSP) to do OTA updates. I just took a gamble and used ES File Explorer to uninstall that system app. ES File Explorer gave me an error saying uninstall failed (on phone and Kindle HDX 8.9). but on reboot nag was gone and I continue to have access to Gapps, playstore, Chrome, everything. I did use xposed installer to load Gapps. Amazon Instant video still works, it's all the phone it should be and is fast as heck and pretty, lol.
I have no idea why there are so many sources for towelroot and why seemingly same versions really are NOT. I just know that Google is your friend and shotgun approach works and there is a version that will your phone. I am not a geek and did this
Dilbert1959 said:
All versions of towelroot are not created the same it seems. I had rooted my Kindle Fire HDX 8.9 and done everything it seems that everyone here had posted. Installed Super SU, KindleFree Pro, etc. Well, the pesky Kindle Fire updated nonetheless and I had to search for and find a version of towelroot that would work to re root the device again. At the same time, it was a different version of towelroot that rooted my 2 day old phone weeks ago and before I knew it, I was getting nags that when I was connected to wifi again, the phone was going to update OS! I did I boatload of searching on the internet and discovered that the Fire TV uses system app Device Services Platform (DSP) to do OTA updates. I just took a gamble and used ES File Explorer to uninstall that system app. ES File Explorer gave me an error saying uninstall failed (on phone and Kindle HDX 8.9). but on reboot nag was gone and I continue to have access to Gapps, playstore, Chrome, everything. I did use xposed installer to load Gapps. Amazon Instant video still works, it's all the phone it should be and is fast as heck and pretty, lol.
I have no idea why there are so many sources for towelroot and why seemingly same versions really are NOT. I just know that Google is your friend and shotgun approach works and there is a version that will your phone. I am not a geek and did this
Click to expand...
Click to collapse
I agree mate. Towelroot versions are different.
Dilbert1959 said:
All versions of towelroot are not created the same it seems. I had rooted my Kindle Fire HDX 8.9 and done everything it seems that everyone here had posted. Installed Super SU, KindleFree Pro, etc. Well, the pesky Kindle Fire updated nonetheless and I had to search for and find a version of towelroot that would work to re root the device again. At the same time, it was a different version of towelroot that rooted my 2 day old phone weeks ago and before I knew it, I was getting nags that when I was connected to wifi again, the phone was going to update OS! I did I boatload of searching on the internet and discovered that the Fire TV uses system app Device Services Platform (DSP) to do OTA updates. I just took a gamble and used ES File Explorer to uninstall that system app. ES File Explorer gave me an error saying uninstall failed (on phone and Kindle HDX 8.9). but on reboot nag was gone and I continue to have access to Gapps, playstore, Chrome, everything. I did use xposed installer to load Gapps. Amazon Instant video still works, it's all the phone it should be and is fast as heck and pretty, lol.
I have no idea why there are so many sources for towelroot and why seemingly same versions really are NOT. I just know that Google is your friend and shotgun approach works and there is a version that will your phone. I am not a geek and did this
Click to expand...
Click to collapse
Hi @Dilbert1959 - could you please post in this thread, or PM me, the towelroot apk which worked for you?
I am M3 said:
Hi @Dilbert1959 - could you please post in this thread, or PM me, the towelroot apk which worked for you?
Click to expand...
Click to collapse
Same here, interested in the working towelroot apk. Having the same issue with what I can get from the towelroot site.
Grizzlax said:
Same here, interested in the working towelroot apk. Having the same issue with what I can get from the towelroot site.
Click to expand...
Click to collapse
I got a response from Dilbert1959 which linked to a file on Google Drive, but would not let me download as it violated ToS. Haven't gotten a response from him since. Every towelroot apk I've tried has not worked for me, and I've tried around 10 different sources. I've also tried multiple variations of the modstrings in the v3 towelroot with no success, however I believe there is a modstring that will work for this phone - we just haven't found it yet.
So nothing new yet on this front?
I've tried several versions of Towelroot with no success.
I'm really digging the phone, with a few exceptions. I'd love to be able to get Google Services on it.
Hopefully something solid works out soon.
rkalajian said:
So nothing new yet on this front?
I've tried several versions of Towelroot with no success.
I'm really digging the phone, with a few exceptions. I'd love to be able to get Google Services on it.
Hopefully something solid works out soon.
Click to expand...
Click to collapse
If your phone is already updated to 3.5.1, there is currently no root method. You can follow this guide to install the Google apps on your phone. They work (with some annoying force close messages)
http://www.gizmag.com/how-to-install-google-apps-kindle-fire-hd-hdx/30736/
Click to expand...
Click to collapse
I am M3 said:
If your phone is already updated to 3.5.1, there is currently no root method.
Click to expand...
Click to collapse
Damn. I'm already on 3.5.1. Has anyone been able to successfully roll back somehow?
rkalajian said:
Damn. I'm already on 3.5.1. Has anyone been able to successfully roll back somehow?
Click to expand...
Click to collapse
Amazon still has the download link up for the 3.5 OS. The stock recovery has an option for "update via ADB" which will prompt you to sideload an update file. I'm thinking this will allow us to revert to version 3.5 unless Amazon has somehow blocked it. This hasn't been tested yet (and since this is my only phone to use right now, I'm not willing to risk turning it into a paperweight)
I suggest installing a different launcher (CLauncher works good) and installing the GApps if you want a more "regular" Android experience.
I am M3 said:
If your phone is already updated to 3.5.1, there is currently no root method. You can follow this guide to install the Google apps on your phone. They work (with some annoying force close messages)
Click to expand...
Click to collapse
I tried this method of non-root access to install Google Play support. It didn't work for my purposes. I could pull up GMail (after setting up a one-time App password since I use 2-step verification), but there were lots of error messages all the time about Google services stopping. What I really wanted it for was to be able to link my Clash of Clans game into my Google+ account for backups. But, that App won't even pull up with the bastardized Play support they had developed for the Fire HDX.
Anyone else have any luck with Towelroot after the 3.5.1 update? I'd really like to get working Google Services support - it is by far the most disappointing feature of the phone. I actually love the Fire Phone other than that.
Thanks in advance,
MR
Guys,if you have trouble in recovery with Update Via ADB,try using a linux distro. @Dilbert1959 @I am M3 please try this.
I was able to get into recovery and sideload the 3.5 bin and downgrade. It worked sort of. In that it killed the phone services and created a lot of errors but it was on 3.5 and I was able to use towelroot to root it. Unfortunately the fact that it killed the phone made it a non-starter and I had to go back. And it wasn't as simple as just updating again I had to do a full factory restore.

Stuck in Safe Mode / Decrypt storage

Hi, a little background first. My phone is s-Off, bootloader is unlocked and I have a been running rooted custom roms since day 1 that I had this phone. I always ran good except that 2 months ago it started rebooting for no reason. I change my rom from InsertCoin to LeeDroid thinking that my help but no change. Now, yesterday was phone rebooted in the middle of playing a YouTube video right into safe mode asking for a password to Decrypt storage which I never encrypted.
I found a few threads about it. Here's what I tried:
- wipe user data: tried that with fastboot erase userdata and also fastboot format userdata, both failed.
- I went into TWRP to wipe data, said it ran successfully but it didn't since all my pictures and other personal files.
- I tried restoring a known working backup I had and it failed too
- fastboot oem lock fails
- fastboot rebootruu reboots in a blackscreen (no HTC logo in the background) then completely reboots back in safemode.
Any idea what I should try next?
Thanks a lot
anyone? I really desperate right now :crying:
stoned99 said:
- I went into TWRP to wipe data, said it ran successfully but it didn't since all my pictures and other personal files.
Click to expand...
Click to collapse
This is working correctly. You need to go into the advanced wipe options, and select Internal Storage to wipe that partition.
Try the "Format Data" option, and see if that helps.
stoned99 said:
- fastboot oem lock fails
Click to expand...
Click to collapse
I don't ever recommend doing this on an s-off device (for troubleshooting purposes). It doesn't enable anything that isn't already enabled under s-off (running RUUs is the most common reason); but can leave you stuck unable to do a heck of a lot of things (installing custom recovery, ROMs, etc.).
Does your version have an RUU that you can try?
redpoint73 said:
This is working correctly. You need to go into the advanced wipe options, and select Internal Storage to wipe that partition.
Try the "Format Data" option, and see if that helps.
I don't ever recommend doing this on an s-off device (for troubleshooting purposes). It doesn't enable anything that isn't already enabled under s-off (running RUUs is the most common reason); but can leave you stuck unable to do a heck of a lot of things (installing custom recovery, ROMs, etc.).
Does your version have an RUU that you can try?
Click to expand...
Click to collapse
thanks a lot for the reply. I tried the format option. Typed yes in the field. It said Updating Partitions details.... done. But when I go in the file manager I can see I didn't lose anything. Also if I mount my sdcard (data/media) and delete all the files from my PCs. all the files are being deleted. I rebooted the phone and they are all back.
Yes I have a RUU. I ran both using the exe which failed saying it could be an issue with the usb cable or something. Tried with the zip file renamed to img file (can't remember the exam name), hboot detected it then asked me if I wanted to update, I select yes by using volume 1, then I saw Update, 1 or 2 second later the phone rebooted in a black screen (not RUU), then rebooted in safe mode again asking to Decrypt Storage.
I tried the info found here http://android-revolution-hd.blogspot.ca/2014/09/how-to-fix-random-reboots-on-htc-one-m8.html but it didn't fix my data partition. Here's the output.
~ # ←[6n/tmp/fsck.ext4 -fn /dev/block/mmcblk0p47
/tmp/fsck.ext4 -fn /dev/block/mmcblk0p47
e2fsck 1.42.9 (28-Dec-2013)
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix? no
Inode 360574 was part of the orphaned inode list. IGNORED.
Deleted inode 368721 has zero dtime. Fix? no
Inode 426053 was part of the orphaned inode list. IGNORED.
Inode 426055 was part of the orphaned inode list. IGNORED.
Inode 696341 was part of the orphaned inode list. IGNORED.
Inode 712757 was part of the orphaned inode list. IGNORED.
Inode 745473 was part of the orphaned inode list. IGNORED.
Inode 1236999 was part of the orphaned inode list. IGNORED.
Inode 1237006 was part of the orphaned inode list. IGNORED.
Inode 1237021 was part of the orphaned inode list. IGNORED.
Inode 1237022 was part of the orphaned inode list. IGNORED.
Inode 1237036 was part of the orphaned inode list. IGNORED.
Inode 1237043 was part of the orphaned inode list. IGNORED.
Inode 1237046 was part of the orphaned inode list. IGNORED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(1159609--1159624) -(1170414--1170429) -1562594 -(15
65703--1565709) -1704549 -(2531003--2531013) -2743942 -(3047984--3047992) -34477
28 -(4796517--4796523) -6504126 -6504155 -6504168 -6504725
Fix? no
Free blocks count wrong (2592986, counted=2598704).
Fix? no
Inode bitmap differences: -360574 -368721 -426053 -426055 -696341 -712757 -7454
73 -1236999 -1237006 -(1237021--1237022) -1237036 -1237043 -1237046
Fix? no
Directories count wrong for group #52 (27, counted=26).
Fix? no
Free inodes count wrong (1653079, counted=1650912).
Fix? no
/dev/block/mmcblk0p47: ********** WARNING: Filesystem still has errors *********
*
/dev/block/mmcblk0p47: 9897/1662976 files (29.1% non-contiguous), 4058918/665190
4 blocks
Click to expand...
Click to collapse
stoned99 said:
thanks a lot for the reply. I tried the format option. Typed yes in the field. It said Updating Partitions details.... done. But when I go in the file manager I can see I didn't lose anything. Also if I mount my sdcard (data/media) and delete all the files from my PCs. all the files are being deleted. I rebooted the phone and they are all back.
Yes I have a RUU. I ran both using the exe which failed saying it could be an issue with the usb cable or something. Tried with the zip file renamed to img file (can't remember the exam name), hboot detected it then asked me if I wanted to update, I select yes by using volume 1, then I saw Update, 1 or 2 second later the phone rebooted in a black screen (not RUU), then rebooted in safe mode again asking to Decrypt Storage.
I tried the info found here http://android-revolution-hd.blogspot.ca/2014/09/how-to-fix-random-reboots-on-htc-one-m8.html but it didn't fix my data partition. Here's the output.
Click to expand...
Click to collapse
i would run a full ruu of the dev edition exe in fastboot usb mode and see if that fix the problem
toysoldierq said:
i would run a full ruu of the dev edition exe in fastboot usb mode and see if that fix the problem
Click to expand...
Click to collapse
Thanks. I already tried running the DEV RUU zip file by renaming it to that PXXXIMG.zip without a success. Since fastbootruu doesn't work I can tried it. Regarding the dev edition exe, I can't find it anywhere, only found the zip one. Do you know where I could find it?
stoned99 said:
Thanks. I already tried running the DEV RUU zip file by renaming it to that PXXXIMG.zip without a success. Since fastbootruu doesn't work I can tried it. Regarding the dev edition exe, I can't find it anywhere, only found the zip one. Do you know where I could find it?
Click to expand...
Click to collapse
Right here: http://www.htc.com/us/support/htc-one-m8/news/
But you need to change to the appropriate CID and MID. Plus, if your version's RUU exe didn't work, I don't see how this will be any different.
To be clear, you usually run the RUU in bootloader-fastboot mode, not RUU mode (it will boot to that itself once you run the RUU).
But if you have a fundamental USB connectivity issue, it really doesn't matter, and it still won't run. Try different cables, different USB ports, even another PC.
redpoint73 said:
Right here: http://www.htc.com/us/support/htc-one-m8/news/
But you need to change to the appropriate CID and MID. Plus, if your version's RUU exe didn't work, I don't see how this will be any different.
To be clear, you usually run the RUU in bootloader-fastboot mode, not RUU mode (it will boot to that itself once you run the RUU).
But if you have a fundamental USB connectivity issue, it really doesn't matter, and it still won't run. Try different cables, different USB ports, even another PC.
Click to expand...
Click to collapse
This is not a USB issue. The problem itself seems to be an ext4 corruption issue. When trying to restore my backups, it fails when trying to restore /data/media. I can't delete/format it either. I'll try the RUU exe but doubt it will work. Thanks for the help
stoned99 said:
This is not a USB issue.
Click to expand...
Click to collapse
You said in Post #4:
stoned99 said:
Yes I have a RUU. I ran both using the exe which failed saying it could be an issue with the usb cable or something.
Click to expand...
Click to collapse
I'm not saying the USB connectivity is causing the main Safe Mode/Decrypt Storage issue. But it does seem to be keeping the RUU from running, based on your previous post.
Also, I'm pretty sure I've seen this similar issue posted before (encrypted storage asking for password, when encryption wasn't selected by the user). From what I remember, the format storage option in TWRP (that you already tried) was the solution. But you might just search for those threads, to see if my recollection on the fix is incorrect; or if other fixes were found.
redpoint73 said:
You said in Post #4:
I'm not saying the USB connectivity is causing the main Safe Mode/Decrypt Storage issue. But it does seem to be keeping the RUU from running, based on your previous post.
Also, I'm pretty sure I've seen this similar issue posted before (encrypted storage asking for password, when encryption wasn't selected by the user). From what I remember, the format storage option in TWRP (that you already tried) was the solution. But you might just search for those threads, to see if my recollection on the fix is incorrect; or if other fixes were found.
Click to expand...
Click to collapse
Indeed, I looked at a few posts with that format storage issue and there was basically 2 solutions: 1) format data in TWRP. 2) Repair ext4 filesystem which didn't work either.
PS: Just saw that the link you gave me is for the Sense version, not the Google Edition. That's what I already tried and failed.
stoned99 said:
Indeed, I looked at a few posts with that format storage issue and there was basically 2 solutions: 1) format data in TWRP. 2) Repair ext4 filesystem which didn't work either.
PS: Just saw that the link you gave me is for the Sense version, not the Google Edition. That's what I already tried and failed.
Click to expand...
Click to collapse
You asked for Developer's Edition. Dev Edition and Google Play Edition (GPE) are 2 completely different things. Dev Edition is always Sense.
I've never seen an RUU.exe for GPE.
redpoint73 said:
You asked for Developer's Edition. Dev Edition and Google Play Edition (GPE) are 2 completely different things. Dev Edition is always Sense.
I've never seen an RUU.exe for GPE.
Click to expand...
Click to collapse
Oops my bad then. Sorry, probably my bad cold/sinusitis. I'm having a hard time concentrating.
Ok, so I tried that exe already and it didn't work. Any other ideas?
stoned99 said:
Oops my bad then. Sorry, probably my bad cold/sinusitis. I'm having a hard time concentrating.
Ok, so I tried that exe already and it didn't work. Any other ideas?
Click to expand...
Click to collapse
do you have teamviewer if so get it and let me help you, message private with the login and password.
stoned99 said:
Oops my bad then. Sorry, probably my bad cold/sinusitis. I'm having a hard time concentrating.
Click to expand...
Click to collapse
Heh, no worries. The last couple weeks have been rough for me (as far as illnesses), as well. And Dev Ed vs. GPE is a fairly common mistake.
Hopefully toysoldierq can help you out. You've tried everything I can think of.
redpoint73 said:
Heh, no worries. The last couple weeks have been rough for me (as far as illnesses), as well. And Dev Ed vs. GPE is a fairly common mistake.
Hopefully toysoldierq can help you out. You've tried everything I can think of.
Click to expand...
Click to collapse
I think he did not do the whole process going back to sense using this 1.54.401.5-W_Splash
toysoldierq said:
I think he did not do the whole process going back to sense using this 1.54.401.5-W_Splash
Click to expand...
Click to collapse
Sorry I'm back now. So what do you think I didn't try? Using the sense exe ruu? I tried it but it failed.
BTW regarding team viewer I'm not sure if that will really help since you won't be able to see my phone. I know how to use adb, fastboot, etc so if you have an idea of what I should try I would sure try it. Thanks a lot
stoned99 said:
Sorry I'm back now. So what do you think I didn't try? Using the sense exe ruu? I tried it but it failed.
BTW regarding team viewer I'm not sure if that will really help since you won't be able to see my phone. I know how to use adb, fastboot, etc so if you have an idea of what I should try I would sure try it. Thanks a lot
Click to expand...
Click to collapse
i have fix m8 phones over teamviewer already son im way ahead of you, if you want me fix the issue let me know or i can tell u what u need to do choice is yours.
step 1 well i reflash the gpe rooted rom
step 2 i change his mid to dev edtion one
step 3 change his cid to super cid
step 4 i flash 1.54.401.5-W_Splash and let him wipe data and cache in stock recovery
step 5 change his cid to dev
step 6 ran dev ruu the lateset
Ok we can try it over team viewer, give me a few minutes to install it and give you access
stoned99 said:
Ok we can try it over team viewer, give me a few minutes to install it and give you access
Click to expand...
Click to collapse
i gave you the instructions u can try that.
toysoldierq said:
i have fix m8 phones over teamviewer already son im way ahead of you, if you want me fix the issue let me know or i can tell u what u need to do choice is yours.
step 1 well i reflash the gpe rooted rom
step 2 i change his mid to dev edtion one
step 3 change his cid to super cid
step 4 i flash 1.54.401.5-W_Splash and let him wipe data and cache in stock recovery
step 5 change his cid to dev
step 6 ran dev ruu the lateset
Click to expand...
Click to collapse
Thanks much appreciated.
Would you reboot the phone between each steps? Maybe not because 2 and 3

[Android 7]Hosts file ignored

Hi guys,
I'm having trouble with the hosts file on my OPO3 and the latest stock firmware.
On Android 6 I booted into TWRP, mounted system and flashed my own hosts file to /system/etc/hosts. This worked fine.
Before updating I to Android 7 I pulled the hosts file and uploaded the same hosts file to android 7. However its getting completely ignored.
I tried various other hosts file, different encoding, blank line at the end of the file, tabs, no tabs, spaces, no spaces, 127.0.0.1, 0.0.0.0 etc but nothing works. If I go back into TWRP and pull the hosts file it actually is the hosts file that I pushed earlier so its not that Android is somehow overwriting the file.
Does anybody know what the problem could be?
PS I am NOT rooted and I don't want to root either.
Thanks
sjaak1234 said:
Hi guys,
I'm having trouble with the hosts file on my OPO3 and the latest stock firmware.
On Android 6 I booted into TWRP, mounted system and flashed my own hosts file to /system/etc/hosts. This worked fine.
Before updating I to Android 7 I pulled the hosts file and uploaded the same hosts file to android 7. However its getting completely ignored.
I tried various other hosts file, different encoding, blank line at the end of the file, tabs, no tabs, spaces, no spaces, 127.0.0.1, 0.0.0.0 etc but nothing works. If I go back into TWRP and pull the hosts file it actually is the hosts file that I pushed earlier so its not that Android is somehow overwriting the file.
Does anybody know what the problem could be?
PS I am NOT rooted and I don't want to root either.
Thanks
Click to expand...
Click to collapse
have you applied proper permissions to hosts file ?
JumboMan said:
have you applied proper permissions to hosts file ?
Click to expand...
Click to collapse
I think so? Didn't set any permissions myself.
C:\android>adb shell
~ # ←]6ngs -l /system/etc/hosts
-rw-r--r-- 1 root root 393105 Jan 27 01:21 /system/etc/hosts
sjaak1234 said:
I think so? Didn't set any permissions myself.
C:\android>adb shell
~ # ←]6ngs -l /system/etc/hosts
-rw-r--r-- 1 root root 393105 Jan 27 01:21 /system/etc/hosts
Click to expand...
Click to collapse
can you post link to hosts file that you are using so that i can try myself to see what is the problem
JumboMan said:
can you post link to hosts file that you are using so that i can try myself to see what is the problem
Click to expand...
Click to collapse
I'm not at home for the weekend so I can't pull the actual file but I used (among others) the one from http://someonewhocares.org/hosts/
Pasted in notepad++ with encoding utf without BOM and EOL Linux encoding. Tried copying it to Windows notepad as well.
I also tried the host file I pulled from my phone before upgrading. I'll upload that one once I get back to my PC. Should still have it somewhere.
sjaak1234 said:
I'm not at home for the weekend so I can't pull the actual file but I used (among others) the one from http://someonewhocares.org/hosts/
Pasted in notepad++ with encoding utf without BOM and EOL Linux encoding. Tried copying it to Windows notepad as well.
I also tried the host file I pulled from my phone before upgrading. I'll upload that one once I get back to my PC. Should still have it somewhere.
Click to expand...
Click to collapse
i would suggest you to upload the hosts file you currently have problem.
JumboMan said:
i would suggest you to upload the hosts file you currently have problem.
Click to expand...
Click to collapse
I've attached the hosts file that I pulled from my Md pushed to my OP3. Can't find the original untouched one from my OP3 anymore but this works fine on my M7 and its practically the same as the file that worked fine on my OP3 on Marshmellow.
sjaak1234 said:
I've attached the hosts file that I pulled from my Md pushed to my OP3. Can't find the original untouched one from my OP3 anymore but this works fine on my M7 and its practically the same as the file that worked fine on my OP3 on Marshmellow.
Click to expand...
Click to collapse
nothing suspicious except encoding.
can you try UTF-8 encoding.
I tried but it makes no difference. Tried notepad++ as well as windows notepad (files made in notepad++ look messed up in windows notepad and vica versa though).
Tried a clean file with just a couple of normal websites on it just for testing but no luck.
Does adjusting the hosts file on the stock nougat rom work for you?
****ing google
sjaak1234 said:
I tried but it makes no difference. Tried notepad++ as well as windows notepad (files made in notepad++ look messed up in windows notepad and vica versa though).
Tried a clean file with just a couple of normal websites on it just for testing but no luck.
Does adjusting the hosts file on the stock nougat rom work for you?
****ing google
Click to expand...
Click to collapse
can you try MOAB (search xda). I am using this on stock oos 328 without any problems.
*edit - also tried on stock oos 402. its working
Finally had some time to try again.
Moab doesn't work either. I ran a packet capture to make sure the ad urls are in the hosts file. They are. That ****ing piece of **** google is simply ignoring the hosts file.
sjaak1234 said:
Finally had some time to try again.
Moab doesn't work either. I ran a packet capture to make sure the ad urls are in the hosts file. They are. That ****ing piece of **** google is simply ignoring the hosts file.
Click to expand...
Click to collapse
Mine works fine but with AdAway.
Great.
Except on that piece of **** of mine this craptastic os is simply ignoring the hosts file. Even if I put in something like 127.0.0.1 cnn.com it won't block ****.
And no I'm not going to root because it breaks banking apps, pokemon go etc. No I'm not going to bother with endless workarounds for that either and finally no unroot does not work and has never worked.
sjaak1234 said:
Great.
Except on that piece of **** of mine this craptastic os is simply ignoring the hosts file. Even if I put in something like 127.0.0.1 cnn.com it won't block ****.
And no I'm not going to root because it breaks banking apps, pokemon go etc. No I'm not going to bother with endless workarounds for that either and finally no unroot does not work and has never worked.
Click to expand...
Click to collapse
I don't know if this is any help but on nougat with adaway app it only works properly when choosing systemless mode , whether or not you can make your hosts file systemless i don't know but i thought I'd mention it to see if it helps you out with the manual way...
sjaak1234 said:
Finally had some time to try again.
Moab doesn't work either. I ran a packet capture to make sure the ad urls are in the hosts file. They are. That ****ing piece of **** google is simply ignoring the hosts file.
Click to expand...
Click to collapse
you sure that data saver option is not on right? else it wont use your host, since it's proxi-ed to google server
otonieru said:
you sure that data saver option is not on right? else it wont use your host, since it's proxi-ed to google server
Click to expand...
Click to collapse
I'm sure that's not on. I've tried Firefox as well and the results are the same. Something weird though is that if I connect to my own vpn server and block a url on the firewall there, somehow chrome still finds a way around it while on Firefox the url will be blocked.
When I got time I'll root and try adaway. It's not really a solution for me as I can't keep root (and unrooting still permanently triggers some apps thinking the phone is rooted) but at least it it should narrow down the problem.
I cannot be the new dm verity in android 7 right? Somehow ignoring files that have been changed? I obviously do get that error/warning during boot because I changed the system partition.
@sjaak1234
Hi
I can confirm that my hosts file has been working fine on
OOS 3.2.8 to 4.0.3
CB5 to OB12
H2OS 7.0 & 7.1.1
So nothing wrong (as yet) with Android OS or Google or even OnePlus. I can share my hosts file if you want to try.
Two suggestions:
use Aroma File Manager to replace hosts file and set permission (644 or rw-r-r).
Use Magisk for root as well working banking apps (MagiskHide).
Good luck :good:
Have you tried creating a symlink to data/hosts?
In order to make adfree android the symlink is required,
Maybe the symlink is also needed to make the hosts file work without the app
https://forum.xda-developers.com/showpost.php?p=64554262&postcount=978
Maybe this also helps your cause

Modifying OOS 5.0.3? Help!

As far as I understand, there are 2 ways to modify OOS 5.0.3:
1. Install the OS, then root, make changes on the phone itself, etc.
2. Unpack the OS zip file, make changes, repack, and install it.
I really want to make the second option work, and instead I'm pulling my hair out, confused, frustrated. I create a custom version of OOS, then use TWRP to 100% wipe the stock OOS, install mine, and when I reboot - it's still stock! WHAT. THE. FFFFFFFFFF
Okay, using sdat2img, img2simg, and img2sdat to unpack and repack system.new.dat works fine. In between unpacking and repacking, I'm making tons of changes, including:
Code:
REMOVE VENDOR APKs
-------------------
reserve/OPForum/
reserve/OPNote/
reserve/SoundRecorder/
reserve/Weather/
reserve/YuloreFramework/
Code:
REMOVE APPS from /app/
-------------------
app/Account app/BookmarkProvider app/CalendarGoogle app/Chrome app/CompanionDeviceManager app/DiracManager app/Drive app/Duo app/EasterEgg app/EngSpecialTest app/Gmail2 app/GoogleContactsSyncAdapter app/GoogleExtShared app/GooglePrintRecommendationService app/GoogleTTS app/LatinImeGoogle app/LogKitSdService app/Maps app/OemAutoTestServer app/OEMLogKit app/OPBackup app/OPBugReportLite app/OpenWnn app/OPSocialNetworkHub app/PartnerBookmarksProvider app/talkback app/WebViewGoogle app/YouTube
Code:
REMOVE APPS from /priv-app/
-------------------
app/DiracAudioControlService app/GmsCore app/GoogleBackupTransport app/GoogleExtServices app/GoogleFeedback app/GoogleOneTimeInitializer app/GooglePackageInstaller app/GooglePartnerSetup app/GoogleServicesFramework app/Phonesky app/Tag app/Velvet
I run my custom image through img2simg and img2sdat, I zip up my new system.new.dat, system.patch.dat, system.transfer.list along with the other standard files from the original zip (boot.img, firmware-update, META-INF, RADIO).
Then I use TWRP to format data, reboot into TWRP, advanced wipe everything. I even plain jane rebooted the phone to confirm there's absolutely nothing left but TWRP.
Then I install my custom OS, reboot, go through the new user setup, and - all the apps I removed are still there! Calendar, Chrome, Drive, Duo, Gmail, etc - and they all work. This makes no sense. What am I missing here? If deleting them in /app and /priv-app does nothing, where are the apps hiding?
This is going to sound really crazy, but rather than spend the time doing this why don't you just root and delete said apps? Its not like you aren't 2/3 of the way there or anything:cyclops:
I saw you start many threats about making oxygen os even more light without apps/gapps/services etc. I would like an oxygen ROM so clean like lineage, only the base. Good luck with this as I am fun of microg/googless stuff.
Sent from my ONEPLUS 5T
vagkoun83 said:
I saw you start many threats about making oxygen os even more light without apps/gapps/services etc. I would like an oxygen ROM so clean like lineage, only the base. Good luck with this as I am fun of microg/googless stuff.
Click to expand...
Click to collapse
I hope you mean threads
Yes, I plan to release my builds ... but first I need to figure out what's going wrong, and then I need to extensively test it on my 5T. If successful, it'll be available as a download. I already bought a domain. Fingers crossed.
Threads yes! What do you want to succeed?
Sent from my ONEPLUS 5T
vagkoun83 said:
Threads yes! What do you want to succeed?
Click to expand...
Click to collapse
Sorry, I don't understand the question. This is the problem I'm trying to solve:
ClinicalTrack said:
Then I install my custom OS, reboot, go through the new user setup, and - all the apps I removed are still there! Calendar, Chrome, Drive, Duo, Gmail, etc - and they all work. This makes no sense. What am I missing here? If deleting them in /app and /priv-app does nothing, where are the apps hiding?
Click to expand...
Click to collapse
ClinicalTrack said:
Sorry, I don't understand the question. This is the problem I'm trying to solve:
Click to expand...
Click to collapse
Yes I read the OP and I don't have the knowledge to help, but I ask you about the main reasons you want to do that. Its about battery, privacy or what?
Sent from my ONEPLUS 5T
Maybe if you're not used to modify ROM you should not release anything to public before you figure out what's happening.
Cause this situation is impossible with the steps you described.
Are you sure you're flashing the right thing ? Zipping the right system.new.dat ?
Also do not delete stuff without knowing what they do. DiracAudioControlService is a mandatory component if you're using stock audio OnePlus driver...
vagkoun83 said:
but I ask you about the main reasons you want to do that. Its about battery, privacy or what?
Click to expand...
Click to collapse
100% privacy/security.
funnoam said:
Maybe if you're not used to modify ROM you should not release anything to public before you figure out what's happening.
Cause this situation is impossible with the steps you described.
Are you sure you're flashing the right thing ? Zipping the right system.new.dat ?
Also do not delete stuff without knowing what they do. DiracAudioControlService is a mandatory component if you're using stock audio OnePlus driver...
Click to expand...
Click to collapse
See above where I mentioned "extensive testing".
"Maybe if you're not used to modify ROM you should not release"
Not helpful.
"Maybe if you're not used to modify ROM you should keep experimenting, keep learning, how can I help?"
Helpful. Android is brand new to me, I literally sold my iPhone 7 two weeks ago. There is so little documentation online concerning the Android filesystem, it's drowned out by millions of posts about themes. I don't have all the answers, that's why I'm here asking questions.
ClinicalTrack said:
Helpful. Android is brand new to me, I literally sold my iPhone 7 two weeks ago. There is so little documentation online concerning the Android filesystem, it's drowned out by millions of posts about themes. I don't have all the answers, that's why I'm here asking questions.
Click to expand...
Click to collapse
So I suggest you get familiar with the Android ecosystem/filesystem/experience before attempting to remove important system/data/framework pieces from your ROM.
You're removing every OnePlus app and every Google App from the ROM. What will happen ?
First, I'm pretty sure it won't boot or if it boot the experience will be so terrible with missing features.
Like I said, do not touch the Dirac framework, or if you do make sure you have some generic sound driver from Qualcomm included or it won't work. I'm not even sure about that last part as I'm not too familiar with the DSP chipset inside the 5T. But Dirac is mandatory.
Second, if you do not install any google framework replacement like microg you will have a very poor android experience. Most apps rely on this framework to run.
Third, you'll find out soon that many people on XDA have absolutely no idea of what they're doing when the installation guide is not totally explicit and can end with a total mess when trying to install unofficial rom/theme/app. In the future, do not release anything that can make device unbootable or broken. Android is very complex and while it might work on some phone, it can break some other due to multiple configurations on the same phone model.
Hope this was helpful, wish you all the luck. Don't hesitate to ask for technical stuff if I can help.
funnoam said:
Don't hesitate to ask for technical stuff if I can help.
Click to expand...
Click to collapse
Okay, do you know why in /firmware-update/NON-HLOS.bin, the 4G LTE modem firmware, there are files for alipay? And how can I unpack / more closely examine them?
Code:
alipay.b00
alipay.b01
alipay.b02
alipay.b03
alipay.b04
alipay.b05
alipay.b06
alipay.b07
alipay.mdt
Code:
ELF(44(4 ( 0xyxy????dd????????/88????????>??
UMB?1??^d0U?-??w.bdl?0?c??tj7?v?dEIP??)??j6?̾ս
ٞ??%7?5:cA;?R??~?v??.???$??1`?6}??旙:cA;?R??~?v??.???$??1`?6}????-9?? ? ?G9?i?T7?`1G??x??Cm?
?ȪK?vC???????S??)[email protected]?fsm?%[email protected]??vS???
?77V?6^?θ?<??b??k?sc6???,??s,?Z?S7??$?ҹ?^:٫D% ?ֹ?O? ɨ?#1?U????Rߓ???+r?ߛ??????%[email protected]?H?޹-??o?Q?X$)?U?d3??Q? ?o?5??]???X?tk3?K|Ʊ?(??
,C????L???`?#J?Q??C?P?;rn?Č????V?3?-=?????
9?/?e?9}Ւa??k?>??J?0?$0?ܠ0= *?H??
00?
0 `?He?0 *?H??
`?He? 01
0 UUS1
0 CA10U San Diego10U
CDMA Technologies10U
380128152634Z0??1OMM Attestation CA0
0 UUS1USecTools Test User10U San Diego10U
SecTools10U
California1"0 U
01 000000000000000C SW_ID1"0 U
02 300200002A7041DB HW_ID10U
04 2A70 OEM_ID10U
05 00000128 SW_SIZE10U
06 41DB MODEL_ID10U
07 0001 SHA2561"0 U
03 0000000000000002 DEBUG1#0!U
08 0000000000000111 APP_ID1&0$U
?0? *?H?? 13 0001 IN_USE_SOC_HW_VERSION0?"0
?Ӂ??? :????c?E*r
?<?E? ??r2??*?\%^<O׼?j$?=?u???
?{4!d??Ǫ???.w??/0? ?zd:?Z)Kd??9???G??
??u_GP?[`b7??gQ-?ҁ????i?ς?.??O̿\?\3?lp???}?OT2??Ϝ|q?
t
V2?1???d?ZX?p v????ҍE?VҠ?j~??[?VHo?,??
[email protected]?????)p???t??>0<0U#0?n/Hj??F??{D??Q$?Ř0
U00
U?0= *?H??
00?
0 `?He?0 *?H??
`?He? ???B?M???R?e????O?g?C??}5?4??CizY?Y??v???C:g0HN??R????Oֺo+{j?o?\?N??)ͰI"???V????ȡd?+4"?0?|>TH?C?w̚褹Q??]??Ժ3????
?P???X??Эp?Cd?p?
??p7?V??hX???>n? ?ɰ_??_?4??s???*^??0>?q???!?%X.????Cq6j??4?d?)???(h??8?o?C$?Y??w??P??,?0?(0??0= *?H??
00?
0 `?He?0 *?H??
`?He? 0n1
0 UUS1
0 CA10SANDIEGO1
0
U
OEM1U
General OEM rootca10U
361202061551Z01 OEM ROOT CA0
0 UUS1
0 CA10U San Diego10U
CDMA Technologies10U
?0?LCOMM*?H??UALCOMM Attestation CA0?"0
?????^??E?59?q???[֚[email protected]????.?>??
??jD?r?V??/??S?$y??G???G͏#???怟\?qܛ[email protected]!?m???5?=:UC~85???Q?aM?#?{?????
?4?_N?O?YA7kHx?aѩ'G?!S??3?ݑW?oa?u??'K??`xc?1??F??g?i?t????ㆎp?NΌ?e?N?bA???n???????????N?&>??`0^0U#0sԳ???:[email protected]??0Un/Hj??F??{D??Q$?Ř00?0
U0= *?H??
00?
0 `?He?0 *?H??
`?He? ?
?3˯u??6?!?(8%9jم~??]?MøN?׳-?w?_??&G??χ????F3T ?ʱ
?O#?ML[Q\????ϞV?ƒ???4??*???K???ৌ?c??:?ﴧ?:?=?8?eU??g??T???J????H??K1#?B??8Sje???4?2???-4?o??.?R?{??B&? ]??{M?tW;?cTS?f^?
[email protected]?F>Ӧ0??0???0= *?H?? ??G?R????5??`??y?Fe?|??%?WD????
00?
0 `?He?0 *?H??
`?He? 0n1
0 UUS1
0 CA10SANDIEGO1
0
U
OEM1U
General OEM rootca10U
361202061259Z0n1 OEM ROOT CA0
0 UUS1
0 CA10SANDIEGO1
0
U
OEM1U
General OEM rootca10U
?0? *?H?? OEM ROOT CA0?"0
????*O?ӽ??/??j6H?m6w????Ծq????????ݽZs݀??B9????>?UD?J?c?!kV???? /????IF?-j+????!,?d?JEX'??4???tK????????Q?K_?lx??J?<?????})?=?R??lqс]?????'4????o???=J?????(0?l5??\+M"?̋??2?:7??????oYogc?<0:0sԳ???:[email protected]??0
U0?0
U0= *?H??
00?
0 `?He?0 *?H??
`?He? ?=?v>?#??8?Wͭ8?v?h?????Oր?{pX̲=?ue??ra+jMSU??W8
[>?>??)???*a??,?`E??? }??a?wշ?a?̪?Ǻ?c{????l?l˘??s}?w??=`ä?_??K??G?d5)??#A(;{x_
??x????'???/???M?????;O?*??+"y?i??;?`[email protected]???}?M???{??9)_o&?
???E?b???Z4?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
ClinicalTrack said:
Okay, do you know why in /firmware-update/NON-HLOS.bin, the 4G LTE modem firmware, there are files for alipay? And how can I unpack / more closely examine them?
Click to expand...
Click to collapse
You can't unpack binary files. You don't have the source code so you're stuck with this bunch of binary crap you're seeing. Only OnePlus can tell you what's going on in there own modem firmware.
I'm guessing OnePlus and alipay are related but it's mainly for chinese users as nobody use alipay except china.
Also are you trying to decode every firmware files ? Cause unless you really know what you're looking for, you'll get nothing by opening some binary files in text mode. You'll need some ARM disassembler and really high knowledges to understand what's going on.
You can also take the phone apart and see through every chip inside with an x-ray machine and map this ****, like when we take apart the chip inside consoles to create some accurate emulators. Else, it's just bunch of qualcomm and oneplus obscure stuff.
funnoam said:
You can't unpack binary files. You don't have the source code so you're stuck with this bunch of binary crap you're seeing. Only OnePlus can tell you what's going on in there own modem firmware.
I'm guessing OnePlus and alipay are related but it's mainly for chinese users as nobody use alipay except china.
Also are you trying to decode every firmware files ? Cause unless you really know what you're looking for, you'll get nothing by opening some binary files in text mode. You'll need some ARM disassembler and really high knowledges to understand what's going on.
You can also take the phone apart and see through every chip inside with an x-ray machine and map this ****, like when we take apart the chip inside consoles to create some accurate emulators. Else, it's just bunch of qualcomm and oneplus obscure stuff.
Click to expand...
Click to collapse
That might be good enough for you, but it's not good enough for me. I want to know. You said you're here to help, but you're not helping. Why are you replying in this thread if all you can do is discourage me? Move on.
ClinicalTrack said:
That might be good enough for you, but it's not good enough for me. I want to know. You said you're here to help, but you're not helping. Why are you replying in this thread if all you can do is discourage me? Move on.
Click to expand...
Click to collapse
So by telling you the truth and being realistic about what you can do and can't with this files I'm discouraging you ?
Sorry for being honest pal. You say you're new to this world so I'm helpfully letting you know that these are the files nobody can decrypt except OnePlus. Like if you try to read the iPhone firmware modem source code.
Read my last 3 posts again. You'll see a bunch of helpful info on the system framework, the Dirac audio framework and more. Please do not focus only on one little thing when trying to learn a topic as this behaviour can be discouraging for you
Also, OxygenOS without any OnePlus components or app is called AOSP (more or less). If you want to build your own custom ROM by removing essential system framework, just start over with some fresh AOSP, you'll have the freedom to do basically everything this way. (helpful info!!)
funnoam said:
So by telling you the truth and being realistic about what you can do and can't with this files I'm discouraging you ? Sorry for being honest pal. You say you're new to this world so I'm helpfully letting you know that these are the files nobody can decrypt except OnePlus.
Click to expand...
Click to collapse
Ever heard of the Allegory of the Cave? You're living it.
And for the record, BIN files are easily mounted and read in linux. The AliPay files I pointed out above are ELF files, not BIN files, and I discovered those can also be read, to a certain extent, with linux android-sdk tools. You should try learning something before telling others it's impossible, "pal".
ClinicalTrack said:
Ever heard of the Allegory of the Cave? You're living it.
And for the record, BIN files are easily mounted and read in linux. The AliPay files I pointed out above are ELF files, not BIN files, and I discovered those can also be read, to a certain extent, with linux android-sdk tools. You should try learning something before telling others it's impossible, "pal".
Click to expand...
Click to collapse
https://en.m.wikipedia.org/wiki/Executable_and_Linkable_Format
You misunderstood me when I'm talking about binary files. Never said anything about BIN files actually.
These ELF files are binary files. They include pre-compiled code. You can read the header but can't decrypt the program.
BIN files can be anything, from raw data to binary, encrypted or not, etc.
You should try reading my posts again, can be useful.
I'm making progress. It turns out the 5T keeps a copy of OxygenOS hidden on the system, unaffected by TWRP wipes. Of course! When I install my custom OS, it doesn't like that, and instead makes a copy of this untouchable backup, and installs that.
By random chance, after a complete wipe, I took a look at TWRP's backup feature. Lo and behold, there's a 3072MB partition called "System Image". I was able to create a backup of the partition, the file is called system_image.emmc.win and I'm just now exploring it.
More updates as I make progress.
Are you formatting system before the install?
ClinicalTrack said:
I'm making progress. It turns out the 5T keeps a copy of OxygenOS hidden on the system, unaffected by TWRP wipes. Of course! When I install my custom OS, it doesn't like that, and instead makes a copy of this untouchable backup, and installs that.
By random chance, after a complete wipe, I took a look at TWRP's backup feature. Lo and behold, there's a 3072MB partition called "System Image". I was able to create a backup of the partition, the file is called system_image.emmc.win and I'm just now exploring it.
More updates as I make progress.
Click to expand...
Click to collapse
"System Image" & "System" in TWRP make a backup of the same partition, in a different file format. One backup the image of the system partition (like an ISO) the other compress all the files in /system in one single file.
I've never heard of a "secret" OxygenOS hidden on the system, TWRP doesn't do this at all by the way, so it's not taking place when you install it.
It sounds interesting tho, can you tell us the version / firmware of this unaffected OxygenOS ?
ClinicalTrack said:
I'm making progress. It turns out the 5T keeps a copy of OxygenOS hidden on the system, unaffected by TWRP wipes. Of course! When I install my custom OS, it doesn't like that, and instead makes a copy of this untouchable backup, and installs that.
By random chance, after a complete wipe, I took a look at TWRP's backup feature. Lo and behold, there's a 3072MB partition called "System Image". I was able to create a backup of the partition, the file is called system_image.emmc.win and I'm just now exploring it.
More updates as I make progress.
Click to expand...
Click to collapse
Hmm, this might explain why I can't seem to keep an altered system partition (with Cerberus app on it)
Thread here: https://forum.xda-developers.com/oneplus-5t/help/factory-resetting-doesnt-rooting-magisk-t3753065
Please keep us updated and give us more info

Question [?] Is is possible to remove the unlocked bootloader warning?

So I stumbled upon this thread: https://forum.xda-developers.com/t/guide-remove-unlocked-bootloader-warning.4069207/
The flash script reads:
package_extract_file("files/abl.elf", "/dev/block/bootdevice/by-name/abl_a");
package_extract_file("files/abl.elf", "/dev/block/bootdevice/by-name/abl_b");
On my root explorer, I am able to see both these files by navigating to /dev/block/bootdevice/by-name/
So my question is, how do we edit abl_a and abl_b for our phones, to remove the warning screen?
Interesting. If these files/partitions serve the same purpose on the Pixel as they do on Xiaomi, then there's hope. I'd find it amazing if this was possible on the Pixel that no one would have found this yet - unless the solution just wouldn't work on the Pixel. I have no idea if you can safely replace those files on the Pixel with the same example that is included in the flashable zip with ADB either with the system booted or in recovery mode.
I found the files to be actually inside:
Code:
/dev/block/platform/14700000.ufs/by-name/
through X-Plore File Manager, but the "/dev/block/bootdevice/" does exist and redirects to "/dev/block/platform/14700000.ufs/".
roirraW edor ehT said:
Interesting. If these files/partitions serve the same purpose on the Pixel as they do on Xiaomi, then there's hope. I'd find it amazing if this was possible on the Pixel that no one would have found this yet - unless the solution just wouldn't work on the Pixel. I have no idea if you can safely replace those files on the Pixel with the same example that is included in the flashable zip with ADB either with the system booted or in recovery mode.
I found the files to be actually inside:
Code:
/dev/block/platform/14700000.ufs/by-name/
through X-Plore File Manager, but the "/dev/block/bootdevice/" does exist and redirects to "/dev/block/platform/14700000.ufs/".
Click to expand...
Click to collapse
/Tad off topic: I am using Material Files (found on F-Droid - free and open source). Material Files has true root file explorer, unlike many file explorers and comes ad-free and fully functional!
I would strongly recommend against this unless you know EXACTLY what you are doing. You can render your device permanently hard bricked if you effort the bootloader even slightly wrong.
I agree with @dragynbane222. Unless you're prepared to RMA your device, I wouldn't attempt it.
dragynbane222 said:
I would strongly recommend against this unless you know EXACTLY what you are doing. You can render your device permanently hard bricked if you effort the bootloader even slightly wrong.
Click to expand...
Click to collapse
This is exactly why I have not even attempted to research this any further. I was simply asking the dev community for their input.
mkhcb said:
So I stumbled upon this thread: https://forum.xda-developers.com/t/guide-remove-unlocked-bootloader-warning.4069207/
The flash script reads:
package_extract_file("files/abl.elf", "/dev/block/bootdevice/by-name/abl_a");
package_extract_file("files/abl.elf", "/dev/block/bootdevice/by-name/abl_b");
On my root explorer, I am able to see both these files by navigating to /dev/block/bootdevice/by-name/
So my question is, how do we edit abl_a and abl_b for our phones, to remove the warning screen?
Click to expand...
Click to collapse
As other people have mentioned, it is theoretically possible, but you can easily hardbrick your device.
On many Android versions, it was possible to adjust this warning via setting certain permissions manually (I haven't seen an attempt with A12 yet). Oddly enough, some people have reported (over the years) that such a module/mod worked without problem, whilst other had "random" hardbricks, even though they - as far as I recall - claimed that they did not deviate from instructions, and had the same devices with stock firmware. Meaning even if someone would provide you with such a file that you could add via terminal (su) or other means, and even if a dozen people here would claim it works on their end, it could still easily brick your device for reasons we do not understand. So I'd just step away from that thought and even if someone would provide a solution, to not use it. I've never seen any explanation as to why some devices bricked, and some did not, so that's danger-danger.

Categories

Resources