Bricked bml5 and stl5 file. Help to debrick. - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Bricked bml5 and stl5 file with dd
command of terminal emulator.
dd if=/dev/block/stl5 of=/sdcard/
stl5.img
dd if=/sdcard/stl5.img of=/dev/block/stl5
Now cant go to recovery, cant switch
on the phone when i try to switch on
the phone screen blinks like grey
color for 1 second. But can go to download mode, tried
flashing with odin with one package
and with 4 files also no luck same
thing happens everytime after getting
success also.
Help me.

Related

Help with Recovery.img

I wanted to try Cyanogens new Rom when I bumped into snag on the first step.
I cant get in Recovery mode! I have done it befor to get root access but I dont know what happened. It always freezes at the Rogers Logo when I hold Home and push power.
I have very little knowledge of this stuff but Ive tried to install Cyans Pimped recovery.img but It keeps telling me cannot load recovery.img. I think I only tried through fastboot though, I have attempted to through adb shell but I'm not 100% how that works, so I assumed it failed.** Oh and I also Tried erasing my old Recovery Image, which was successful but didnt help anything
I have root access and I own a Canadian HTC Dream. I have Cupcake, Thanks for your help in advance ^^
Hi, it sounds like you erased the standard recovery image, but haven't sucsessfully flashed a new one, which is why the phone will have.
Try flashing it on your phone using the terminal. First grab "terminal emuator" or "Better Terminal".
Put the recovery image on the root of your SD card and name it recovery.img
Open terminal and type:
su <- when the prompt appears, choose always allow
flash_image recovery /sdcard/recovery.img
It's done when the cursor drops down to the next line. Turn the phone off and hopefully recovery will be working.
Hey thanks for the response but still having the same problem.
When I type su it always says Access Granted Courtesy of yada yada. Im assuming this isnt a problem. I flashed my recovery.img and it didnt give me a response. I guess it worked but yet, Still Freezes on Rogers Logo.
I found the Right Recovery.img for a Rogers Dream but now I cant seem to flash it into the Phone. When I type the cmd in Terminal It doesnt give me any errors. But when i go to Erase it in Fast boot it says the remote partition does not exist. Can anyone figure this one out? Im probably doing something small and stupid wrong but any help would be greatly appreciated.
Sounds like you have few different tutorials mixed up. You don't type cmd in terminal. cmd is Windows command to get into command prompt, from there you type your adb commands so if we assume that you placed your NEW recovery image in the root of you sd card and named it recovery.img you would type
From your computer
Window's key +r
cmd
adb shell
flash_image recovery /sdcard/recovery.img
reboot recovery
OR
From terminal
su
flash_image recovery /sdcard/recovery.img
and wait for # to appear, then type
reboot recovery and see what happens
There's a way to do it from fast boot screen as well, you can find a tut in developement section.
Good luck
Hey thanks, That does clear a few things up. I just ended up resetting my phone and it was a breeze from there. Thanks for your help.

[Q] Cant flash ClockworkMod Recovery (cannot open for read: No such file or directory

When i type the dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096 to flash over the clockworkmod, into my command promt it says 'cannot open for read: No such file or directory' and i dont know what im doing wrong.
I mean everything else seemed to workout fine. i downloaded the recovery image it said to save it but it was already saved to my computer after i downloaded it so i dont know if this could be the problem.
Then i used the adb push recovery.img/data command to push the recovery image to my phone, i think this might be where i messed up. After i put in the command a long list of text pops up on the command prompt. It starts out showing 'Android Debug Bridge version 1.0.26' then is followed by a long list of adb commands. Idk know if this is what its supposed to show.
Next i did the adb shell, su, dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096 command and that worked fine it said 2560+0 records out, 2560+0 records in 10485760 bites transfered in 0.413 secs and i actually found that file on my sdcard. So i think i did that right.
Next i tried to use the command 'dd if=/data/recovery.img of=/block/mmcblk0p6 bs=4096' and like i said earlier it just says 'cannot open for read: No such file or directory'
Lastly i tried the rm /data/recovery.img command and it said rm failed for /data/recovery.img, No such file or directory in the command prompt.
Im sorry i am new at this but i thought i followed the directions perfectly and any help anyone could give me would be greatly appreciated.
First off, before someone else says it, you shouldn't start a new thread for something we already have a topic for. But anyways,
Sounds to me like recovery.img never got pushed to /data. Not sure if its a typo in your post but 'adb push recover.img/data' should be 'adb push recovery.img /data'. The space is important. On your phone use a root file explorer and go to your /data partition and see if recovery.img is there. You may need to either change permissions for /data or just put recovery.img on your sdcard and move it to /data with a root explorer.
Sent from my LG-P925 using Tapatalk
Well im sorry im new to this kind of thing, i didnt want to make anyone mad i just wanted some help and i apologize if ive ticked somone off. How would i change the permissions for the data? And could you tell me how to use the root explorer to put the recovery image in the right place? Again i appreciate any help you can offer.
Is recover.img in the same folder as adb? Because the instructions assume your recovery.img is in the same folder you are working from. So if you have to cd to your adb folder to use adb then recovery.img should be in that folder as well. Look at your cmd window, whatever directory/ folder it says you are in that is where you should put recovery.img.
If you saw a bunch of commands it means the .img did not go through your command did not work. You dont have the recovery.img in /data either put the file on your sdcard and use a root explorer to move it to /data or try the adb push again, you most likely made a typo or something.
You would put recovery.img on your sdcard through your computer. Open root explorer and navigate to your sdcard, long press on the recovery.img select move, go to/ data on the root of the phone, not the one on either sdcard it MUST be /data not /mnt/sdcard/data or anything like that once there paste file to /data and finish up in adb shell.
Alright i copied the recovery image to the /data folder and finished up in command prompt and everything worked out like it was supposed to. what was i supposed to do next to put it into cwm recovery mode? I held power, volume down, 3d button but i just went into normal recovery mode. then i went to rom manager to try and put it into cwm recovery that way but it just rebooted my phone. And when i went back into the /data folder i couldnt find the recovery image there anymore and i did a search on my root explorer and couldnt find it anywhere.
Hold vol down + 3D + power when lg logo appears release power but keep vol down +3D held down until recovery pops up. If you still don't boot into cwm try flashing recovery.img again. Do NOT use rom manager at all to install cwm on this phone.
Well ive tried to take the recovery image from the sd card to the /data folder but when i run 'rm /data/recovery.img' on the command prompt then reboot my phone, i turn it off then try and put it in recovery mode but its just regular recovery mode not cwm recovery mode. And everytime i run the 'rm /data/recovery.img' when my phone boots back up the recovery image is no longer in the /data folder or anywhere. But if i dont run the 'rm /data/recovery.img' after moving the recovery image to the /data folder it stays in the folder. Is it supposed to dissapear from the /data folder?
And i tried putting the recovery image in the same folder as abd which is the platform tools folder then flash it over and i got the same message. (cannot open for read: No such file or directory.)
Im sorry for all the questions and I am thankful for your help. I feel like i cant be the only person having this problem, well i hope im not that would make me feel really stupid. Thanks.
powers.jereme said:
Well ive tried to take the recovery image from the sd card to the /data folder but when i run 'rm /data/recovery.img' on the command prompt then reboot my phone, i turn it off then try and put it in recovery mode but its just regular recovery mode not cwm recovery mode. And everytime i run the 'rm /data/recovery.img' when my phone boots back up the recovery image is no longer in the /data folder or anywhere. But if i dont run the 'rm /data/recovery.img' after moving the recovery image to the /data folder it stays in the folder. Is it supposed to dissapear from the /data folder?
And i tried putting the recovery image in the same folder as abd which is the platform tools folder then flash it over and i got the same message. (cannot open for read: No such file or directory.)
Im sorry for all the questions and I am thankful for your help. I feel like i cant be the only person having this problem, well i hope im not that would make me feel really stupid. Thanks.
Click to expand...
Click to collapse
rm is the command to remove. So yes, recovery.img is supposed to disappear after that command. Put it back on /data and run the whole process from the CWM thread again making sure you do every step. Sounds like you may have accidentally skipped a step.
Sent from my LG-P925 using Tapatalk
Double post.
Ugh...keep selecting quote instead of edit on Tapatalk...Triple post...
Alright ill try that again, so i should put the file back on the /data folder and then still do the step where you try to flash over cwm from the cwm thread, even though its already there? Thanks
powers.jereme said:
Alright ill try that again, so i should put the file back on the /data folder and then still do the step where you try to flash over cwm from the cwm thread, even though its already there? Thanks
Click to expand...
Click to collapse
Yea just do it all again. Worst case is you flash cwm back over cwm
Sent from my LG-P925 using Tapatalk
I got it to work Urabewe was right i just needed to put the recovery image in the correct folder and everything worked perfect. Thanks guys.

Kernel Panic - LG D175F BRA - Help

Please help me I was installing a custom rom cyanogen in LG D175F BRA and ended up catching him, then connecting the device after the logo of LG displays black screen Kernel Panic and not out of it, it does not come into download mode, or fastboot and the devices appears an unrecognized driver QHSUSB_BULK
If you have QHSUSB_BULK, you need a mmcblk0 backup at least till the end of the laf partition (first 166MB), which includes the partition table.
Ask for someone with the same model and rooted to run this command @ android terminal or adb:
su
dd if=/dev/block/mmcblk0 of=/sdcard/unbrick.img bs=1024 count=168960 (to save the file in the internal storage)
OR
dd if=/dev/block/mmcblk0 of=/storage/external_SD/unbrick.img bs=1024 count=168960 (to save the file in the microSD)
Then follow this tutorial using the unbrick.img you got from the command above: http://forum.xda-developers.com/lg-l90/help/bricked-d410-t3094018/post61741908
Actually there is a smarter way to recover from this kind of brick without any backup, it's just a matter of extracting the partitions of your kdz and flash them with an image writer. People from LG G2 forums have been doing this for months, they even have a dedicated tool for this: https://www.youtube.com/watch?v=ERZvlJIC9dE

[Tutorial] Edit your Note 4's Boot Splash Screen!

I've tried to find a tutorial for this, but seems like it doesn't exists. So I've learned about S6, Note 5 and even a russian Note 3 Neo tutorials to make it work. So let's start!
What do you need?
-Patience
-A PC with a Photo Editor (Paint.net should do the trick)
-Terminal Emulator with a little of practice
-(Optional) an external keyboard, since you have to execute quite a lot of commands and there's no way to copy paste into a terminal like in CMD.
1)We start by pulling "param.bin" file out:
It's located in /dev/block/mmcblk0p8 so we have to execute these commands:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin bs=4096
2) This will extract param.bin to your main sdcard folder, then we have to create a new folder and then untar it, by executing this:
Code:
mkdir /sdcard/param
cd /sdcard/param
tar xf /sdcard/param.bin
3) If everything went fine, you should see a folder called "param" with all the bootloader's images. We will focus on logo.jpg, but you can change the others like download.jpg and warning.jpg. Extract these files to your PC and edit them, make sure that the images doesn't go up to 400 kb, otherwise they will not show in the device. To achive this you can downgrade the JPEG quality from 100% to 80% or any % you feel confortable to use. Once you finish the editing process, place them inside your main /sdcard folder.
4)Now we have to paste your edited images inside /sdcard/param folder and retar param.bin, we have to execute these commands:
Code:
cp -f /sdcard/logo.jpg /sdcard/param/logo.jpg
(OPTIONAL) cp -f /sdcard/warning.jpg /sdcard/param/warning.jpg
(OPTIONAL) cp -f /sdcard/download.jpg /sdcard/param/download.jpg
rm -f /sdcard/param.bin
cd sdcard/param
tar cf - `ls | sort -t.` > /sdcard/param.bin
5) Last but not least, we have to place param.bin back again in the system, so:
Code:
dd if=/sdcard/param.bin of=/dev/block/mmcblk0p8 bs=4096
If everything went fine, reboot and you will see the new logos come up! Make sure to backup param.bin once it gets extracted, in case if something goes wrong. There's no way to brick the device, the major risk is a blackscreen while booting, but the device will boot fine so you can repair it without problem (IF you made a backup, otherwise you will have to reflash the bootloader in ODIN).
I hope you like it! Leave your questions below and I'll try to answer them ASAP. Cheers!
tar xf /sdcard/param.bin gives me sh: tar: not found
MehmetAliCan said:
tar xf /sdcard/param.bin gives me sh: tar: not found
Click to expand...
Click to collapse
Make sure that the param.bin is located in /sdcard and not in any other folder. Try to run the script in SH Script Runner as Root and see if it works.
Thanx for your work.can we copy/past into terminal cmd without external keybord.??
---------- Post added at 02:24 PM ---------- Previous post was at 01:38 PM ----------
tar cf - `ls | sort -t.` > /sdcard.....gives me no such file...tar:error exit delayed from previos errors
khalifnet said:
Thanx for your work.can we copy/past into terminal cmd without external keybord.??
---------- Post added at 02:24 PM ---------- Previous post was at 01:38 PM ----------
tar cf - `ls | sort -t.` > /sdcard.....gives me no such file...tar:error exit delayed from previos errors
Click to expand...
Click to collapse
Nope, there's no way to copy/paste in terminal emulator atm.
There's a zip below, unzip it and paste the *.sh script file inside your device and run it (Root Browser works for me) as root. If everything went fine, you should see this dialog:
Code:
Finished executing script file
exit value 0
stdout:
null
stderr:
null
Then a file named "param.bin" will be generated in your main SDCard folder. After that run the last command to paste it inside the bootloader again:
Code:
dd if=/sdcard/param.bin of=/dev/block/mmcblk0p8 bs=4096
Reboot and you will see your new bootlogo!
Thnx mr galaxynote2 for your reply.i follow your tuto and succed to have both param.bin and param.modifyed logo.jpg ,place it in sdcard but when when i execut cmd to retar it gives me no such a directory
Plz mr galaxynote2 have a look in attached file
khalifnet said:
Plz mr galaxynote2 have a look in attached file
Click to expand...
Click to collapse
That's because you're already in sdcard/param. There's no need to use "cd sdcard/param" command. Just go ahead with the tutorial :good:
This works great, you can copy paste with "terminal emulator for android" made by Jack Palevich, is in the play store, I use multi-window to open the browser and terminal, then copy from browser and long-press on terminal to paste.
I edited the .jpg with faststone image viewer
Don t succed at all.i don t know why?!any help?!thnx and sorry for my english
khalifnet said:
Don t succed at all.i don t know why?!any help?!thnx and sorry for my english
Click to expand...
Click to collapse
That's because you're using (') instead of (`). Use the script I provided earlier :good:
Thanks mr galaxynote2 for your quik reply.finally all the process goes fine but no change.still got note4 bootlogo.can copy past modifyed logo.jpg in param folder??thanx
i always ended up with black screen xD even how much i resize the .jpg the original photo size is 89.9kb . resizing my new logo to 69.1 kb, 76.9 kb still dont work xD do you have technique to make it work . im using photoshop and i i also tried Paint.net. . no luck
Thanks for the tutorial!
Does anyone else also have a tar checksum error or has anybody a solution to this?
BTW, i'm using the COH4 version bootloader.
@galaxynote2 this guide should work on F variants as well, but not with mmcblk0p8 but mmcblk0p12 (or at least that is what diskinfo tells me )
great guide though :good:
Ok , time for some troubles
I followed this guide and tried to do this with a custom image . It bricked my phone and I need help plz.
The power button do nothing at all , recovery mode is not starting , the only thing that works is download mode , that is a good sign .
Now , I flashed OI6 bootloader from wanam's thread , Nothing happens , after the flashing is done , the phone turns into black screen and I have to remove battery to start download mode again.
flashed N910CXXU1COH4_N910COXA1COH4_N910CXXU1COH4_HOME.tar.md5 , still nothing happens !
What is really interesting is that the download mode uses the green warning image from @galaxynote2 thread .
I think I need the stock param.bin to be flashed via oden . but I do not know how to do so , is this right ? and how ?
Thanx a lot for any help.
APCOtech said:
Ok , time for some troubles
I followed this guide and tried to do this with a custom image . It bricked my phone and I need help plz.
The power button do nothing at all , recovery mode is not starting , the only thing that works is download mode , that is a good sign .
Now , I flashed OI6 bootloader from wanam's thread , Nothing happens , after the flashing is done , the phone turns into black screen and I have to remove battery to start download mode again.
flashed N910CXXU1COH4_N910COXA1COH4_N910CXXU1COH4_HOME.tar.md5 , still nothing happens !
What is really interesting is that the download mode uses the green warning image from @galaxynote2 thread .
I think I need the stock param.bin to be flashed via oden . but I do not know how to do so , is this right ? and how ?
Thanx a lot for any help.
Click to expand...
Click to collapse
If u tried wanams bootloader it wont work even if you put to bl/ap .. try 5.1.1 bootloader posted in DN5 rom it will work just put it to BL
Near_07 said:
If u tried wanams bootloader it wont work even if you put to bl/ap .. try 5.1.1 bootloader posted in DN5 rom it will work just put it to BL
Click to expand...
Click to collapse
Thanx , i will try it now
EDIT : It worked , thanx a lot @Near_07
Keep getting invalid tar header checksum?
Finally , without a brick
Used Paint.net only and the quality down to 40% , final size 189KB
Too bad , I could not hide the kernel msg with red background.
Thanx @galaxynote2 for the tutorial , @Near_07 for helping

Please Help! Huawei gr5 completely dead

hi,
i have huawei gr5 and i wanted to disable signature verification using lucky patcher, when i did that the phone always rebooted into TWRP. i searched for this problem and i supposed to write this code in TWRP terminal:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
but the folder msm_sdcc.1 doesn't exist , so i tried the folder that exist (i can't remember it's name but it have a numeric name ends with .sdhc or something like that) and i can't found fota in by-name so i tried boot file (i know, it's a stupid):
Code:
dd if=/dev/zero of=/dev/block/platform/(numericname.sdhc)/by-name/boot
When i rebooted the phone, the emui update screen appear , i rebooted into TWRP again and i wrote another stupid code:
Code:
dd if=/dev/zero of=/dev/block/platform/(numericname.sdhc)/by-name/aboot
then the phone wont turn on, i tried all combination of power and volume button, also i removed the battery and reconnected it but the phone still wont turn on. Please Help!
note1: the led indicator flashing red, green and blue and when i hold power button the flashing stop for a while then flashing again.
note2: when i connect it to pc there is nothing happen.
sorry for my bad english

Categories

Resources