Help with secure boot.img and custom recovery - Android Q&A, Help & Troubleshooting

Hello. Please i need help.
I have a Mediatek device with a secured boot.img i have been trying to make it unsecured by changing ro.secure in default.prop
when i repack the boot.img and flash it with SP Flash tools the device does not boot at all. (reboots at first splash)
Can anyone help me do it properly? i'll really appreciate your help.
Also Auto TWRP and CWM installers do not work for the device so if anyone can assist me with building TWRP or CWM for it i'll be grateful
this is a link to the boot.img and recovery.img:
https://drive.google.com/open?id=0B39xYnt0Q7O0YktFaXE0NnVRSkk

Related

Fastboot not booting custom boot.img

Hello everybody,
I have rooted Doogee DG800 and i tried to use fastboot to boot custom ramdisk. But it didn't work. Fastboot downloaded kernel image and ramdisk but didn't boot the system. I also tried kernel and ramdisk from my current ROM but it also didn't work. Fastboot only says "booting..." and that's all.
PS : I'm doing this because I want to buy a cheap tablet with Allwinner A13 and install Debian on it. But I want to try it first on my phone.
Thanks for answers

How to use ramdisk extraction utility to flash TWRP

Hey guys,
I consider myself pretty switched on but I can't understand how exactly the " ramdisk extraction utility" is used to flash TWRP.
Correct me if I'm wrong but it is used to unpack a boot.img file into separate files, one of which is the recovery. It then repacks it and allows it to be flashed via "fastest flash boot boot.img"
Ive found tools that repack boot.img files but all appear to be for Linux.
Can someone assist me by guiding me to a tutorial or offer step by step instructions on flashing TWRP onto my z2?
Basically all I want to do is understand how to flash any recovery I want when running a custom rom.
P. S - can someone explain the concept of why it dosnt work when I try to install TWRP as described in their website with
*terminal emulator or in adb shell:
su
dd if=/sdcard/fotakernel.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Thank you.
Nothing guys?
Im not sure how to help you
1. Install fastboot
2. Use fastboot to flash recovery
Fastboot flash recovery recovery.img
3. You need a custom kernel
4. Find a kernel that supports fotakernel(recovery partition fyi)

Help with root (Magisk) (Huawei P smart)

So I've been thinking about rooting my device for awhile and decided to do it (tried to).
Turns out because Huawei blocked the request for boot loader so I now can't unlock it to install twrp and get root.
I looked on magisk's website and it says devices on EMUI 8 can do this method:
"If you plan not to use custom recoveries, you will have to extract RAMDISK.img from your firmware. Follow the instructions for boot image patching above, but use the RAMDISK.img file instead of a boot image. To install the patched image back to your device, here is the fastboot command: fastboot flash ramdisk /path/to/patched_boot.img. Be aware you are flashing to ramdisk, not boot!"
This is great but I have also have no clue what it means.
How do I extract the ramdisk file and how would I boot it into my device?
does anyone have an easy to understand tutorial of how to do it?

Partition Problem in Redmi Y3

Help me, my phone's boot partition problem.
When i try to flash boot.img file using 'Minimal ADB and Fastboot' then it flash stock boot.img even i changed this file.
Means,
Stock Boot.img file of Redmi Y3 is 64mb
I copy custom Boot.img file(15.20mb) to Minimal ADB folder and flash this but i won't get custom Boot.img, i get stock boot.img of 64mb.
After this,
I Booted to Twrp Recovery and Try to flash Boot.img from here but i get this same problem again.
I Erased Boot Partition using Minimal ADB Tool and After this when i Booted to twrp and go to Backup then i see Boot(64mb).
When i Erased Boot.img It should be seen 0mb in Twrp but i see anytime it is 64mb help me please
you has bootloader unlocked?
Boot Partition Problem Solved
My Boot partition problem is Solved now !!
I flashed original rom miui 10.3.2 rom and after successful reboot, i flashed custom rom and new boot animation is coming in screen ???

Injecting TWRP recovery

Anyone have experience with injecting or replacing stock boot.img files with twrp.img files in the effort to patch stock boot.img with twrp recovery. I dont know what files to replace or if its possible - Since i cant seem to figure out why i cant use command fastboot boot twrp.img. looking for a work around. i tried fastboot command in fastboot and fastbootd with different errors
my partition table does not have a recovery partition. Is there a way to create a recovery partition and load twrp to that?
device is alldocube T803 android 11
https://forum.xda-developers.com/t/discussion-magisk-the-age-of-zygisk.4393877/post-86320323
start here and take your time..... the Magisk app patches your boot.img
Don't go to fast because then you get only time consuming troubles.
xabu said:
https://forum.xda-developers.com/t/discussion-magisk-the-age-of-zygisk.4393877/post-86320323
start here and take your time..... the Magisk app patches your boot.img
Don't go to fast because then you get only time consuming troubles.
Click to expand...
Click to collapse
thanks but i dont need magisk to patch the boot.img i need to inject twrp into the boot.img because everyone knows devices with android 10 and newer from the factory do NOT have a recovery partition
blaze2051 said:
thanks but i dont need magisk to patch the boot.img i need to inject twrp into the boot.img because everyone knows devices with android 10 and newer from the factory do NOT have a recovery partition.
Click to expand...
Click to collapse
i totally agree , there are people who do not have the ability to help, or have, but because the soul is bitter does not help.

Categories

Resources