Patched boot - Xiaomi Mi A2 Lite Questions & Answers

Can anyone provide me a trusted patched boot.img for the latest build till now(11.0.4.0) for enabling camera2 api withouy root. Thanks

Samir 120 said:
Can anyone provide me a trusted patched boot.img for the latest build till now(11.0.4.0) for enabling camera2 api withouy root. Thanks
Click to expand...
Click to collapse
Mine.
https://yasmar.net/xda/patched_boot_11.0.4.0_204.img.gz
Or if you have trust issues, download the stock ROM from xiaomi and use Magisk manager to make your own patched boot image.

a1291762 said:
Mine.
https://yasmar.net/xda/patched_boot_11.0.4.0_204.img.gz
Or if you have trust issues, download the stock ROM from xiaomi and use Magisk manager to make your own patched boot image.
Click to expand...
Click to collapse
It says failed(remote: dtb not found).

Samir 120 said:
It says failed(remote: dtb not found).
Click to expand...
Click to collapse
That usually means your phone is very dead...
Does your phone even boot normally?
Can you copy the whole command + output?

Related

Find someone who can do boot.img and recovery.img for xperiu L1

Find someone who can do boot.img and recovery for xperiu L1
Custom recovery isn't required if you use Magisk to root, but custom kernel is no exception.
I tried to modify stock kernel with Magisk Manager but it failed.
Currently I don't have Linux PC so building custom kernel may be a problem.
mingkee said:
Custom recovery isn't required if you use Magisk to root, but custom kernel is no exception.
I tried to modify stock kernel with Magisk Manager but it failed.
Currently I don't have Linux PC so building custom kernel may be a problem.
Click to expand...
Click to collapse
Use Android Image Kitchen by @osm0sis to convert the boot.elf (boot.img) and fotakernel.elf (recovery.img) to standard aosp .img format then test using fastboot (Bootloader must be unlocked) Check out other "mediatek" xperia device threads also.
I tried before.
It didn't work as it cannot unpack the boot.img extracted using Flashtool sin converter
@bigrammy
Do you help a create boot.img And recovery.img
Bro please helping very very thanxxxxx
mingkee said:
I tried before.
It didn't work as it cannot unpack the boot.img extracted using Flashtool sin converter
Click to expand...
Click to collapse
HEKER510 said:
@bigrammy
Do you help a create boot.img And recovery.img
Bro please helping very very thanxxxxx
Click to expand...
Click to collapse
Upload the boot.sin and fotakernel.sin only to a NO spam file host like mega or G-drive and I will take a look when I get some time.
bigrammy said:
Upload the boot.sin and fotakernel.sin only to a NO spam file host like mega or G-drive and I will take a look when I get some time.
Click to expand...
Click to collapse
Actually, you can download full ROM using Flashtool with xperifirm, and extract boot and recovery using SIN extractor.
Currently I am at work and I will upload them to android file host later Monday
mingkee said:
Actually, you can download full ROM using Flashtool with xperifirm, and extract boot and recovery using SIN extractor.
Currently I am at work and I will upload them to android file host later Monday
Click to expand...
Click to collapse
Bro do you created boot.img and recovery.img
Very very thanxxxx bro
mingkee said:
Actually, you can download full ROM using Flashtool with xperifirm, and extract boot and recovery using SIN extractor.
Click to expand...
Click to collapse
Did you Really type that. :laugh: :laugh:
I have enough #***# on my PC without adding even more unnecessary Gig's for a device I don't even own.
As you will know there are many variants country to country single sim dual sim etc so I will need the boot from the testers variant and not just one I made guess at.
bigrammy said:
Did you Really type that. :laugh: :laugh:
I have enough #***# on my PC without adding even more unnecessary Gig's for a device I don't even own.
As you will know there are many variants country to country single sim dual sim etc so I will need the boot from the testers variant and not just one I made guess at.
Click to expand...
Click to collapse
G3313 (single SIM)
Kernel
https://androidfilehost.com/?fid=962021903579487242
MD5: af6470e932b1231cf207343a97eeee76
Recovery
https://androidfilehost.com/?fid=673791459329055867
MD5: 871ca7cc7c688b722f7fe38597ff18cb
mingkee said:
G3313 (single SIM)
Kernel
https://androidfilehost.com/?fid=962021903579487242
MD5: af6470e932b1231cf207343a97eeee76
Recovery
https://androidfilehost.com/?fid=673791459329055867
MD5: 871ca7cc7c688b722f7fe38597ff18cb
Click to expand...
Click to collapse
Here is the boot.img to test.
It has not been modified in anyway so encryption and verity are still enabled as they are in the stock .elf
IF it boots then we will move on.
Bootloader unlock is required just for clarity and anyone thinking of testing it.
I have successfully modified the kernel and mine is rooted.
The next one will be dual SIM version and it will come later.
Here is mine https://androidfilehost.com/?fid=673791459329055871
---------- Post added at 09:54 AM ---------- Previous post was at 09:40 AM ----------
bigrammy said:
Here is the boot.img to test.
It has not been modified in anyway so encryption and verity are still enabled as they are in the stock .elf
IF it boots then we will move on.
Bootloader unlock is required just for clarity and anyone thinking of testing it.
Click to expand...
Click to collapse
Use Notepad ++ to edit default.prop
ro.secure=0
ro.debuggable=1
Save and repack.
That's it.
mingkee said:
I have successfully modified the kernel and mine is rooted.
The next one will be dual SIM version and it will come later.
Click to expand...
Click to collapse
So I need not of wasted my time after all
I am well aware of how to root a kernel and do all things regarding sony and mediatek and I think you somehow got your wires crossed.
I suggested to you how to modify the kernel.elf but you said you tried and failed that's why I offered to HELP I don't even have the L1 hence the reason for not going for the full on modification of the kernel until it was fully tested.
Anyway now your underway I will leave you all to get on with it.
Good Luck :good:
Unfortunately, I am still unable to make TWRP for L1 at this time.
Moreover, it appears that modified stock image doesn't work for other L1 variations, and all I have is US version. I uploaded all three variations and see the results.
It looks like SIM cannot be read with modified image.
where is tutorial on XDA on how to twrp recovery create please link brothersss very thankx
HEKER510 said:
where is tutorial on XDA on how to twrp recovery create please link brothersss very thankx
Click to expand...
Click to collapse
I found there's a YouTube video to tell how to compile.
https://youtu.be/WkulPr_uUqI
Linux machine required.
mingkee said:
I found there's a YouTube video to tell how to compile.
https://youtu.be/WkulPr_uUqI
Linux machine required.
Click to expand...
Click to collapse
hm i windows machine (((((((((
i find this https://www.youtube.com/watch?v=799eopwzQYg
this is good tutorial How to make Cwm or Twrp recovery for any Android device
https://www.youtube.com/watch?v=rFnG7fso9HE
How backup stock recovery ?
I am install apk flashfire and open and click backup stock recovery but failed
How to stock recovery bro?
Where is it?

10.0.5 boot.img?

Hey all! I'm trying to root my OnePlus 7t but I'm on 10.0.5 stock and I can't find a patched boot.img, or even a stock one to patch in Magisk. I'm on the global variant. If someone could point me in the right direction, that would be grand. I have already read mostly all the posts...
I have the US version which I think is also the global version. Here's my patched boot.img for 10.0.5
https://drive.google.com/file/d/12tZN5D7dmovIeqsx8sTF-B0z2gxA6LG8/view?usp=sharing
Here's the stock boot for 10.0.5 as well if you screw something up.
https://drive.google.com/file/d/1nS0hqVCyntXHjbTzOH7H8-b29-IlAOIt/view?usp=sharing
Don't ask why the file sizes are so different. It just gets smaller for some reason after patching it in magisk.
I just booted with an older one and flashed the latest magisk
Need 10.0.5 boot.img stock & magisk patched for indian varient
Hey .... Can you help me with the 10.0.5 boot.img , stock & magisk patched for indian varient HD1901 of 7t
ChongoDroid said:
I just booted with an older one and flashed the latest magisk
Click to expand...
Click to collapse
I had tried booting with 10.0.3 while on 10.0.5 , Did not turn out well .
Has anyone on 10.0.5 tried booting w/ the above 10.0.5 patched img ?
Stock and Magisk patched boot.img files for HD1905 7T update version 10.0.5:
dropbox.com/s/887ibs0yorxgs2v/boot.img?dl=0
dropbox.com/s/sxrayyjn562susu/magisk_patched.img?dl=0
SkippRunning said:
Stock and Magisk patched boot.img files for HD1905 7T update version 10.0.5:
dropbox.com/s/887ibs0yorxgs2v/boot.img?dl=0
dropbox.com/s/sxrayyjn562susu/magisk_patched.img?dl=0
Click to expand...
Click to collapse
Do I only need to flash the patched img or both ?
And do they need to be flashed to both A and B slots ?
Thanks for sharing
hightech316 said:
Do I only need to flash the patched img or both ?
And do they need to be flashed to both A and B slots ?
Thanks for sharing
Click to expand...
Click to collapse
I would try fastboot boot before you use fastboot flash just to make sure that the device will boot successfully with the images. You should only need to fastboot boot magisk_patched.img, then open Magisk Manager and install Magisk by choosing the direct install option in the list. You only need the steps I mentioned to have root, and if you flash it to A and B at once you can get stuck in a bootloop. I had that happen at one point from flashing both partitions, and I dont recommend trying it.
SkippRunning said:
I would try fastboot boot before you use fastboot flash just to make sure that the device will boot successfully with the images.
Click to expand...
Click to collapse
Thanks , this can save a headache !
hightech316 said:
Thanks , this can save a headache !
Click to expand...
Click to collapse
Ya, I tried every relevant boot image I could find in the forums, and the device didnt work properly with any of them. The only one that allowed the device to boot successfully caused the wifi and sounds to not work. So I downloaded the full update from OnePlus and extracted it to a folder, then used payload dumper to extract all of the individual images out of the payload.bin file from OnePlus. I copied the boot.img into the phone storage and installed Magisk Manager, then patched the stock boot.img and copied it from the phone to my pc. Then I used fastboot boot magisk_patched.img to make sure the image I made would work. I booted the device and inside Magisk Manager I chose direct install in the list of options and everything went smoothly, and I didnt need to rely on finding images online that would hopefully work.
smokeythebear3 said:
I have the US version which I think is also the global version. Here's my patched boot.img for 10.0.5
https://drive.google.com/file/d/12tZN5D7dmovIeqsx8sTF-B0z2gxA6LG8/view?usp=sharing
Here's the stock boot for 10.0.5 as well if you screw something up.
https://drive.google.com/file/d/1nS0hqVCyntXHjbTzOH7H8-b29-IlAOIt/view?usp=sharing
Don't ask why the file sizes are so different. It just gets smaller for some reason after patching it in magisk.
Click to expand...
Click to collapse
Thanks a bunch for the share. That was the missing piece that I've been looking for. I have the HD1905 variant and I just used Magisk to patch the stock file you provided. After testing, I'm finally rooted. Thanks again.

Dtb not found

While unlocking camera 2 api It says failed (remote:dtb not found) in fastboot boot patchedboot.img step, any idea whats wrong?I tried with latest magisk as well as with the one in the patched boot file. Bootloader is unlocked and my phone is in the latest build 11.0.4.0 stock.
Samir 120 said:
While unlocking camera 2 api It says failed (remote:dtb not found) in fastboot boot patchedboot.img step, any idea whats wrong?I tried with latest magisk as well as with the one in the patched boot file. Bootloader is unlocked and my phone is in the latest build 11.0.4.0 stock.
Click to expand...
Click to collapse
I suppose you are trying to flash the patched boot.img. If that's the case, the command is "fastboot flash boot patched_boot.img".
Neon丶 said:
I suppose you are trying to flash the patched boot.img. If that's the case, the command is "fastboot flash boot patched_boot.img".
Click to expand...
Click to collapse
Im trying to install gcam without root. It says fastboot boot patched_boot.img in every guide i have seen so far, are you sure i need to add flash? Im dont have much knowledge in these things dont want to cause problems dor my device.
Samir 120 said:
Im trying to install gcam without root. It says fastboot boot patched_boot.img in every guide i have seen so far, are you sure i need to add flash? Im dont have much knowledge in these things dont want to cause problems dor my device.
Click to expand...
Click to collapse
No, not flash. Just boot.
Sounds like you are not running the command from the folder with the patched boot file. Or the file has a different name.

root 10.5.8

For whatever reason OnePlus removed the 10.5.8 update from their server. Therefore we can't patch to boot img.
The steps I took were
1. Patch 10.5.6 boot the img in fastboot
2. Reboot into system setup magisk
3. Reboot again in fastboot
4. Boot magisk patched img
5. Go into magisk and install and choose direct install
6. Profit with a 10.5.8 device without the wifi/gps/Bluetooth issues.
Thought I'd share my experience as I bought second hand and it had the latest update and couldn't find the download link to the full system update.
Might want to mention which Magisk, the known problem with Canary?
Also why patch 10.5.6 and not 8
dladz said:
Might want to mention which Magisk, the known problem with Canary?
Also why patch 10.5.6 and not 8
Click to expand...
Click to collapse
He dont have the 10.5.8.full rom to extract and patch the img
So he probably patch the 10.5.6 img , he just boot it temporary on fastboot , going to magisk ,installing magisk and when he's rebooting , he's on 10.5.8 rooted..
Here's stock boot for 10.5.8IN11BA if anyone needs it https://mega.nz/file/sb4WwSBS#jrCL7tek0SLbynTqbPU-s_j5g0cKFRsC4u7DR7S7sCI
cultofluna said:
He dont have the 10.5.8.full rom to extract and patch the img
So he probably patch the 10.5.6 img , he just boot it temporary on fastboot , going to magisk ,installing magisk and when he's rebooting , he's on 10.5.8 rooted..
Click to expand...
Click to collapse
Can't you get it from the updater?
dladz said:
Can't you get it from the updater?
Click to expand...
Click to collapse
Not if you have already updated via the OTA..
He probably got the OTA ( full zip) install it and then boot it..
If you've updated via local upgrade , then the full ROM zip has been saved on internal storage ...
But the easiest way to update and keep root is to just take the ota through the updater..dont reboot go to magisk manager , install magisk on inactive slot , ...done...
Patched img only needed to root after unlocking bootloader ..
Not anymore....
Bought the device updated already and can't find the 10.5.8AA build at all on OnePlus
facing the same issue... if anyone have the 5.8 aa it would be a great help <3
empreror said:
facing the same issue... if anyone have the 5.8 aa it would be a great help <3
Click to expand...
Click to collapse
Patch the 10.5.6 boot IMG and the fastboot boot <patchedmagisk.img>
Setup magisk and reboot into bootloader again to boot the patched image
Then go into magisk and do direct install and finally have working wifi etc.
10.5.8AA Oneplus Pro8 boot.img
https://sourceforge.net/projects/op8pro1058aa/files/10.5.8AA.img/download
bigjailerman said:
10.5.8AA Oneplus Pro8 boot.img
https://sourceforge.net/projects/op8pro1058aa/files/10.5.8AA.img/download
Click to expand...
Click to collapse
Is this the stock boot.img or rooted patched img?
Aporzio said:
Is this the stock boot.img or rooted patched img?
Click to expand...
Click to collapse
Tried it, it's patched.
Aporzio said:
Is this the stock boot.img or rooted patched img?
Click to expand...
Click to collapse
Yes it is patched...sorry for delay
bigjailerman said:
Yes it is patched...sorry for delay
Click to expand...
Click to collapse
Not a problem. I'm glad you didn't answer lol. I ended up teaching myself how to pull the img files from a payload.bin.
JKurtz87 said:
Patch the 10.5.6 boot IMG and the fastboot boot <patchedmagisk.img>
Setup magisk and reboot into bootloader again to boot the patched image
Then go into magisk and do direct install and finally have working wifi etc.
Click to expand...
Click to collapse
Can you be please more specific? I am new here and want to know what does it mean boot temporarily ? This command will boot your device temporray and after reboot it disappear ?
fastboot boot <patchedmagisk.img>

Stock Android 10 + patched lib for GCam + magisk patched kernel + soft

Here all what you need for flash to android 10.
kdz 30b from open_eu_dec
patched lib for gcam
magisk patched kernel
qpst 2.7.480
lgup patched
Link: https://drive.google.com/drive/folders/1mm06fCdJqzPgjTH1yhJhCemzjbG-qBCI?usp=sharing
After cross flashing I got a warning after boot
"current version not available for user. Can't find matched carrier. Check NT code : FFFFFF : 72" .
I keep getting the message each time I boot my phone. Asides that, every thing works perfectly. Please how do I get rid of that message?
Thanks you for your help.
xenius9 said:
Here all what you need for flash to android 10.
kdz 30b from open_eu_dec
patched lib for gcam
magisk patched kernel
qpst 2.7.480
lgup patched
Link: https://drive.google.com/drive/folders/1mm06fCdJqzPgjTH1yhJhCemzjbG-qBCI?usp=sharing
Click to expand...
Click to collapse
Thank you very much for the contribution of the camera!
Do you have any version of Gcam + xml to make all the cameras work and have good results?
Instructions? Thanks! I have att crossflashed to stock. Rooted
Hi good day. :fingers-crossed:
works for model v405ua sprint?
Buen dia. :fingers-crossed:
funciona para versión v405ua sprint?
how to
Hello Xenius what are the steps to corectly flash without have a new encryption and without lost internal data ?
Regards
Curtis
xenius9 said:
Here all what you need for flash to android 10.
kdz 30b from open_eu_dec
patched lib for gcam
magisk patched kernel
qpst 2.7.480
lgup patched
Link: https://drive.google.com/drive/folders/1mm06fCdJqzPgjTH1yhJhCemzjbG-qBCI?usp=sharing
Click to expand...
Click to collapse
Hi, does this mean android 10 rooted stockrom? Instructiins please
manliketega said:
After cross flashing I got a warning after boot
"current version not available for user. Can't find matched carrier. Check NT code : FFFFFF : 72" .
I keep getting the message each time I boot my phone. Asides that, every thing works perfectly. Please how do I get rid of that message?
Thanks you for your help.
Click to expand...
Click to collapse
you need to change nt-code in oem op cust_path_mapping.cfg
change in file 11 to 72
Can't root. Bootloop on booting magisk prepatched
Hy Guys. After booting prepatched magisk boot image, phone bootloop on lg logo? Any ideas?
xenius9 said:
you need to change nt-code in oem op cust_path_mapping.cfg
change in file 11 to 72
Click to expand...
Click to collapse
How do i go about that please.
xenius9 said:
you need to change nt-code in oem op cust_path_mapping.cfg
change in file 11 to 72
Click to expand...
Click to collapse
Can it be changed without being root?
Would it be any problem if I left it like that?
Can't root. Stuck on LG Logo after booting magisk prepatched
Hy Guys! I can't root. Stuck on LG Logo after booting magisk prepatched boot.img.
Anyone some ideas?
Marrypo said:
Hy Guys! I can't root. Stuck on LG Logo after booting magisk prepatched boot.img.
Anyone some ideas?
Click to expand...
Click to collapse
Marrypo said:
Hy Guys. After booting prepatched magisk boot image, phone bootloop on lg logo? Any ideas?
Click to expand...
Click to collapse
The fix I had was to flash the ablpiestockimg from the unlock bootloader page. You have to load the v35 engineering img first before you can flash the ablpiestock.img though. That should allow you to finally load the magisk prepatched img allowing you to root.
Hi, thank you for your work!
What's the procedure to get Magisk with root installed on my EU V40 with unlocked bootloader and Android 10? Thanks!
I have flashed android 10 on my 405ebw using lgup dual mode dev
How can i root&magisk?
Thanks!
xenius9 said:
Here all what you need for flash to android 10.
kdz 30b from open_eu_dec
patched lib for gcam
magisk patched kernel
qpst 2.7.480
lgup patched
Link: https://drive.google.com/drive/folders/1mm06fCdJqzPgjTH1yhJhCemzjbG-qBCI?usp=sharing
Click to expand...
Click to collapse
can you provide a step by step guide?
Steps I took
If I did too many steps, sorry, but I couldnt move on to fastboot right away and overwrite the boot.img etc, so some of this is trial and error for me...
I was already rooted and I did with LGUP - Partition DL and skipped the ABL a and b and laf a and b.
Then I booted into 9008 (reboot with usb plugged in and holding vol - and power and tapping fast vol + until you hear it disconnect from your computer and go black screen) and cleared laf_a.
Then I rebooted to fastboot and ran "fastboot boot c:\adb\boot.img", where boot.img is your magisk kernel on your computer.
Then i rebooted and installed magisk manager, then I used magisk manager to install Magisk kernel.
After all that I did the magisk "GPay SQLite Fix", "MagiskHide Props Config", and "Google Dialer Framework" to fix google pay, my phone id, and be able to use google phone app. If any of these steps make no sense, I will try to break it apart more, but it was a couple weeks ago for me. And I wasn't ever able to get rid of the flag that comes up after boot by writing to the oem file, but it has no affect.
Thanks,
Andrew
Can I flash it without bootloader unlock?
Will it work on LG V405UA?

Categories

Resources