this post was submitted on 17 Dec 2024
14 points (100.0% liked)
Lineage OS
1053 readers
14 users here now
Lineage OS
lineageos.org | Wiki
IRC | Unofficial Matrix room | Discord
Other LineageOS communities on Lemmy
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This has nothing to do with the ROM. While you can embed trusted keys into a ROM which is useful for debugging, what I mean is the regular trusted ADB keys that get added when you allow ADB access from your computer via the pop-up.
If you've allowed your PC ADB access recently (this expires after some time), your key should be trusted. If it isn't, there is the method to make it trusted I described.
You do need to modify the system partitioni to enable ADB at boot though. Just do what I described.
Ohh, well, I followed your instructions...
So what part doesn't work now? Is ADB running at boot or not? If it is running, are you authorised or not?
ADB running at boot never worked, though running whether on normal operation or on recovery works flawlessly.
As the phones were needed, I had to do factory reset them, which worked out. But, that doesn't prevent me to keep trying to get ADB working at boot, which to be honest I never tried before. It seems important to get it work, so I can get and share the logs that matter. As you mentioned, linux info and logs from recovery are useless, :( But now there's no rush, since I unfortunately did a factory reset.
I think I got another moto same model, not in use, which has broken mobility data (it doesn't get internet while on mobile), and I think I can keep trying from it, but without upgrading with this dangerous version, since I want to detect with it if the coming upgrade is as dangerous (lesson learned for me is to try with that broken phone before attempting on the ones in use). This way I don't take the phones that are already in use. So again, I'll keep trying the , but now not that pressured.
It's weird to me that I could use ADB on recovery, with no issue, even to transfer files, which to me it means there were no authorization issues then, and it never worked on boot. As mentioned, I'll modify the pseudo-broken phone and keep trying the ADB on boot with it...
Please ensure the props are set as I wrote them.
Also note that the props get reset on every system flash.
That's not weird at all; those are two entirely different operating modes. The recovery isn't even Android for the most part.
The recovery typically accepts any ADB connection while Android only accepts explicitly trusted ones. ADB also doesn't typically run by default in regular Android execution.