Derniers tests et previews
TEST South of Midnight : le bébé de la Xbox s’invite sur PS5
TEST Starship Troopers: Ultimate Bug War!, un boomer shooter qui fait pleuvoir les Bugs
TEST Kena: Bridge of Spirits sur Switch 2, une aventure poétique avec de petites brumes techniques
TEST Mega Man Star Force Legacy Collection : quand la nostalgie capte bien... mais grésille parfois
Dernières actualités
Licence Office 2021 Pro à seulement 31 € et Windows 11 Pro à 13 € ! Payez une fois, accès à vie !
MISE A JOUR Switch 2 et 1 : un firmware 22.1.0 disponible, quoi de neuf ?
Pokémon : Project VOLTAGE High, la collaboration musicale et visuelle avec Hatsune Miku atteint de nouveaux sommets (MAJ 05/04/26)
PlayStation Plus : le programme complet des jeux offerts en avril 2026 dévoilé, entre Action-RPG et aventure
root
Par contre la je suis un peu trop a la ramasse trop une quiche sous linux.
Si le super administrateur linuxien pouvait passer par la histoire de voir.
1. Open Gparted
2. Erase all partitions from SDcard
3. Click on Device menu
4. Click on Create Partition Table
5. Choose GPT partition type, and click ok.
6. Create Partitions
1. Hos data(>2GB) Partition Name:hos_data Type: Fat32
2. EMUNAND (32GB) Partition Name:emunand Type: Fat32
3. vendor (1.06GB) Partition Name:vendor Type: ext4
4. system (2.17GB) Partition Name: system Type: ext4
5. boot (70.0MB) Partition Name: boot Type:Unformatted
6. recovery (70.0MB) Partition Name:recovery Type: Unformatted
7. dtb (30.0MB) Partition Name: dtb Type: Unformatted
8. userdata(As big as you want) Partition Name: userdata Type: ext4
9. linux_root(As big as you want) Partition Name:linux Type: ext4
10. Swap Space(8GB, optional) Partition Name:linux_swap type: linux_swap
11. Shared space between lakka, android, and linux
7. Apply changes
8. download kosmos, lakka, android(16GB image will work), and l4t-ubuntu.
9. extract Kosmos and lakka to partition 1.
10. extract android image from GZ.
11. type into terminal: sudo kpartx -v -a android.img(rename to match the extracted img file)
12. type into terminal mount /dev/loop0p1 /mnt
13. Copy all data from /mnt to hos_data partition
15. recreate android boot.scr using this configuration(Save as android.txt)
setenv bootargs 'log_buf_len=4M access=m2 androidboot.bootreason=recovery androidboot.hardware=icosa androidboot.console=ttyGS0 console=tty0 androidboot.selinux=permissive fbcon=primary:0 androidboot.serialno='${serialno}
if gpio input 190; then
part start mmc 1 <partition number of boot image> aistart
part size mmc 1 <partition number of boot image> aisize
else
part start mmc 1 <partition number of recovery image> aistart
part size mmc 1 <partition number of recovery image> aisize
fi
mmc read 0x98000000 ${aistart} ${aisize}
boota 0x98000000
16. Build android boot.scr with mkimage(Included with u-boot, needs to be compiled)
mkimage -A arm -T script -O linux -d android.txt android_boot.scr
17. Replace boot.scr in switchroot android folder with the copy you just created Make sure to rename it to boot.scr.
18. use dd to copy android data to partitions. sdcard can be mmcblk0p or sdX<number> It differs depending on the computer.
dd if=/dev/loop0p2 of=/dev/<sdcard>3 bs=256M
dd if=/dev/loop0p3 of=/dev/<sdcard>4 bs=256M
dd if=/dev/loop0p4 of=/dev/<sdcard>5 bs=256M
dd if=/dev/loop0p5 of=/dev/<sdcard>6 bs=256M
dd if=/dev/loop0p6 of=/dev/<sdcard>7 bs=256M
19.(Optional) We are skipping userdata folder: If you want to copy userdata from a pre-setup card, then you will need to mount both SD cards userdata partitions, and use cp -pr /path/to/existing/userdata /path/to/new/userdata
20. Mount linux root from image and linux root partition on new sdcard.
21. Copy data from one to the other using cp -rp /path/to/linux/root/data /path/to/new/linux/root
22. edit /path/to/new/linux/root/etc/fstab
so change: /dev/root / ext4
to: /dev/mmcblk0p<# of linux root> / ext4
22. save.
23. Copy data off partition 1 of linux image to hos_data partition on new SDcard.
23. Create Linux boot.scr using script below.
load mmc 1:1 0x8d000000 l4t-ubuntu/tegra210-icosa.dtb
load mmc 1:1 0x92000000 l4t-ubuntu/initramfs
setenv bootargs 'root=/dev/mmcblk0p<number of linux root> rw rootwait relative_sleep_states=1 access=m2 console=tty0 firmware_class.path=/lib/firmware/ fbcon=primary:1'
usb reset
booti 0x83000000 0x92000000 0x8d000000
24. Save as linux_boot.txt
25. Build linux boot.scr with mkimage(Included with u-boot, needs to be compiled)
mkimage -A arm -T script -O linux -d linux_boot.txt linux_boot.scr
26. Replace hos_data/l4t-ubuntu/boot.scr with our linux_boot.scr
27. Unmount all partitions that have been mounted on new sdcard(Very Important)
28. Create hybrid MBR: Now that we have the data on the partitions, we need to create a hybrid mbr so we can boot to do this, we need to use gdisk.
gdisk /dev/<path to sdcard> sdX or mmcblk0
29. once in gdisk:
1. Hit r and enter
2. hit h and enter
3. Enter partitions to include in MBR seperated by spaces.
if you used my partition layout it would be: 1 2
4. say N to good for grub question.
5. set MBR hex code for both partitions to EE, and dont set bootable flag.
6. once it returns to recovery/transformation command prompt hit o to verify the mbr.
7. If everything looks good, type wq to save and quit.
30. Now place the SDcard in the switch, and boot hekate. Create emunand partition, and enable. If you have done everything correctly, it should boot l4t-ubuntu, Lakka Switch, Switchroot_Android, and Atmosphere with emunand.
J'ai ajouté le lien dans le Tutoriel de départ.