people help with compiling the kernel for hydrogen. at the end it gives an error
Code:
make [1]: *** No rule to make target «arch / arm64 / boot / dts / hydrogen-msm8956-mtp.dtb», required for «arch / arm64 / boot / Image.gz-dtb». Stop.
make: *** [/ home / ilya / kernel / Xiaomi_Kernel_OpenSource / arch / arm64 / Makefile: 84: Image.gz-dtb] Error 2 [/ code]
why there is this error that I do not?
Caelcorlon said:
people help with compiling the kernel for hydrogen. at the end it gives an error
Code:
make [1]: *** No rule to make target arch / arm64 / boot / dts / hydrogen-msm8956-mtp.dtb, required for arch / arm64 / boot / Image.gz-dtb. Stop.
make: *** [/ home / ilya / kernel / Xiaomi_Kernel_OpenSource / arch / arm64 / Makefile: 84: Image.gz-dtb] Error 2 [/ code]
why there is this error that I do not?[/QUOTE]
You have to repo the source exactly as is. If you downloaded it as zip you are missing linked folders and that is the error you get. Missing these linked folders:
[url]https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/hydrogen-m-oss/arch/arm64/boot/dts/qcom[/url]
[url]https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/hydrogen-m-oss/arch/arm64/boot/dts/include/dt-bindings[/url]
Also don't use source from MiCode... It is missing a lot of stuff... Use source from:
[url]https://github.com/TheStrix/android_kernel_xiaomi_msm8956[/url]
Or
[url]https://github.com/zhaochengw/android_kernel_xiaomi_hydrogen[/url]
Or
[url]https://github.com/karthick111/android_kernel_xiaomi_hydrogen[/url]
Click to expand...
Click to collapse
Source code
nijel8 said:
Use source from:
Click to expand...
Click to collapse
some of these source code suitable for the drain firmware?
just copy hydrogen-msm8956-mtp.dtb at arch / arm64 / boot / dts /
While i was looking for a way to change boot animations, (which i may have found, it looks like the bootanimation zip file is under "root/product/media") i went to change the name and paste the new file in there but it wouldnt allow me, it looks like you cant mount the root as read/write because its read only, is there a way to mount it? maybe through adb or termux?
edit: i was running the app as root still didnt seem to allow changes
No.
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
Mar-cel said:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
Click to expand...
Click to collapse
yeah, gave tha a shot last night, flashed it through twrp but onl 2 lines showed up 1 saying it was running the script and another saying that it was complete then it just flashed back into twrp, and when i booted it up and tried to rename files it didnt work, i might have to try that superrepack tool tough i didnt see that thanks man! did you try it?
Youtube Tutorial Video:
Since Android partitions are no longer writable EVEN with root, you'll need to use special tools available online in order to mount a system as Read/Write.
I used this technique from another XDA thread and it is confirmed working!
What you'll Need:
*ROOT*
A File Explore with root tools (I used Solid Explorer)
A Terminal Application (Termux or Terminal Emulator should work just fine)
Computer with FASTBOOT installed
XDA Thread for reference:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
Here are the steps:1. Download zip folder from either of these links:
Yandex
Finds everything
disk.yandex.com
17.63 MB file on MEGA
mega.nz
2. Extract systemrw_BUNDLE_proper and you'll see two zip files.
You'll only need systemrw_1.32_flashable.zip so delete the other ZIP file!
3. Inside that ZIP, there is META and systemrw_1.32. Extract folders to this directory: /data/local/tmp
4. Open up a terminal emulator and type "su" to give the emulator root rights.
5. Type cd /data/local/tmp/systemrw_1.32 to navigate to the tmp directory.
6. Now we are going to execute the file "systemrw.sh" BUT FIRST we need to make the file executable! Type: chmod 755 systemrw.sh
7. Now time to execute! Type: ./systemrw.sh size=15 (Size 15 is needed for it to work or else the phone will brick!)
8. WAIT PATIENTLY! It will take some time! Once it's finished there should be a folder in the /data/local/tmp/systemrw_1.32 directory called img.
9. Only copy super_fixed.bin to the root of your sdcard. Rename it to super.img.
10. Now copy super.img to your computer and flash the img with fastboot by typing: fastboot flash super super.img
DONE! Your System is now r/w!
Sorry for the noobie question... what are the advantages of make my system r/w?
8bitcode said:
Sorry for the noobie question... what are the advantages of make my system r/w?
Click to expand...
Click to collapse
Removing unwanted applications, bring able to modify build.prop to your liking, etc.
chocolote4444 said:
Removing unwanted applications, bring able to modify build.prop to your liking, etc.
Click to expand...
Click to collapse
Thanks, i think ill be doing this tonight, btw doing this procedure erases al phone data? and i dont need to do it every OTA?
8bitcode said:
Thanks, i think ill be doing this tonight, btw doing this procedure erases al phone data? and i dont need to do it every OTA?
Click to expand...
Click to collapse
It will not wipe phone data. You should be safe with that. But make a backup just in case if you have twrp.
@chocolote4444
Out of curiosity, will this work on the 6S Pro (No.Amer.) variant?
does this support android 12? mine is not working
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
chocolote4444 said:
Youtube Tutorial Video:
Since Android partitions are no longer writable EVEN with root, you'll need to use special tools available online in order to mount a system as Read/Write.
I used this technique from another XDA thread and it is confirmed working!
What you'll Need:
*ROOT*
A File Explore with root tools (I used Solid Explorer)
A Terminal Application (Termux or Terminal Emulator should work just fine)
Computer with FASTBOOT installed
XDA Thread for reference:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
Here are the steps:1. Download zip folder from either of these links:
Yandex
Finds everything
disk.yandex.com
17.63 MB file on MEGA
mega.nz
2. Extract systemrw_BUNDLE_proper and you'll see two zip files.
You'll only need systemrw_1.32_flashable.zip so delete the other ZIP file!
3. Inside that ZIP, there is META and systemrw_1.32. Extract folders to this directory: /data/local/tmp
4. Open up a terminal emulator and type "su" to give the emulator root rights.
5. Type cd /data/local/tmp/systemrw_1.32 to navigate to the tmp directory.
6. Теперь мы собираемся исполнить файл " systemrw.sh ", НО СНАЧАЛА нам нужно сделать файл исполняемым! Тип: chmod 755 systemrw.sh
7. Теперь время выполнять! Введите: ./systemrw.sh size=15 (Для работы необходим размер 15, иначе телефон зависнет!)
8. ТЕРПЕЛИВО ЖДИТЕ! Это займет некоторое время! После завершения в каталоге /data/local/tmp/systemrw_1.32 должна появиться папка с именем img.
9. Скопируйте только super_fixed.bin в корень вашей SD-карты. Переименуйте его в super.img.
10. Теперь скопируйте super.img на свой компьютер и прошейте img с помощью fastboot, набрав: fastboot flash super super.img
ВЫПОЛНЕНО! Ваша система теперь r/w!:ковбой:
Click to expand...
Click to collapse
chocolote4444 said:
Youtube Tutorial Video:
Since Android partitions are no longer writable EVEN with root, you'll need to use special tools available online in order to mount a system as Read/Write.
I used this technique from another XDA thread and it is confirmed working!
What you'll Need:
*ROOT*
A File Explore with root tools (I used Solid Explorer)
A Terminal Application (Termux or Terminal Emulator should work just fine)
Computer with FASTBOOT installed
XDA Thread for reference:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
Here are the steps:1. Download zip folder from either of these links:
Yandex
Finds everything
disk.yandex.com
17.63 MB file on MEGA
mega.nz
2. Extract systemrw_BUNDLE_proper and you'll see two zip files.
You'll only need systemrw_1.32_flashable.zip so delete the other ZIP file!
3. Inside that ZIP, there is META and systemrw_1.32. Extract folders to this directory: /data/local/tmp
4. Open up a terminal emulator and type "su" to give the emulator root rights.
5. Type cd /data/local/tmp/systemrw_1.32 to navigate to the tmp directory.
6. Now we are going to execute the file "systemrw.sh" BUT FIRST we need to make the file executable! Type: chmod 755 systemrw.sh
7. Now time to execute! Type: ./systemrw.sh size=15 (Size 15 is needed for it to work or else the phone will brick!)
8. WAIT PATIENTLY! It will take some time! Once it's finished there should be a folder in the /data/local/tmp/systemrw_1.32 directory called img.
9. Only copy super_fixed.bin to the root of your sdcard. Rename it to super.img.
10. Now copy super.img to your computer and flash the img with fastboot by typing: fastboot flash super super.img
DONE! Your System is now r/w!
Click to expand...
Click to collapse
hey, before i try this method to r/w my super partition, do you know if this method still works on Android 12? i have a red magic 6 pro with 5.12 version. Thx!
(even if you know other methods that are not downgrading to 4.12 or 4.15)
Confirmed working in Lenovo Legion Duel 2 Android 11.
Thanks.
Anyone in red magic 6R?
chocolote4444 said:
Youtube Tutorial Video:
Since Android partitions are no longer writable EVEN with root, you'll need to use special tools available online in order to mount a system as Read/Write.
I used this technique from another XDA thread and it is confirmed working!
What you'll Need:
*ROOT*
A File Explore with root tools (I used Solid Explorer)
A Terminal Application (Termux or Terminal Emulator should work just fine)
Computer with FASTBOOT installed
XDA Thread for reference:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
Here are the steps:1. Download zip folder from either of these links:
Yandex
Finds everything
disk.yandex.com
17.63 MB file on MEGA
mega.nz
2. Extract systemrw_BUNDLE_proper and you'll see two zip files.
You'll only need systemrw_1.32_flashable.zip so delete the other ZIP file!
3. Inside that ZIP, there is META and systemrw_1.32. Extract folders to this directory: /data/local/tmp
4. Open up a terminal emulator and type "su" to give the emulator root rights.
5. Type cd /data/local/tmp/systemrw_1.32 to navigate to the tmp directory.
6. Ahora vamos a ejecutar el archivo " systemrw.sh " ¡PERO PRIMERO necesitamos hacer que el archivo sea ejecutable! Tipo: chmod 755 systemrw.sh
7. ¡Ahora es el momento de ejecutar! Escriba: ./systemrw.sh size=15 (¡Se necesita el tamaño 15 para que funcione o el teléfono se bloqueará!)
8. ¡ESPERA PACIENTE! ¡Tomará un poco de tiempo! Una vez que haya terminado, debería haber una carpeta en el directorio /data/local/tmp/systemrw_1.32 llamada img.
9. Solo copie super_fixed.bin a la raíz de su tarjeta SD. Cámbiele el nombre a super.img.
10. Ahora copie super.img a su computadora y actualice el img con fastboot escribiendo: fastboot flash super super.img
¡HECHO! ¡Su sistema ahora es r/w!:vaquero:
Click to expand...
Click to collapse
Hello, I did the whole process correctly as indicated in the tutorial, but I had the Bootloader Blocked and an error came out in the flashing, my headache just started, now I am bricked and although I try to solve it by flashing the roms that are in the forums, it is still successful flashing process still does not go past the logo. Do you know what I can do to recover my mobile?
Hello, I did the whole process correctly as indicated in the tutorial, but I had the Bootloader Blocked and an error came out in the flashing, my headache just started, now I am bricked and although I try to solve it by flashing the roms that are in the forums, it is still successful flashing process still does not go past the logo. Do you know what I can do to recover my mobile?
Jarligton said:
Hello, I did the whole process correctly as indicated in the tutorial, but I had the Bootloader Blocked and an error came out in the flashing, my headache just started, now I am bricked and although I try to solve it by flashing the roms that are in the forums, it is still successful flashing process still does not go past the logo. Do you know what I can do to recover my mobile?
Click to expand...
Click to collapse
hi, are you in the redmagic group? You could try to deepflash the phone using the unbrick tutorial in the group files.
Here the link: t.me/RedMagic6
is work.. but why after install with fastboot mode got bootloop?
I'm trying to edit marble.xml file to add 99 fps option
But I can't edit system files
The A13 system is read only even with root.
use a script or Magisk modules (if existing).
Example of script:
[Closed] Universal SystemRW / SuperRW feat. MakeRW / ro2rw (read-only-2-read/write super partition converter)
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
I'd give a try to Leegarchat's script too, it worked on my vayu.