Commit Graph

167 Commits

Author SHA1 Message Date
9907ce57aa Add Magisk r29.0 release notes 2025-05-14 01:13:37 -07:00
6edc5e2037 Update install.md
fixed grammar n stuff
2025-04-01 12:13:29 -07:00
1523ed9f78 Always go through rustup proxies 2025-04-01 10:01:35 -07:00
494615d9a0 Support ./build.py emulator with an APK argument 2025-02-28 17:17:24 -08:00
afbfb81837 docs: add avd_magisk.sh to faq 2025-02-28 17:17:24 -08:00
d2768357da Support systemlessly deleting files or folders
After we refactor the magic mount and always mount folder as tmpfs,
we can easily support deleting files or folders now. We recognize
dummy devices with major number 0 and minor number 0 as an indicator
for removing files and folders. This indicator is borrowed from
overlayfs.
2024-12-27 15:57:54 -08:00
dadba44cf9 Update module installer guide about META-INF 2024-12-17 16:36:40 -08:00
4eae66a1a7 Add v28.1 release notes 2024-12-06 17:38:43 -08:00
b7e0986a5c Add v28.0 changelog 2024-10-10 01:40:14 -07:00
250dc16007 Fix post-fs-data blocking time in doc
f7d3d1eeaf.
2024-09-17 01:28:01 -07:00
53d7cbc11b Clarify magiskboot requirements for repacking img 2024-09-08 01:13:46 -07:00
fbebb6ac10 Add action.sh for user to manually trigger modules' functionality from app 2024-09-08 01:12:30 -07:00
b26db8cee6 Switch over to ANDROID_HOME
Keep ANDROID_SDK_ROOT as a fallback
2024-07-21 00:53:13 -07:00
e32cd03d0b Update docs to cover riscv64 2024-07-02 14:53:46 -07:00
d0cf93a08d Fix typos install.md 2024-06-06 21:12:18 -07:00
72b8d12ee4 Update development guide 2024-05-11 20:40:33 -07:00
2b5fc75127 Update faq.md
Since system Safe Mode may activate without Magisk 'Safe Mode', this clarification will prevent users from erroneously concluding either that Safe Mode doesn't work or that modules are not the issue since 'Safe Mode' was apparently triggered...

Fixes this: #4624
2024-03-06 17:48:54 -08:00
b6c24a3a8a No more sony init.real tricks
Co-authored-by: canyie <a1364259@163.com>
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2024-02-29 23:40:00 -08:00
5280982363 Add v27.0 changelog 2024-02-02 22:47:35 -08:00
e94d65b4b2 Add resetprop -w for waiting property change
It's very easy to wait for property change both in Java and C++,
but it's not the case in shell script. With this patch, developers
can now easily to wait for property change, just like what we have
in `.rc` files, and to wait for boot complete.
2023-12-23 00:12:42 +08:00
c013a349af Update install guide
- Remove boot vbmeta patching because the checkbox is removed in b1363ee
- Remove meaningless slot argument from `fastboot flash` as it will automatically flash the active slot. Fix #7571
2023-12-10 23:37:02 +08:00
63eef153de Warn about unsupported installation methods 2023-11-17 13:58:41 -08:00
68442f38ac Misc changes
- actions: Update all actions/checkout references to v4
- magiskboot: Add missing new line to dtb help message
- docs: Update documents, fix some errors and remove outdated info
2023-11-17 13:58:41 -08:00
8ca8cdae97 Add v26.4 release notes 2023-11-05 23:07:53 -08:00
f80198a669 typo fix 2023-10-09 17:22:48 -07:00
7297aba15a Add v26.3 release notes 2023-09-03 23:54:45 -07:00
bc5d5f9502 Update details.md
The `MAGISKTMP` changed to `/debug_ramdisk` since https://github.com/topjohnwu/Magisk/pull/6931
2023-09-03 23:46:25 -07:00
e47e869f6b Update full changelog 2023-08-28 01:15:14 -07:00
eadb0307fa Add v26.2 release notes 2023-08-27 23:48:49 -07:00
0ba573b789 Additional Samsung devices install guide refactoring
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
2023-08-18 17:24:25 -07:00
ec42ee152c Refactor Samsung devices install guide
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
2023-08-18 17:24:25 -07:00
a8c1ed8795 Update development docs 2023-05-13 02:38:03 -07:00
709f25f600 Fix changelog index 2023-04-12 02:46:21 -07:00
2488668b06 Add v26.1 release notes 2023-04-11 01:52:45 -07:00
8dae7b5451 Update installation guide 2023-04-05 01:50:45 -07:00
637a8af234 Add v26.0 release notes 2023-04-05 01:42:42 -07:00
4e2b88b3d0 Rename rules to preinit
It is possible that we will allow more preinit files for modules.
Rename the partition and folders from rules to preinit.
2023-03-21 00:40:11 -07:00
54ecc001f4 Clean up more codes 2023-03-19 23:20:19 -07:00
981ccabbef No support for partitions w/o symlink in /system 2023-03-06 05:23:40 -08:00
4ed9f57fdc Update ota.md (#6374)
Specified the steps of the OTA install process so there is less confusion about what step 1 and 2 entail.
2023-03-02 02:23:19 -08:00
ea7be6162f install.md: Mention Heimdall beside Odin
Proven to work with Magisk 25.2, LineageOS 18.1, SM-A520F.
2023-03-02 02:21:14 -08:00
79586ece4c Update install.md 2023-02-26 01:17:11 -08:00
af01a36296 Refactor magic mount to support overlayfs
Previously, magic mount creates its own mirror devices and mount
mirror mount points. With these mirror mount points, magic mount
can get the original files and directory trees. However, some
devices use overlayfs to modify some mount points, and thus after
magic mount, the overlayed files are missing because the mirror
mount points do not contain the overlayed files. To address this
issue and make magic mount more compatible, this patch refactors
how magic mount works.

The new workflows are as follows:
1. make MAGISKTMP a private mount point so that we can create the
   private mount points there
2. for mirror mount points, we instead of creating our own mirror
   devices and mount the mirror mount points, we "copy" the
   original mount points by recursively mounting /
3. to prevent magic mount affecting the mirror mount points, we
   recursively set the mirror mount points private
4. to trace the mount points we created for reverting mounts, we
   again make the mirror mount points shared, and by this way we
   create a new peer group for each mirror mount points
5. as for tracing the newly created tmpfs mount point by magic
   mount, we create a dedicated tmpfs mount point for them, namely
   worker mount point, and obviously, it is shared as in a newly
   created peer group for tracing
6. when reverting mount points by magic mount, we can then trace
   the peer group id and unmount the mount points whose peer group
   ids are created by us

The advantages are as follows:
1. it is more compatible, (e.g., with overlayfs, fix #2359)
2. it can mount more partitions for which previous implementation
   cannot create mirror mount points (fix #3338)
2023-02-25 18:19:46 -08:00
f562710438 Fix typos
Found via `codespell -S *.xml,*.kt,./native/src/external -L crate,bu`
2023-01-18 16:35:37 +08:00
5763a3d908 Support replacing existing .rc by overlay.d
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2022-12-26 03:28:10 -08:00
ea0e3a09ef Update install.md 2022-12-23 17:21:44 -08:00
5cdf95a4d0 Update v25.2 docs 2022-07-20 20:09:02 -07:00
d89a568897 Update v25.1 docs 2022-06-19 02:35:05 -07:00
7ce4789e17 Add v25.0 release notes 2022-06-07 02:44:26 -07:00
759055eaa5 Replace logo 2022-06-05 05:34:19 -07:00