samsung boot img [MAGIC ANDROID HEADER eRROR] - Android Q&A, Help & Troubleshooting

Hi, i am trying to change the bootclasspath from a samsung boot.img but every time i try to unpack it it givers a Magic header error can someone help me ?

Try this: http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows
Or another tutorial from this site.
Ps: If you have sucess with this, post here

samcortez said:
Try this: http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows
Or another tutorial from this site.
Ps: If you have sucess with this, post here
Click to expand...
Click to collapse
I already tried it but it gives a error now i am going to eat after dinner i will look what the problen was again
Sent from my Amazon Kindle Fire using Tapatalk
Edit: i am going to use cygwin because maybe my ubuntu isn’t setup wel

i have tried it with cygwin and it isn't working.

Related

[Q] Boot Loop with "logo_att jpg" draw failed

I searched and saw a somewhat similar problem but their phone booted, mine does not, but i can get it into cwm but even after trying a nandroid backup and flashing a different ROM it still doesn't boot, it just loops back to the logo..
Is there anything I can do?
Any help appreciated..
Thanks!
justinblaine23 said:
I searched and saw a somewhat similar problem but their phone booted, mine does not, but i can get it into cwm but even after trying a nandroid backup and flashing a different ROM it still doesn't boot, it just loops back to the logo..
Is there anything I can do?
Any help appreciated..
Thanks!
Click to expand...
Click to collapse
Somehow you corrupted param.lfs. It can be downloaded separately and flashed with heimdall in my return-to-stock thread.
I downloaded the file on your post and extracted with 7zip but i have windows 7 but i also have ubuntu on here, your instructions are for using linux and heimdall, will that work on ubuntu?
http://forum.xda-developers.com/showthread.php?t=1286432
That's the thread I'm referencing
Thanks Entropy, you're awesome
EDIT: Ok nevermind I didn't realize i could use on windows
Thanks Entropy, I flashed it using ODIN which is linked in your thread, you're a lifesaver!
justinblaine23 said:
I downloaded the file on your post and extracted with 7zip but i have windows 7 but i also have ubuntu on here, your instructions are for using linux and heimdall, will that work on ubuntu?
http://forum.xda-developers.com/showthread.php?t=1286432
That's the thread I'm referencing
Thanks Entropy, you're awesome
EDIT: Ok nevermind I didn't realize i could use on windows
Click to expand...
Click to collapse
Ubuntu = Linux
(FYI I do all of my development on an Ubuntu machine)
Yea i know it's linux but wasn't sure if it had to be a specific build of linux since there's many out there, but I got it all fixed, thanks again!
If I didn't need MS office for school I'd never even Run Win 7, Linux is awesome!
justinblaine23 said:
Thanks Entropy, I flashed it using ODIN which is linked in your thread, you're a lifesaver!
Click to expand...
Click to collapse
didn't work
nikhilppatel said:
didn't work
Click to expand...
Click to collapse
If you're looking for help, you'll need to post details about your issue.
I have this issue also, I downloaded the param.lfs file and I was wondering where do I put it in ODIN? Thanks.
Edit: Followed the links until I got to the right tar package to use with ODIN, Thanks to this thread I got headed in the right direction.

[Q] fix systemui.apk after mod

Hello everybody.
I have an issue with my xperia ray and need some help! I use ICS 4.0.4 4 / 1.B.0.431. Today I decided to root my phone and everything went well so I thought why not mod it? So, I liked this mod and decided to use it. But something went terribly wrong and now I lost my status bar and all notifications as well as background image even though I did everything correctly! Unfortunately I was stupid enough as not to keep a backup of the files I changed so what is the easiest way to reverse it, that does not require a format? I think the problem is with the systemui.apk but I don't know how to fix it.
Thank you in advance and sorry for the bad english!
alfalamda said:
Hello everybody.
I have an issue with my xperia ray and need some help! I use ICS 4.0.4 4 / 1.B.0.431. Today I decided to root my phone and everything went well so I thought why not mod it? So, I liked this mod and decided to use it. But something went terribly wrong and now I lost my status bar and all notifications as well as background image even though I did everything correctly! Unfortunately I was stupid enough as not to keep a backup of the files I changed so what is the easiest way to reverse it, that does not require a format? I think the problem is with the systemui.apk but I don't know how to fix it.
Thank you in advance and sorry for the bad english!
Click to expand...
Click to collapse
Extract the zip of your rom. In the extracted folder go to system/app and copy systemui.apk. Then go into your phones actual system/app directory and delete the systemui.apk that is there. Then paste the one from your rom, and change the permissions to rw-r-r
But I'm using the stock ROM. Where can I find the file?
alfalamda said:
But I'm using the stock ROM. Where can I find the file?
Click to expand...
Click to collapse
What's your phones model number?
chromium96 said:
What's your phones model number?
Click to expand...
Click to collapse
extract it from an ruu file of your phones CID
chromium96 said:
What's your phones model number?
Click to expand...
Click to collapse
ST18i if this is what you mean
alfalamda said:
ST18i if this is what you mean
Click to expand...
Click to collapse
lol, every phone has a CID number, to find your CID numbeer, boot into fastboot and execute
fastboot getvar cid
Click to expand...
Click to collapse
and it will show your cid number!
---------- Post added at 01:26 PM ---------- Previous post was at 01:25 PM ----------
ricky310711 said:
lol, every phone has a CID number, to find your CID numbeer, boot into fastboot and execute
and it will show your cid number!
Click to expand...
Click to collapse
by the way ''ST18i'' is your phone model!
ricky310711 said:
boot into fastboot and execute
Click to expand...
Click to collapse
I am into fastboot but I have no idea hot to execute the command! I know I'm newbie but I have just started learning!
edit: Ok I managed to run fastboot (see, I learn fast!) but I get a <waiting for device> and it won't return anything. Any clues?
alfalamda said:
I am into fastboot but I have no idea hot to execute the command! I know I'm newbie but I have just started learning!
edit: Ok I managed to run fastboot (see, I learn fast!) but I get a <waiting for device> and it won't return anything. Any clues?
Click to expand...
Click to collapse
well that means your device has not been detected, type fastboot devices, or fastboot-devices and tell me if it has any devices attached, also, check out my quick thread about adb and fastboot! its small and teaches basically everything for a standard user
http://forum.xda-developers.com/showthread.php?p=40047959#post40047959
if i help, hit that thanks button!
Please help
Guys can you help me out, I was trying to edit SystemUI.apk with this tuto http://forum.xda-developers.com/showthread.php?t=2527867 Then needed to put it on my phone following this tuto http://forum.xda-developers.com/showthread.php?t=2235956
Now my phone keeps putting "Unfortunately, System UI has stopped." I tried rebooting, same thing. What did I do wrong? Maybe in the signing? The video tutorial used "zipalign -fv 4 ...." command while I read on other tutorials you should copy the original manifest and I don't know which files but in the video he didn't do it...
Please help, the error message keeps coming in the way and I can't to anything.

[Q] Built a CWM recovery, black screen when boot into it

Forgive me if this is the wrong place for this. I followed a few different guides on xda and managed to build a cwm recovery from source. I can fastboot boot into my recovery image and it works fine, makes backups etc. But when i fastboot flash the .img and reboot into recovery it boots to a black screen. Im just not sure where to start in diagnosing the issue. I managed to get a few other issued solved like DTB and malformed fstab, but im stumped here. It might be something silly i did or didnt do. This is for a new device the lg ls740. I can post the recovery.img or the split files from unmkbootimg it it helps, thanks!
I'm having the same issue
Sent from my LGLS740 using XDA Free mobile app
notreal456789 said:
I'm having the same issue
Sent from my LGLS740 using XDA Free mobile app
Click to expand...
Click to collapse
because you were using my recovery, the recovery that doesnt work right! Im asking here for help on what i need to do differently before i compile it.
Ya I figured that out lol ; ) and sorry..I think?I mean, didn't mean to upset you?
Sent from my LGLS740 using XDA Free mobile app
danhalen1 said:
Forgive me if this is the wrong place for this. I followed a few different guides on xda and managed to build a cwm recovery from source. I can fastboot boot into my recovery image and it works fine, makes backups etc. But when i fastboot flash the .img and reboot into recovery it boots to a black screen. Im just not sure where to start in diagnosing the issue. I managed to get a few other issued solved like DTB and malformed fstab, but im stumped here. It might be something silly i did or didnt do. This is for a new device the lg ls740. I can post the recovery.img or the split files from unmkbootimg it it helps, thanks!
Click to expand...
Click to collapse
I think it's because of a brightness problem. You need to enable brightness permanently. For enabling it you need to follow these steps:
1.Unpack your builded recovery(with kitchen)
2.Place "qrdsys.sh" in /ramdisk/sbin/<here>
3.Add the following line into init.rc:
"service qrdtrd /sbin/sh /sbin/qrdsys.sh
oneshot"
4.Repack and flash
Source I got this from: https://github.com/dhinesh77/device_micromax_a57
Get the "qrdsys.sh" file from here: https://github.com/dhinesh77/device_micromax_a57/blob/cm-10.1/recovery/qrdsys.sh
Thanks to dhinesh77 :good:
Try it, if it don't work, report it to me.
GeekyDroid said:
I think it's because of a brightness problem. You need to enable brightness permanently. For enabling it you need to follow these steps:
1.Unpack your builded recovery(with kitchen)
2.Place "qrdsys.sh" in /ramdisk/sbin/<here>
3.Add the following line into init.rc:
"service qrdtrd /sbin/sh /sbin/qrdsys.sh
oneshot"
4.Repack and flash
Source I got this from: https://github.com/dhinesh77/device_micromax_a57
Get the "qrdsys.sh" file from here: https://github.com/dhinesh77/device_micromax_a57/blob/cm-10.1/recovery/qrdsys.sh
Thanks to dhinesh77 :good:
Try it, if it don't work, report it to me.
Click to expand...
Click to collapse
Thanks for the reply, i just tried it here this morning and i still have the same black screen result. Thanks for your help!
danhalen1 said:
Thanks for the reply, i just tried it here this morning and i still have the same black screen result. Thanks for your help!
Click to expand...
Click to collapse
No problem. Actually I thought it would fix it!
Well, what about you try to monitor your screen through ADB to your desktop?
If the recovery works, but has graphical issues, it should show there. If not, it's actually not booting or either not working.
Maby? We haveto zero out the recovery?? Just like the laf partition to access fastboot?
Sent from my LGLS740 using XDA Free mobile app

Bricked ASUS ZenPad S 8.0 ‏(Z580CA)‏..PLEASE HELP!!! Anyone

So here's the thing, first off this Tablet as great as it is..seems like a ghost of an existence in the android community.
Anyways please please anyone at all any suggestions, I've tried numerous things to get out of this boot loop... So what happened is I ended up updating this device with Asus latest zip file they said to manually update with for Marshmellow
I've tried to re-install the zip file again using the IntelAndroid-FBRL-07-24-2015, to which now doesn't work nor does ADB Fastboot, it recognizes the device.. but now all commands pretty much fail... I don't know what else to do with this.
I did however installed the Asus Flash Recovery Program, I just cannot for the life of me find what file to use to re-flash this. Anyone please ANY SUGGESTIONS
If anyone at all has access or knows a working link for ZenPad Recovery files or raw image files.. I haven't been able to see if Asus Flash Recovery can help.
bert_747 said:
So here's the thing, first off this Tablet as great as it is..seems like a ghost of an existence in the android community.
Anyways please please anyone at all any suggestions, I've tried numerous things to get out of this boot loop... So what happened is I ended up updating this device with Asus latest zip file they said to manually update with for Marshmellow
I've tried to re-install the zip file again using the IntelAndroid-FBRL-07-24-2015, to which now doesn't work nor does ADB Fastboot, it recognizes the device.. but now all commands pretty much fail... I don't know what else to do with this.
I did however installed the Asus Flash Recovery Program, I just cannot for the life of me find what file to use to re-flash this. Anyone please ANY SUGGESTIONS
If anyone at all has access or knows a working link for ZenPad Recovery files or raw image files.. I haven't been able to see if Asus Flash Recovery can help.
Click to expand...
Click to collapse
The same thing happened to me yesterday. I tried the Asus Flash Recovery Program and found a raw file that seemed to be the right one. After flashing the tabled remained stuck on a spinning logo, however a hard reset in recovery solved that. My tablet is now back up and running.
The RAW image:
https://mega.nz/#!S5hkyIgA
Hope you get it working again
pkemeling said:
The same thing happened to me yesterday. I've been trying to un-brick my ZenPad, but with no luck so far. I tried the Asus Flash Recovery Program and found a raw file that seemed to be the right one. After flashing the tabled remained stuck on a spinning logo, however a hard reset in recovery solved that. My tablet is now back up and running.
The RAW image:
https://mega.nz/#!S5hkyIgA
Hope you get it working again
Click to expand...
Click to collapse
Wow thank you so much sadly I cannot download the raw you sent me says I need a Decryption Key before I can download? Do you know that key? Please Many thanks!!!
bert_747 said:
Wow thank you so much sadly I cannot download the raw you sent me says I need a Decryption Key before I can download? Do you know that key? Please Many thanks!!!
Click to expand...
Click to collapse
AH, yeah, wrong link. Try this one
https://mega.nz/#!S5hkyIgA!2Twg37uNswnFWb0-oTvLHxwijf7GwnpGpicEVhBt1t0
pkemeling said:
AH, yeah, wrong link. Try this one
https://mega.nz/#!S5hkyIgA!2Twg37uNswnFWb0-oTvLHxwijf7GwnpGpicEVhBt1t0
Click to expand...
Click to collapse
Downloading I'll keep posted for results thank you again so much!!! I hope this works for me as well.
pkemeling said:
AH, yeah, wrong link. Try this one
https://mega.nz/#!S5hkyIgA!2Twg37uNswnFWb0-oTvLHxwijf7GwnpGpicEVhBt1t0
Click to expand...
Click to collapse
Can you tell me what version of Asus Flash Tool you were using? I'm trying to us the 1.0.014 but alll it lets me use is a zip file. I've seen videos people using 1.0 and pulling up a choice between zip file or raw files.
If you can let me know that would be great and thanks again for your help!
bert_747 said:
Can you tell me what version of Asus Flash Tool you were using? I'm trying to us the 1.0.014 but alll it lets me use is a zip file. I've seen videos people using 1.0 and pulling up a choice between zip file or raw files.
If you can let me know that would be great and thanks again for your help!
Click to expand...
Click to collapse
I used version 1.0.14
http://www.asus-zenfone.com/2015/12/download-asus-flashtool-10014-for-windows.html
I just selected Z580CA and flashed the raw file. It wouldn't let me flash any ZIP, so I had so search for the correct image.
I zipped the RAW file ...
Working as expected and debricked my asus
Cool & Thanks !
Z580C tablet is bricked, it happened on update, I think battery was too low. Screen is black all the time, under windows device manager it connects as Intel Soc/ Moorefield Device (Intel platform Flash Tool Lite is installed and this tool is seeing that device is connected and it reboots (connects/reconnects) every few minutes), tablet does not connect as Android adb deivice and Android Flash Tool doesn't see device. Any suggestions !?
Thank you
a problem
my version is cn. now i can only connect my tab with computer through intel platform flash tool lite. i download the cn.zip from asus website but i cannot find any flash.xml in the zip but some .img can you help me

Question Help with Nord N20 5G

Hello,
I need help with using the QFIL tool in order to unbrick my phone. I need the mbn firmware and the .xml
My stupid self did not create a backup for this, and somehow I can't access fastboot or recovery so this is my last resort
Thank you!
ScarletWizard said:
I never used it before but I'll try. . did you install the quailcom drivers? It's different then the OnePlus bor generic android drivers
Click to expand...
Click to collapse
Yes I got the Qualcomm drivers and the port is detected. I’ll check out that txt in a bit.
ScarletWizard said:
Attached is hope
Click to expand...
Click to collapse
I am trying the MSMTool but I do not have a username or password for it. I am also wanting to try the ROM2BOX method but it doesn't open on my computer (it launches but then closes and goes to the website),
I extracted the tool, but i am not seeing ftguiDev.exe
ScarletWizard said:
I didn't write my previous post I copy and paste it from another forum he claims that there is a file named that
Click to expand...
Click to collapse
Oh, well, the file isn't there. I am going to try and build the xmls with the firmware.

Categories

Resources