Comments (1)
Is it possible to modify the kdz files and upload them to the device?
By modification I mean the rootfs and the vbmeta?
Add some data and recalculate the root hash. Or just disable dm-verity itself.
Could I change the boot.img itself?
all depends on if we talk about a locked or unlocked (i.e. secureboot off). for unlocked devices all the above would be possible while you can can flash partitions directly with SALT then.
so yes it should be possible to modify a kdz (not included in any of the repos I own - iirc) but flashing requires to have it properly signed (which you can't w/o the privkey by LG). Well if it would be that easy.... ;)
Do we know how the LGUP works?
we know a bit about LGup yes. The main things how the LAF protocol works are written here. The way this was reverse engineered was by wireshark while using LGup and a wireshark dissector. you likely need to adapt it for other models but should be straight forward (hopefully). Then you can do your own tests and traces.
Does it do checks on the device itself or maybe just on the host?
all happens between device and sender, no remote host involved (or if then it does not matter at all)
Does it take into account the Antirollback protection?
I guess with "it" you meant LGup?! Anyways the Antirollback protection is something LGup checks before flashing, yes. lglaf itself does not have such a pre-check before flashing directly implemented while SALT makes use of that in other areas though. SALT always fetches the current ARB value and does the same for a KDZ and warns when trying to flash a different ARB level. See also #17 and #41
from salt.
Related Issues (20)
- mount: offer a fsck before mounting
- CR mode missing on backup HOT 1
- Enhance installer to fix gksudo issues HOT 1
- device model detection (detect if G4 model or any other)
- KDZ extract - free disk space check
- make ARB check more generic (non-G4 devices) HOT 1
- disable UsU check for non G4 devices HOT 1
- NOT WORKING Ubuntu 18 64 bit HOT 1
- Automatic detect UFS devices (v40, g5 and later)
- Switching to between stable and develop may have issues
- window sizes are too small (again) HOT 1
- not detecting lg aristo 2 plus HOT 1
- G4 & G4C HOT 2
- Salt not detecting my device (LG D685) HOT 10
- full/custom backup outputs different file extensions
- upload log does not work on big files (>10 MB)
- LM-G710 Connection and multiple errors HOT 7
- support direct flashing (kdz) HOT 1
- Get blue text on bootloader/ fastboot saying : Please Check "Enable OEM Unlock" In your Developer Options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from salt.