Related
Is it specific for each device? Or does it depend only on finding the correct partition/block to be extracted?
Could you point me to further readings about that?
Thanks.
It is at least device specific, for extracting the bootimage, check this http://forum.xda-developers.com/showthread.php?t=1951426
Sent from my Acer Cloudmobile S500
IF YOU THINK I MADE SOME SENSE, PLEASE HIT THE THANK BUTTON !!!
What if everything is an illusion, and nothing exists?
In that case, I definitely overpaid my carpet....!
DopeyTheOne said:
It is at least device specific, for extracting the bootimage, check this http://forum.xda-developers.com/showthread.php?t=1951426
Sent from my Acer Cloudmobile S500
IF YOU THINK I MADE SOME SENSE, PLEASE HIT THE THANK BUTTON !!!
What if everything is an illusion, and nothing exists?
In that case, I definitely overpaid my carpet....!
Click to expand...
Click to collapse
Well, that link is to proceed AFTER you have boot.img at hand. I want to find a way to extract it from my phone (assuming default.prop can be changed in there).
Thanks.
When you make a back up with CWM, you have a copy of your bootimage in the clockworkmod map, not?
That's the thing ... I am trying to figure out how to get that backup in hand at first.
Currently, following the method in http://droidcore.blogspot.com.br/2012/12/how-to-edit-initrc-in-android.html
It seems to use the same scripts as cited in your link.
Will post results afterwards.
Don't make things more complicated as they are. If you just install CMW recovery (or TWRP for that matter) for your device, you have your full backup in minutes, including one of your bootimage, then use the script from my first post.
I managed to find boot.img, made the necessary changes, sent it back to device (used MPK Rom Studio and SP Flash Tool).
The problem is, the reason I want to change boot.img is to root my device. I thought that disabling ro.secure, I would be able to do so. But I couldn't.
I believe cmw recovery, or twrp, both need my phone to be rooted, no?
MrCabana said:
I managed to find boot.img, made the necessary changes, sent it back to device (used MPK Rom Studio and SP Flash Tool).
The problem is, the reason I want to change boot.img is to root my device. I thought that disabling ro.secure, I would be able to do so. But I couldn't.
I believe cmw recovery, or twrp, both need my phone to be rooted, no?
Click to expand...
Click to collapse
I used a CWM image to root my device. Booted up with that image, and flashed SU....after that you can use su, and apparantly, with the changes you made with your bootimage...you'll be like God on your phone
Sent from my S500 using xda app-developers app
I have the same problem, I need the boot image of my device to root it using magisk manager, but I can't find it.
Help!!!!!
Hey simply extract the boot.img from the stock firmware if your device is not rooted......
I think this only possible when you have root..
It is also not possible with adb without root...so
If your device is rooted with magisk then untouched boot.img is placed in /data folder as stock.xxxx.gz format and simply extract it....
If your device is rooted with one click root apps then download kernel auditor app and select backup option and the boot.img will be available in android/data/ kernel auditor specific folder....
Hope this help
Edit:- If your device is Mediatek, using SP Flash Tool you can readback. If you have Snapdragon, then bkerler's edl tool can readback. (No need of root)
HemanthJabalpuri said:
Hey simply extract the boot.img from the stock firmware if your device is not rooted......
If your device is rooted with magisk then untouched boot.img is placed in /data folder as stock.xxxx.gz format and simply extract it....
If your device is rooted with one click root apps then download kernel auditor app and select backup option and the boot.img will be available in android/data/ kernel auditor specific folder....
Hope this help
Click to expand...
Click to collapse
Do you mean the stock firmware on the device, where is this located? or do you mean from the vendors web page?
bromeara said:
Do you mean the stock firmware on the device, where is this located? or do you mean from the vendors web page?
Click to expand...
Click to collapse
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
HemanthJabalpuri said:
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
Click to expand...
Click to collapse
Alright thank you. I'm fairly new to the android ecosystem and to boot I'm working on a Fire tablet so its running fireos and amazon doesn't really make it easy to touch their code
think he is facing the same situation as mine, for hk version of htc u12+, its hard to find the proper RUU or firmware from internet. Just wanna know the method of ...pulling the boot.img directly from device. Thanks in advance for any assistance.
HemanthJabalpuri said:
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
Click to expand...
Click to collapse
Vita.T said:
Just wanna know the method of ...pulling the boot.img directly from device. Thanks in advance for any assistance.
Click to expand...
Click to collapse
Hey simply extract the boot.img from the stock firmware if your device is not rooted......
I think this only possible when you have root..
It is also not possible with adb without root...so
If your device is rooted with magisk then untouched boot.img is placed in /data folder as stock.xxxx.gz format and simply extract it....
If your device is rooted with one click root apps then download kernel auditor app and select backup option and the boot.img will be available in android/data/ kernel auditor specific folder....
Hope this help
Edit:- If your device is Mediatek, using SP Flash Tool you can readback. If you have Snapdragon, then bkerler's edl tool can readback. (No need of root)
HemanthJabalpuri said:
Bro it mean download the firmware from internet for your mobile and simply extract it...
Then you can find the boot.img
Click to expand...
Click to collapse
It's not that simple though, firmware comes in KDZ extension..have to extract using Extraction tool & even then extracted files are in .BIN extension..Boot.img is not available immediately after DZ extraction
dano.556 said:
It's not that simple though, firmware comes in KDZ extension..have to extract using Extraction tool & even then extracted files are in .BIN extension..Boot.img is not available immediately after DZ extraction
Click to expand...
Click to collapse
Ok....
I am assuming that the op has a samsung device....
Same Problem
Loku_kika said:
I have the same problem, I need the boot image of my device to root it using magisk manager, but I can't find it.
Help!!!!!
Click to expand...
Click to collapse
The Boot Image for oppo ax7 isn't available so i am trying to find aswell, OR i need help: taking the boot.img off my unrooted, non bootloader unlocked phone. Or extracting it from the stock ROM, unfortunately i'm not ble to open oppo's OFP file.
Lloydster said:
The Boot Image for oppo ax7 isn't available so i am trying to find aswell, OR i need help: taking the boot.img off my unrooted, non bootloader unlocked phone. Or extracting it from the stock ROM, unfortunately i'm not ble to open oppo's OFP file.
Click to expand...
Click to collapse
just google "Latest Software Version for OPPO OPPO AX7" and go to the Software Updates page on oppo-uk.custhelp.com. Download 2.4GB ozip file (like CPH1903EX_11_OTA_0210_all_oStq7F7jxqfF.ozip) and unpackit with 7zip program. You'll find boot.img inside .ozip file.
I do not have root, there is no recovery or rom for my phone, Can I extract the boot.img from my phone storage, to patch it with Magisk?
I am going to do an experiment(flashing TWRP.img on boot partition and trying to root.) to backup stock recovery.img of Lollipop 5.1. To do this, I need stock boot.img(Kernel Version: 3.4.42-gccbac57) of system version 23.26.2. If there's someone who rooted system version 23.26.2 then take backup of boot.img using Rashr App(Download from here forum.xda-developers.com/showthread.php?t=2334554 ) and post that stock boot.img here.
If this experiment succeed then I will post stock recovery.img of lollipop 5.1.
UPDATE: I'm not going to do this experiment because temporary booting of twrp is now working on moto e. We can root device by temporary booting twrp and backup stock recovery.img
isn't there anyone who rooted 23.26.2 ?
I have 23.21.34 version i can give you if you want...
cksup said:
I have 23.21.34 version i can give you if you want...
Click to expand...
Click to collapse
It's simple, you just have to extract the boot.img from any ota zip (suggested the official OTA zip)
Do that and give him then.......it will be very good if he can make the 5.1 stock recovery
cksup said:
Do that and give him then.......it will be very good if he can make the 5.1 stock recovery
Click to expand...
Click to collapse
First of all, you must clarify who is referred to as 'him'?
Secondly, there is no method(according to me) by which you can make a stock recovery from a stock kernel. There are two files namely the boot.img and the recovery.img.
First one is the kernel and the second one is the recovery.
Use the ones you like.
Him meant the op
I don't know if one can make recovery from boot.img.......The op didn't say that either....He said and i quote "I am going to do an experiment to backup stock recovery.img of Lollipop 5.1. To do this, I need stock boot.img(Kernel Version: 3.4.42-gccbac57) of system "
So i thought by using some process he may be able to back up stock recovery....that is why i said like that
and BTW where are those .img files available @Rohitagni
cksup said:
Him meant the op
I don't know if one can make recovery from boot.img.......The op didn't say that either....He said and i quote "I am going to do an experiment to backup stock recovery.img of Lollipop 5.1. To do this, I need stock boot.img(Kernel Version: 3.4.42-gccbac57) of system "
So i thought by using some process he may be able to back up stock recovery....that is why i said like that
and BTW where are those .img files available @Rohitagni
Click to expand...
Click to collapse
U can find them in any zipped firmware files. By zipped firmware files, I mean the zips for stock firmware, or the update zips that many XDA users capture here from their rooted phones to help users who haven't received the OTA, enjoy the new OS, simply by sideloading.
cksup said:
I have 23.21.34 version i can give you if you want...
Click to expand...
Click to collapse
Thanks, but I want 23.26.2 version boot.img.
Rohitagni said:
It's simple, you just have to extract the boot.img from any ota zip (suggested the official OTA zip)
Click to expand...
Click to collapse
I think, we can't extract boot.img from ota zip.
Rohitagni said:
First of all, you must clarify who is referred to as 'him'?
Secondly, there is no method(according to me) by which you can make a stock recovery from a stock kernel. There are two files namely the boot.img and the recovery.img.
First one is the kernel and the second one is the recovery.
Use the ones you like.
Click to expand...
Click to collapse
I'm not making recovery.img from boot.img. I will use boot.img to make my device functional again because I'm going to flash TWRP.img on boot partition and try to root. If device gets root access then I can backup stock recovery.img because stock recovery.img is not over written in process of rooting.
I hope you succeed.........I try to get it from someone
And no @Rohitagni you can't extract boot.img from uploaded update zips but from full firmware zips,yes which is not available
I just saw in general section someone uploaded twrp backup of stock latest 5.1......I can flash that and give the boot.img tomorrow @EthicalHacker
cksup said:
I hope you succeed.........I try to get it from someone
And no @Rohitagni you can't extract boot.img from uploaded update zips but from full firmware zips,yes which is not available
I just saw in general section someone uploaded twrp backup of stock latest 5.1......I can flash that and give the boot.img tomorrow @EthicalHacker
Click to expand...
Click to collapse
I am extremely sorry, for misleading you guys! I just found out that the fsg.bin and the gpt.bin (with logo.bin, etc) are the only things that are available in those zips. So yes, @cksup, you are correct. Please provide him with the kernel, so that miracles can happen
cksup said:
I hope you succeed.........I try to get it from someone
And no @Rohitagni you can't extract boot.img from uploaded update zips but from full firmware zips,yes which is not available
I just saw in general section someone uploaded twrp backup of stock latest 5.1......I can flash that and give the boot.img tomorrow @EthicalHacker
Click to expand...
Click to collapse
That's fine.
I think, the twrp backup; you're talking about is Brazilian. So be careful.
any one found the way to flash twrp on stock 5.1 lollipop previous method don't work.
Ansh2000 said:
any one found the way to flash twrp on stock 5.1 lollipop previous method don't work.
Click to expand...
Click to collapse
Use latest twrp.img and SuperSU zip to root.
And if you have 23.26.2 version then you may help me by posting stock boot.img here.
check out #1st post of this thread.
EthicalHacker said:
Use latest twrp.img and SuperSU zip to root.
And if you have 23.26.2 version then you may help me by posting stock boot.img here.
check out #1st post of this thread.
Click to expand...
Click to collapse
Yes I am on 23.26.2 version but unable to flash. twrp, tried all version of twrp but result is same.
Ansh2000 said:
Yes I am on 23.26.2 version but unable to flash. twrp, tried all version of twrp but result is same.
Click to expand...
Click to collapse
Use twrp 2.8.7 recovery
forum.xda-developers.com/moto-e/orig-development/recovery-twrp-2-8-6-0-touch-recovery-t3100879
with following root guide
forum.xda-developers.com/showthread.php?t=2755336
Ansh2000 said:
Yes I am on 23.26.2 version but unable to flash. twrp, tried all version of twrp but result is same.
Click to expand...
Click to collapse
Hey before you flash TWRP can you do something ....... can you dump for recovery partition and save it in sd card and post it here ....
hey i have a XT1025 on the 5.1 ota update, untouched, and how can i root my device?
cksup said:
Hey before you flash TWRP can you do something ....... can you dump for recovery partition and save it in sd card and post it here ....
Click to expand...
Click to collapse
We can't dump stock recovery without root access and moto e has only one rooting method which is flashing custom recovery on recovery partition. It means we lose stock recovery when we get root access.
That's why I'm taking risk of above mentioned experiment to backup stock recovery.
lnasc256 said:
hey i have a XT1025 on the 5.1 ota update, untouched, and how can i root my device?
Click to expand...
Click to collapse
Check out post no. #16 of this thread.
I have a backup of stock 5.1( 23.26.2) kernel and recovery, I took backup from rashr app after rooting my moto e, and I didnt flash twrp for rooting I boot into twrp, should I upload stock kernel or recovery?
Sent from my Xperia E3 using XDA Free mobile app
Tested only in Xperia M4 Aqua E2303, you need UNLOCKED BOOTLOADER,steps:
1. download this recovery (thanks to @dani020110 and your corresponding boot (rename it to boot.img):
FOR E2303.
FOR E2333
FOR E2306
FOR E2353
FOR E2312
2. copy them inside the adb folder and boot into fastboot mode, type in the shell:
Code:
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot
3. let the phone booting ,shut down and boot again in fastboot mode then:
Code:
fastboot devices
fastboot flash boot boot.img
fastboot reboot
Now you have ROOT WITH LATEST SUPER SU 2.76 and custom Recovery.ENJOY
at you own risk .
Going to try that out tomorrow morning, it is already late in my country. But thanks you're a livesaver!
Ummm I need permission to access the site by the owner?
You havent made files on google disk public. We cant download anything.
Can't access files on google disk.
Download is public now, sorry
PiSpecialist said:
Download is public now, sorry
Click to expand...
Click to collapse
Thanks. I will try it now, and write a feedback.
For the dual sim version i need the kernel.img from the device if anyone can upload it is about 40mb.
Thanks, It works!
Works great ,no problems at all.
What version of T.W.R.P is this?
George0501 said:
What version of T.W.R.P is this?
Click to expand...
Click to collapse
3.0.0.2
MK99 said:
Thanks, It works!
Click to expand...
Click to collapse
DiveNNN said:
Works great ,no problems at all.
Click to expand...
Click to collapse
PRESS THANKS BUTTON AND ENJOY.:good:
PiSpecialist said:
3.0.0.2
Click to expand...
Click to collapse
That's great! How did you get it working? And also, is there any way of making it for locked bootloaders aswell?
george0501 said:
that's great! How did you get it working? And also, is there any way of making it for locked bootloaders aswell?
Click to expand...
Click to collapse
for locked bootloader we can't flash the recovery via fastboot, must includes both recovery and root in the rom.
But is it possible (for locked bootloader) to update using a pre-rooted zip with the old recovery? Or flashtool is needed to update something at bootloader level?
Hmm... Looks like i cant get root access, SuperSU app is working and everything but other apps cant get root access.
jrazvan said:
But is it possible (for locked bootloader) to update using a pre-rooted zip with the old recovery? Or flashtool is needed to update something at bootloader level?
Click to expand...
Click to collapse
of course they can flash prerooted stock rom with a working recovery.
DiveNNN said:
Hmm... Looks like i cant get root access, SuperSU app is working and everything but other apps cant get root access.
Click to expand...
Click to collapse
everything work here.
PiSpecialist said:
of course they can flash prerooted stock rom with a working recovery.
everything work here.
Click to expand...
Click to collapse
Maybe its because i was flashing SuperSU zip before
DiveNNN said:
Maybe its because i was flashing SuperSU zip before
Click to expand...
Click to collapse
install busybox from playstore and report back
PiSpecialist said:
install busybox from playstore and report back
Click to expand...
Click to collapse
Just loading doesnt even ask me for root access. Looks like something is fcked up at my side. I tried reflashing still same. I will try reflashing firmware.
hi there.
soooo I kinda bricked my mate 10 lite (RNE-L21C432)
bootloader is unlocked, rooted.
I tried flashing a flashable rom and got a bootloop...sooooo
I downloaded the firmware via huawei firmware finder , the oreo one.
I opened the UPDATE.APP via huawei update extractor, there are alot of files, so can you please tell me what files I need to extract and flash to unbrick my phone?
I extracted system, kernel, vendor and odm for now, system flashed fine. but I cant flash kernel it gives me the error FAILED: remote: command not allowed
can you pleaste help me?
Edit: I can flash system, I did flash kernel, I can flash recovery too, but when I try to flash anything else, it gives me that error
Edit2: can someone tell me which files do I need to extract via huawei update extractor to flash? I know that system.img is one of them
konopla4 said:
hi there.
soooo I kinda bricked my mate 10 lite (RNE-L21C432)
bootloader is unlocked, rooted.
I tried flashing a flashable rom and got a bootloop...sooooo
I downloaded the firmware via huawei firmware finder , the oreo one.
I opened the UPDATE.APP via huawei update extractor, there are alot of files, so can you please tell me what files I need to extract and flash to unbrick my phone?
I extracted system, kernel, vendor and odm for now, system flashed fine. but I cant flash kernel it gives me the error FAILED: remote: command not allowed
can you pleaste help me?
Click to expand...
Click to collapse
Check if you're still FRP unlock in Fastboot.
ante0 said:
Check if you're still FRP unlock in Fastboot.
Click to expand...
Click to collapse
Both bootloader and from are unlocked
konopla4 said:
Both bootloader and from are unlocked
Click to expand...
Click to collapse
Ah, didn't see your edit.
Fastboot is limited in flashing, you can't flash everything.
From memory I think it is:
System, vendor, recovery_ramdisk, recovery_vendor, recovery_vbmeta, ramdisk, kernel, cache, userdata
You could use HWOTA for Mate 10 Lite if you can get into stock recovery, as it will flash the full update.app rather than the limited partitions fastboot can flash.
https://forum.xda-developers.com/ma...development/hwota-huawei-mate10-lite-t3777115
ante0 said:
Ah, didn't see your edit.
Fastboot is limited in flashing, you can't flash everything.
From memory I think it is:
System, vendor, recovery_ramdisk, recovery_vendor, recovery_vbmeta, ramdisk, kernel, cache, userdata
Click to expand...
Click to collapse
So I can flash all of these without getting the error and it'll will restore my system?
I remember on p8 lite I needed to flash only system, boot, and cust. To restore the system. It was much easier.
konopla4 said:
So I can flash all of these without getting the error and it'll will restore my system?
I remember on p8 lite I needed to flash only system, boot, and cust. To restore the system. It was much easier.
Click to expand...
Click to collapse
Edited while you posted, use HWOTA if you can get into stock recovery
https://forum.xda-developers.com/ma...development/hwota-huawei-mate10-lite-t3777115
ante0 said:
Edited while you posted, use HWOTA if you can get into stock recovery
https://forum.xda-developers.com/ma...development/hwota-huawei-mate10-lite-t3777115
Click to expand...
Click to collapse
Yeah, just noticed.
So hwota. I don't have the "stock recovery" I can only flash the recovery that I extract from update.app
The one I flash is bugged for some reason, probably because it's from a slightly different system than the one I had.
konopla4 said:
Yeah, just noticed.
So hwota. I don't have the "stock recovery" I can only flash the recovery that I extract from update.app
The one I flash is bugged for some reason, probably because it's from a slightly different system than the one I had.
Click to expand...
Click to collapse
If it can be booted into it should work. HWOTA will replace it anyway with a no-check recovery. Or you could use TWRP by Caucava21 and use HuRUpdater (https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279) to update from TWRP.
Either way will work.
ante0 said:
If it can be booted into it should work. HWOTA will replace it anyway with a no-check recovery. Or you could use TWRP by Caucava21 and use HuRUpdater (https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279) to update from TWRP.
Either way will work.
Click to expand...
Click to collapse
Waaaait it, I can update from TWRP?
Or is it a specialized one?
konopla4 said:
Waaaait it, I can update from TWRP?
Or is it a specialized one?
Click to expand...
Click to collapse
It's a script, but it needs a TWRP that's compatible. The one by Catuva21 is (or so I've heard).
Hi to all guys.
I have a problem, I would like to install twrp and gsi on my phone but I have been trying for now 1 week without success.
has any of you successfully installed a gsi on this mobile phone? s10 lite 2020 g770f?
I state I am with android 11 stock and bootloader already unlocked
thank s to all
maekonexus said:
Hi to all guys.
I have a problem, I would like to install twrp and gsi on my phone but I have been trying for now 1 week without success.
has any of you successfully installed a gsi on this mobile phone? s10 lite 2020 g770f?
I state I am with android 11 stock and bootloader already unlocked
thank s to all
Click to expand...
Click to collapse
What if you click DSU loader in developer options
LR7875 said:
What if you click DSU loader in developer options
Click to expand...
Click to collapse
What do you mean dsu loader in developer optional im a italian guy
maekonexus said:
What do you mean dsu loader in developer optional im a italian guy
Click to expand...
Click to collapse
Click 7 times build number in settings> about phone. Then click on two times back button. Select developer options.
Click into it and find 'DSU loader' or 'Dynamic system updates'.
If you can't find it find 'feature flags ' and set what with the word 'dynamic' in it as on.
i find it, but it says experimental.
what can i do?
maekonexus said:
i find it, but it says experimental.
what can i do?
Click to expand...
Click to collapse
Just enable it
LR7875 said:
Just enable it
Click to expand...
Click to collapse
How i enable it?
Oh I see, your oem unlock is greyed out, did you unlock your bootloader?
Yes i unlocked the bootloader, when i power on the phone it turns out that this phone has the bootloader unlocked
Sorry but you need to have TWRP recovery software to flash one as you do not have dynamic system updates.
You will need to wait.
LR7875 said:
Sorry but you need to have TWRP recovery software to flash one as you do not have dynamic system updates.
You will need to wait.
Click to expand...
Click to collapse
But i can install twrp but the system.img doesn't work
*This is likely to brick your device. Make sure that you can reflash stock ROM (www.samfw.com) and make sure to backup. Only install if you really have to. I was not responsible as you have been warned!
Well last resort:
Install 7zip.
Download
Rename your GSI as system.img. This is a must.
Open 7zip. If you can't just find C:\program files/7zip/7zFM.exe. and click on it and 7zip will open.
Navigate to your GSI (system.img).
Click on the system.img and select files, then 7zip, then add to archive.
A window will pop up. Select .TAR as the compression format and click compress.
After that,
Just flash your .tar via Odin.
Aaaahhh
LR7875 said:
*This is likely to brick your device. Make sure that you can reflash stock ROM (www.samfw.com) and make sure to backup. Only install if you really have to. I was not responsible as you have been warned!
Well last resort:
Install 7zip.
Download
Rename your GSI as system.img. This is a must.
Open 7zip. If you can't just find C:\program files/7zip/7zFM.exe. and click on it and 7zip will open.
Navigate to your GSI (system.img).
Click on the system.img and select files, then 7zip, then add to archive.
A window will pop up. Select .TAR as the compression format and click compress.
After that,
Just flash your .tar via Odin.
Click to expand...
Click to collapse
Ok i should flash the system.img = tar wiht odin?no twrp?
So i flash only system.img = tar and Nothing?
maekonexus said:
Aaaahhh
Ok i should flash the system.img = tar wiht odin?no twrp?
So i flash only system.img = tar and Nothing?
Click to expand...
Click to collapse
Yes
LR7875 said:
Yes
Click to expand...
Click to collapse
are you sure I don't have to flash vbmeta or twrp first? I have to flash the .tar so without doing anything? from stock rom with unlocked bootloader I go to download mode and flash the .tar?