[Q] Need new alcatel boot.img (from sourcecode?) - Android Q&A, Help & Troubleshooting

Hello there,
I accidentally flashed a wrong boot.img with sp flash tool. I can still acces CWM based recovery. I do not have a ROM or boot.img backup and was unable to find either one online. The phone is an Alcatel one touch 916D, since Alcatel is open source, I downloaded the source code something.xz file (sourceforge.net/projects/alcatel/files/OT_991D_20120718.tar.xz/download), it should be possible to flash this to my phone using Odin right? I tried so, but Odin does not detect my phone. So I was wondering, is it perhaps possible to extact/create a boot.img from the source code file I have? I unzipped it and there are the folders kernel, mediatek and webkit. I have not found a boot.img anywhere in the files. I hope someone is able to help me.
thank you,
Jeroen
PS: If someone has the boot.img or can extract it from his/her phone that'd be even better

Related

[Q] How to extract boot.img from my device?

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?

[Q] [Request] Stock ROM Alcatel OT Flash 6042D

Does anyone have or can get the stock rom of Alcatel OT Flash 6042D? Thanks.
stil looking for the same stock rom. Does anyone have it? Thanks.
reboxyde said:
stil looking for the same stock rom. Does anyone have it? Thanks.
Click to expand...
Click to collapse
let's discuss this here:
http://forum.xda-developers.com/android/help/root-request-alcatel-one-touch-flash-4-t2949466
Hi,
I tried uploading back up of rom taken from SP flash tool but file size is huge around 1.6GB. Alternatively CWM back up is small size of 333MB so you can use cwm back up to flash your phone. the link to download rom is as follows: -
https://drive.google.com/uc?export=download&id=0B6hkMCWEBsEPQy03SnBWNlNLUXM
Just extract the folder and store in your sd card. Do not overwrite or rename any file. than flash cwm recovery using sp flash tool. use this guide to flash cwm if you don't how how to do the same:-
for rooted phone: -
http://www.theandroidhow.com/2014/0...cwm-recovery-any-mediatek-android-device.html
for unrooted phone: -
http://www.theandroidhow.com/2014/05/how-to-make-flash-cwm-recovery-without.html
if you need scatter file or stock recovery file for onetouch flash than you can download it from here: -
https://drive.google.com/uc?export=download&id=0B6hkMCWEBsEPU090UGtYT05hWnM&authuser=0
Hello. Did you check if the bakup is working? Did you do a recovery from it at least once? I tried to install your backup on a TCL S720 phone which is the same phone (95% sure....) and it didn't work. It said on CWM recovery "Flash failed". I want to mention that the rom files you uploaded should be in the root of the zip file not in a directory. I've archived the file directly in the root and it didn't work. Any idea? Could you upload the whole rom, the 1.6 GB one and paste the link here please? I know many people is looking for it. Thank you.
tcl s720
I restored this nandroid from alcatel ot flash 6042d on to my TCL S720
The restore process went well,no errors,but the rom is not booting it is in a boot loop.
I tried substituting boot.img from tcl s720 but no luck,I even tried patched boot.img,no luck either.
So,I hope someone with mad porting skillz will be able to port this alcatel 6042d rom to tcl s720.
@jhalife
If you can upload the whole backup 1.6gb made with sp flash tool I will be very grateful and many other TCL S720 will be grateful also
Thanks
Hi, i can do that but i will take sometime. atlst 2 wknds. Will try doing that this saturday my net speed is slow so giv me smtime
Need CWM recovery file
jhalife said:
Hi,
I tried uploading back up of rom taken from SP flash tool but file size is huge around 1.6GB. Alternatively CWM back up is small size of 333MB so you can use cwm back up to flash your phone. the link to download rom is as follows: -
*url*
Just extract the folder and store in your sd card. Do not overwrite or rename any file. than flash cwm recovery using sp flash tool. use this guide to flash cwm if you don't how how to do the same:-
for rooted phone: -
*url*
for unrooted phone: -
*url*
if you need scatter file or stock recovery file for onetouch flash than you can download it from here: -
*url*
Click to expand...
Click to collapse
Hey Jhalife,
Could you send the CWM Recovery because my phone is bricked and I can't possibly make a custom recovery at this stage. I have a TWRP so I can install CWM Recoveries.

[Q] HTC Desire 320 Bootloop (boot.img needed)

Hello guys, i have this Telus Desire 320 (MTK 6582) in bootloop because a wrong build.prop perms, rigth now i dont have any backup avaliable or the stock rom image for flash it via SP Flash Tools. Im thinking in generate a custom recovery (cwm or twrp) and flash it, and the fix the perms and with the phone OS full booted take a nandroid backup, but before i need the stock boot.img and the scatter file, can somebody help me to find that resources...
frankqba90 said:
Hello guys, i have this Telus Desire 320 (MTK 6582) in bootloop because a wrong build.prop perms, rigth now i dont have any backup avaliable or the stock rom image for flash it via SP Flash Tools. Im thinking in generate a custom recovery (cwm or twrp) and flash it, and the fix the perms and with the phone OS full booted take a nandroid backup, but before i need the stock boot.img and the scatter file, can somebody help me to find that resources...
Click to expand...
Click to collapse
I have someone's phone with the same problem.. Were you able to get a scatter file, a kernel (boot.img) and a system.img? He wasn't modifying the phone, just using it and it just boot loops. If I had the phone when he bought it I would have backed up everything.
dechronic said:
I have someone's phone with the same problem.. Were you able to get a scatter file, a kernel (boot.img) and a system.img? He wasn't modifying the phone, just using it and it just boot loops. If I had the phone when he bought it I would have backed up everything.
Click to expand...
Click to collapse
Sorry, out 4 work the past month , u can get the scatter file and everything else for the eur version from any site, just google it, but if ur version is the US (4gb/521 ram), i only find the stock rom in a paid website.
frankqba90 said:
Sorry, out 4 work the past month , u can get the scatter file and everything else for the eur version from any site, just google it, but if ur version is the US (4gb/521 ram), i only find the stock rom in a paid website.
Click to expand...
Click to collapse
I don't know if this is too late but there you go : http://forum.xda-developers.com/showpost.php?p=64659997&postcount=16

Files to Flashtools

Sorry if this post is not in the correct subforum but I think this is the right place. If not please, a moderator can put it in the correct place. I readed the ROM from my phone (MTK6572) with MTK Droid tools and I made a backup of my ROM. I loaded it again in my phone and it works without problem. Now I'm trying to make changes to the ROM. Change the build.prop and install an apk. I use MTK Thai Developer Tools to unpack my system.img and I'm able to do it without problems. Afther make the changes I repack the file with the same tool and I get a file called system_ext4_new.img without errors or warnings. Now I rename the file to system.img and overwrite the original system.img in the folder "!Files_to_flashtool". I'm able to write the ROM back to my phone with SP Flashtools but the phone doesn't work. It try to start but get stuck and I have to remove the battery. I have tryed to simply unpack my system.img and repack it whitout changes but the problem still remains. So I'm thinking that the file that I get from MTK Thai Tools can't be used in a ROM that will be flashed with SP Flashtools. What I'm doing wrong?. I need another tools to repack my system.img and use it with SP Flashtools?
Sorry if the question was already answered but I'm seaching over the forum and I found no answer.
Thanks in advance.
P.D. Sorry I forgot to say that the ROM is from Android 5.1

Root for Asus Zenfone 3 Max

Hello,
I've been recently trying to root my Asus Zenfone 3 Max (ZC520TL) using SP Flash tool,
however, I haven't found the correct scatter file for my device. Does anyone know where
I could find a MT6737 scatter file? Thanks in advance!
Hi. From my experience, correct scatter files that work (not just any random scatter file) reside in a ROM/Firmware zip.
Doing a little searching, I found that you can download stock firmware for you device from Asus officially. They offer them in the support section.
Here is the link: https://www.asus.com/us/Phone/ZenFone-3-Max-ZC520TL/HelpDesk_Download/
Should you download the official firmware specific to your device and unzip the file, (in all probability) you will also find the correct scatter file which you are looking for (something like xxxxx_scatter_file.txt).
(also keeping in place a stock rom is never but never a bad idea )
However... You mentioned that you need the scatter file to root??? I have not any idea as to why you would need SP Flash tool for any other reason than flashing stock.
Unless you are flashing full custom rom which cannot be flashed through recovery perhaps?
Anyway... Good luck!!!
Thanks for the quick response!
r&xp said:
Hi. From my experience, correct scatter files that work (not just any random scatter file) reside in a ROM/Firmware zip.
Doing a little searching, I found that you can download stock firmware for you device from Asus officially. They offer them in the support section.
Here is the link:
Should you download the official firmware specific to your device and unzip the file, (in all probability) you will also find the correct scatter file which you are looking for (something like xxxxx_scatter_file.txt).
(also keeping in place a stock rom is never but never a bad idea )
However... You mentioned that you need the scatter file to root??? I have not any idea as to why you would need SP Flash tool for any other reason than flashing stock.
Unless you are flashing full custom rom which cannot be flashed through recovery perhaps?
Anyway... Good luck!!!
Click to expand...
Click to collapse
I needed the Flash tool because I was trying to flash TWRP, and from there install superuser. I did as you said, but when I tried loading the scatter file
the program recognized it as invalid. A huge thanks for the help though!!!
mcAlex42 said:
I needed the Flash tool because I was trying to flash TWRP, and from there install superuser. I did as you said, but when I tried loading the scatter file
the program recognized it as invalid. A huge thanks for the help though!!!
Click to expand...
Click to collapse
Ok... No worries!! We will probably figure it out in the end.
By the way, I am not sure I understand exactly how you were going to use SP Flashtool to flash TWRP. From my experience it does not work that way. You need platform tools (adb and fastboot).
platform tools here ----> https://developer.android.com/studio/releases/platform-tools.html
It is with these that you will unlock bootlader, and after bootloader is unlocked, first flash supersu, install busybox and lastly flash twrp.
Please look at my how-to root and twrp section. It is not for your device, but it will give you a good idea of the process: https://forum.xda-developers.com/android/help/lenovo-tab-3-8-tb3-850f-unbrick-root-t3598727
Please also check your private messages. I am sending you some links you might find helpful.

Categories

Resources