FORUMS

[MOD] Magisk v12.0 for Android x86 7.1-rc2

2,019 posts
Thanks Meter: 734
 
By lfom, Senior Member on 2nd November 2017, 06:42 PM
Post Reply Email Thread
17th February 2018, 08:52 AM |#21  
Senior Member
Thanks Meter: 41
 
More
Quote:
Originally Posted by gps3dx

I don't understand what do you think I need to do inorder to make it work ?
Also, you're wrong... my "system" folder sits at the root of my android partition...
so it's /dev/mmcblk1p5 partition... which after I mount it... I have "System", "data" and kernel, ramdisk.img & initrd.img files AT THE ROOT of that partition....
'

you need app、priv-app、framework.........、build.prop,at the root of the partition.
mount /dev/block/mmcblk1p5 to /mnt/$SRC/system,did you read Androidx86 initrd.img's init?
then magisk mount /dev/block/mmcblk1p5 to mirror system,mirror/system/build.prop、framework、app......

we need to modify Androidx86 initrd.img's init,and must mount ro.

---------- Post added at 04:47 PM ---------- Previous post was at 04:45 PM ----------

if [ -e /mnt/$SRC/system.sfs ]; then
losetup /dev/loop0 /mnt/$SRC/system.sfs
ln -s /dev/loop0 /dev/block/loop0
mount -o noatime /dev/block/loop0 system
if [ -e system/system.img ]; then
mount --move system /sfs
losetup /dev/loop1 /sfs/system.img
ln -s /dev/loop1 /dev/block/loop1
mount -o noatime /dev/block/loop1 system
fi
elif [ -e /mnt/$SRC/system.img ]; then
losetup /dev/loop0 /mnt/$SRC/system.img
ln -s /dev/loop0 /dev/block/loop0
mount -o noatime,ro /dev/block/loop0 system

now,magisk mount /dev/block/loop0 or loop1 to mirror system,no problem!

---------- Post added at 04:52 PM ---------- Previous post was at 04:47 PM ----------

Android x86 debug mode,alt+f2,mount > /android/data/media/0/mount.txt

rootfs on / type rootfs (rw,seclabel)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,seclabel,relatime)
tmpfs on /android type tmpfs (ro,seclabel,relatime)
/dev/mmcblk1p3 on /mnt type f2fs (rw,seclabel,noatime,background_gc=on,no_heap,user _xattr,inline_xattr,acl,inline_data,inline_dentry, flush_merge,extent_cache,mode=adaptive,active_logs =6)
/dev/block/loop0 on /sfs type squashfs (ro,seclabel,noatime)
/dev/block/loop1 on /android/system type ext4 (ro,seclabel,noatime,data=ordered)
/dev/mmcblk1p3 on /android/data type f2fs (rw,seclabel,noatime,background_gc=on,no_heap,user _xattr,inline_xattr,acl,inline_data,inline_dentry, flush_merge,extent_cache,mode=adaptive,active_logs =6)
tmpfs on /android/dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /android/dev/pts type devpts (rw,seclabel,relatime,mode=600,ptmxmode=000)
proc on /android/proc type proc (rw,relatime)
sysfs on /android/sys type sysfs (rw,seclabel,relatime)
selinuxfs on /android/sys/fs/selinux type selinuxfs (rw,relatime)
/sys/kernel/debug on /android/sys/kernel/debug type debugfs (rw,seclabel,relatime,mode=755)
none on /android/acct type cgroup (rw,relatime,cpuacct)
tmpfs on /android/mnt type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
none on /android/config type configfs (rw,relatime)
none on /android/dev/cpuctl type cgroup (rw,relatime,cpu)
pstore on /android/sys/fs/pstore type pstore (rw,seclabel,relatime)
none on /android/cache type tmpfs (rw,seclabel,nosuid,nodev,noatime)
tmpfs on /android/storage type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
tracefs on /android/sys/kernel/debug/tracing type tracefs (rw,seclabel,relatime)
tmpfs on /android/sbin type tmpfs (rw,seclabel,relatime)
/dev/block/loop1 on /android/sbin/.core/mirror/system type ext4 (ro,seclabel,relatime,data=ordered)
/dev/mmcblk1p3 on /android/sbin/.core/mirror/bin type f2fs (rw,seclabel,noatime,background_gc=on,no_heap,user _xattr,inline_xattr,acl,inline_data,inline_dentry, flush_merge,extent_cache,mode=adaptive,active_logs =6)
/dev/block/loop2 on /android/sbin/.core/img type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/bin/netd type ext4 (rw,seclabel,relatime,data=ordered)
tmpfs on /android/system/usr/share/alsa type tmpfs (rw,seclabel,relatime)
/dev/block/loop2 on /android/system/usr/share/alsa/ucm type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/usr/share/alsa/alsa.conf type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/usr/share/alsa/cards type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/usr/share/alsa/init type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/usr/share/alsa/pcm type ext4 (ro,seclabel,relatime,data=ordered)
tmpfs on /android/system/etc type tmpfs (rw,seclabel,relatime)
/dev/block/loop2 on /android/system/etc/init/bluetoothtbd.rc type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/atrace.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/audioserver.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/bootanim.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/bootstat.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/cameraserver.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/debuggerd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/drmserver.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/dumpstate.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/gatekeeperd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/init-debug.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/installd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/keystore.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/lmkd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/logcatd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/logd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/mdnsd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/mediacodec.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/mediadrmserver.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/mediaextractor.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/mediaserver.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/mtpd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/netd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/perfprofd.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/racoon.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/rild.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/servicemanager.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/superuser.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/surfaceflinger.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/uncrypt.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/vdc.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init/vold.rc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/etc/alsa type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/etc/ssl type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/etc/sysconfig/google.xml type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/sysconfig/backup.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/sysconfig/google_build.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/sysconfig/google_vr_build.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/sysconfig/nexus.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/sysconfig/whitelist_com.android.omadm.service.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/etc/modules.blacklist type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/etc/init.sh type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/CHANGELOG-CM.txt type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/NOTICE.html.gz type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/apns-conf.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/audio_effects.conf type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/audio_policy.conf type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/bash type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/bluetooth type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/clatd.conf type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/compiled-classes type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/default-permissions type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/event-log-tags type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/excluded-input-devices.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/fonts.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/gps.conf type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/hosts type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/hwdata type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/init.d type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/media_codecs.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/media_codecs_ffmpeg.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/media_codecs_google_audio.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/media_codecs_google_video.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/media_profiles.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/mkshrc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/nano type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/old-apns-conf.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/permissions type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/ppp type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/preferred-apps type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/preloaded-classes type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/public.libraries.txt type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/seccomp_policy type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/security type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/sensitive_pn.xml type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/ssh type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/terminfo type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/vimrc type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/etc/wifi type ext4 (ro,seclabel,relatime,data=ordered)
tmpfs on /android/system/priv-app type tmpfs (rw,seclabel,relatime)
/dev/block/loop2 on /android/system/priv-app/Phonesky type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/priv-app/Greenify type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/priv-app/com.catchingnow.iceboxsystemplugin type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/priv-app/Launcher3 type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/priv-app/PrebuiltGmsCore type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/priv-app/Trebuchet type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/priv-app/InternalAudioPlugin type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/AnalyticsService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/AudioFX type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/BackupRestoreConfirmation type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/BlockedNumberProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CMAudioService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CMParts type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CMSettingsProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CMUpdater type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CalendarProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CallLogBackup type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CarrierConfig type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CellBroadcastReceiver type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Contacts type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/ContactsProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/CtsShimPrivPrebuilt type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/DefaultContainerService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Dialer type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/DocumentsUI type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/DownloadProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Eleven type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/EmergencyInfo type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/ExtServices type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/ExternalStorageProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/FusedLocation type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GoogleBackupTransport type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GoogleFeedback type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GoogleLoginService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GoogleOneTimeInitializer type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GooglePackageInstaller type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GooglePartnerSetup type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/GoogleServicesFramework type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/HardwareCollector type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/InputDevices type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/LineageSetupWizard type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/LiveLockScreenService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/ManagedProvisioning type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/MediaProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/MmsService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/MtpDocumentsProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/ProxyHandler type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Recorder type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Settings type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/SettingsProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/SetupWizard type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/SharedStorageBackup type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Shell type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/StatementService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/StorageManager type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/SystemUI type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/TeleService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/Telecom type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/TelephonyProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/VpnDialogs type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/WallpaperCropper type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/WeatherManagerService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/priv-app/WeatherProvider type ext4 (ro,seclabel,relatime,data=ordered)
tmpfs on /android/system/app type tmpfs (rw,seclabel,relatime)
/dev/block/loop2 on /android/system/app/com.google.android.apps.nexuslauncher type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/app/com.google.android.nexusicons type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/app/ChromeCustomizations type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/AndroidTerm type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/BasicDreams type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Bluetooth type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/BluetoothMidiService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/BookmarkProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Calendar type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Camera2 type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/CaptivePortalLogin type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/CertInstaller type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/CtsShimPrebuilt type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/DeskClock type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Development type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/DownloadProviderUi type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/EasterEgg type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Email type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/ExactCalculator type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Exchange2 type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/ExtShared type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Gallery2 type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/GoogleCalendarSyncAdapter type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/GoogleContactsSyncAdapter type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/GoogleTTS type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/HTMLViewer type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Jelly type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/KeyChain type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/LatinIME type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/LiveWallpapersPicker type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/LockClock type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/PacProcessor type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/PhotoTable type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/PicoTts type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/PrintRecommendationService type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/PrintSpooler type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Profiles type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/RSSReader type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Stk type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Taskbar type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/Terminal type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/UserDictionaryProvider type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/WallpaperBackup type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/WallpaperPicker type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/messaging type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/app/webview type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/framework/services.jar type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/framework/framework-res.apk type ext4 (rw,seclabel,relatime,data=ordered)
tmpfs on /android/system/vendor type tmpfs (rw,seclabel,relatime)
/dev/block/loop2 on /android/system/vendor/bin type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop2 on /android/system/vendor/overlay type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/loop1 on /android/system/vendor/lib type ext4 (ro,seclabel,relatime,data=ordered)
17th February 2018, 06:34 PM |#22  
Senior Member
Thanks Meter: 352
 
Donate to Me
More
Quote:
Originally Posted by youling257

you need app、priv-app、framework.........、build.prop,at the root of the partition.
mount /dev/block/mmcblk1p5 to /mnt/$SRC/system,did you read Androidx86 initrd.img's init?
then magisk mount /dev/block/mmcblk1p5 to mirror system,mirror/system/build.prop、framework、app......

we need to modify Androidx86 initrd.img's init,and must mount ro.[COLOR="Silver"]

I think I got your intentions.
So if I move all /system/* files to the root, - where do I put "data" folder ? in another partition ?
18th February 2018, 04:49 AM |#23  
Senior Member
Thanks Meter: 41
 
More
Quote:
Originally Posted by gps3dx

I think I got your intentions.
So if I move all /system/* files to the root, - where do I put "data" folder ? in another partition ?

mv kernel、initrd.img、ramdisk.img to fat32 partition,you can move to esp partition.
mv system/* file to the root of mmcblk1p5,create mmcblk1p6 ext4 for data.
unpack initrd.img,zcat initrd.img | cpio -idm > /dev/null;repack,find . | cpio -o -H newc | gzip > ../initrd.img
Code:
	if [ -e /mnt/$SRC/system.sfs ]; then
		losetup /dev/loop0 /mnt/$SRC/system.sfs
		ln -s /dev/loop0 /dev/block/loop0
		mount -o noatime /dev/block/loop0 system
		if [ -e system/system.img ]; then
			mount --move system /sfs
			losetup /dev/loop1 /sfs/system.img
			ln -s /dev/loop1 /dev/block/loop1
			mount -o noatime /dev/block/loop1 system
		fi
	elif [ -e /mnt/$SRC/system.img ]; then
		losetup /dev/loop0 /mnt/$SRC/system.img
		ln -s /dev/loop0 /dev/block/loop0
		mount -o noatime,ro /dev/block/loop0 system
	elif [ -b "/dev/$SYSTEM" ]; then
		ln -s /dev/$SYSTEM /dev/block/$SYSTEM
		mount -o noatime,ro /dev/block/$SYSTEM system
edit grub.cfg,
Code:
	search --set=root --file /kernel
	linux /kernel root=/dev/ram0 SYSTEM=mmcblk1p5 DATA=mmcblk1p6 androidboot.selinux=permissive buildvariant=userdebug DEBUG=1
	initrd /initrd.img
The Following User Says Thank You to youling257 For This Useful Post: [ View ] Gift youling257 Ad-Free
3rd September 2018, 06:07 PM |#24  
Member
Thanks Meter: 3
 
More
what to edit for a different build?
im trying to do this on android x86_64tv (the build from geek till it hertz) but when i load the new ramdisk it just bootloops im not good at coding, i was just wondering if there some lines I have to change or something thanks in advance

EDIT: nvm, it was user error, this installed magisk for me
5th November 2018, 09:37 PM |#25  
Member
Thanks Meter: 5
 
More
Hello ,i would like to install magisk in the Bluestacks emulator on my pc. But install it first install TWRP. would you know if it is possible to install TWRP without bugs so that i can install Magisk next?
or if it is possible to install magisk without TWRP in bluestacks?
Thank you in advance for your answer
11th November 2018, 02:49 AM |#26  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by gatarax

Hello ,i would like to install magisk in the Bluestacks emulator on my pc. But install it first install TWRP. would you know if it is possible to install TWRP without bugs so that i can install Magisk next?
or if it is possible to install magisk without TWRP in bluestacks?
Thank you in advance for your answer

i am also interested in magisk for bluestacks, but i am pretty sure your question is inappropriate for this thread.

Also, OP did not mention TWRP. open a new thread brosef

or maybe your answer is here
https://forum.xda-developers.com/gen...t3622681/page3
31st December 2018, 05:46 AM |#27  
MajinkenSword's Avatar
Senior Member
Thanks Meter: 32
 
More
Quote:
Originally Posted by rtfmdyor

i am also interested in magisk for bluestacks, but i am pretty sure your question is inappropriate for this thread.

Also, OP did not mention TWRP. open a new thread brosef

or maybe your answer is here
https://forum.xda-developers.com/gen...t3622681/page3

Was there ever a new thread created? I'm using NoxPlayer and would like to install Magisk instead of the default root it provides.

Thanks in advance! 😊
14th July 2019, 12:38 PM |#28  
pihpih95's Avatar
Senior Member
Flag Kuala Terengganu
Thanks Meter: 17
 
More
So any news on installing magisk on bluestack or similar android emulator ? Bluestack tweaker does not have that kind of option iirc
25th March 2020, 01:52 AM |#29  
Junior Member
Thanks Meter: 0
 
More
Hi, as I wrote in the other thread about installing Magisk on Android x86, I reached out following this guide:

asdasd.page/2018/02/18/Install-Magisk-on-Android-x86/

Tested on x86 8.1 r4, I don't know if modules work, but the hide function works because I can hide root now. Bye!!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes