[FLASH] Safe Kernel Flash - Galaxy Ace II General

Hey Guys,
Last month I flashed HD's Kernel over a defect Terminal Emulator the result...a Bootloader Bricked Phone.
Sent to Service Center they have reflashed the bootloader.
Now I want to test my Terminal to avoid the brick.
How to do that?

Really nobody knows how to test a Terminal?
Maybe write something with dd command to a blank file or something else.

1. Are you 100% sure that you have put right command in terminal? Making one mistake (in of=/dev/block/mmcblk0p15) and you have bricked device.
2. Can you at least point us to this "defective" terminal app?
3. Why are you opening new thread and not using our Q & A Thread ?

arroyo said:
3. Why are you opening new thread and not using our Q & A Thread ?
Click to expand...
Click to collapse
+1 Thread closed

Related

trying to flash Amon_RA's 1.51

hi i have mytouch 32b and i am running jacheroski2.2b on it
i want to flash the new recover image i have no idea how to do it please help.....
flameinthefire said:
hi i have mytouch 32b and i am running jacheroski2.2b on it
i want to flash the new recover image i have no idea how to do it please help.....
Click to expand...
Click to collapse
Wrong section dude, if you get this moved to the please it supposed to be i might help you!
ronni.rasmussen said:
Wrong section dude, if you get this moved to the please it supposed to be i might help you!
Click to expand...
Click to collapse
help me dude i want to flash RA-magic-v1.3.2
the point is not to waste space in the DEV forum by asking noob questions. there's an entire q&a section, not to mention VERY thorough directions in Amon Ra's thread.
http://forum.xda-developers.com/showthread.php?t=530492
lock please.
This Worked for Me
First, they're right. You are in the wrong section. But, this worked for me. First, copy the recovery image to the root of your sd card and rename it recovery.img. Next, open up your terminal emulator (I use Better Terminal, it's worth the small fee if you don't have it.) now type...
cp /sdcard/recovery.img /data/recovery.img
Make sure you have a space betwee "cp" and "/sdcard/recovery.img" and "/data/recovery.img". After that, just hit enter. Wait a few seconds. Do a full reboot. Then reboot into recovery. You should see that you have the new recovery image. If that doesn't work, you may need to type "su", then hit enter and then type the command above. This has worked for me on Amon_RA's last couple of recovery images.
nerdybobby said:
First, they're right. You are in the wrong section. But, this worked for me. First, copy the recovery image to the root of your sd card and rename it recovery.img. Next, open up your terminal emulator (I use Better Terminal, it's worth the small fee if you don't have it.) now type...
cp /sdcard/recovery.img /data/recovery.img
Make sure you have a space betwee "cp" and "/sdcard/recovery.img" and "/data/recovery.img". After that, just hit enter. Wait a few seconds. Do a full reboot. Then reboot into recovery. You should see that you have the new recovery image. If that doesn't work, you may need to type "su", then hit enter and then type the command above. This has worked for me on Amon_RA's last couple of recovery images.
Click to expand...
Click to collapse
in terminal i cant pull up the keyboard on mytouch how do i bring the keyboard up
Go to
MOD EDIT ; warez link removed
Download it and install it onto your phone
it should work
Subu said:
Go to
MOD EDIT : Warez links removed
Download it and install it onto your phone
it should work
Click to expand...
Click to collapse
thanks i installed it but wen i type the command it says no such file
it keep saying file not found
Warez and a person who obviously doesn't know how to read directions
This thread is full of fail
walie said:
Warez and a person who obviously doesn't know how to read directions
This thread is full of fail
Click to expand...
Click to collapse
dude what are you talking about i followed all the directions.....
lol, now it's just kinda funny.
i guess it's not worth fighting anymore.
try this instead in terminal or better terminal or whatever:
su
flash_image recovery /sdcard/recovery-RA-sapphire-v1.5.1G.img
reboot
that's what i do every time an update comes out.
to be fair, i use the regular terminal on my mt3g and switch between stock keyboard and htc_ime since the latter seems to be the only one which will enter numbers in terminal.
flameinthefire, pm me if you're still struggling.
never mind i got it finally thank you guys but what is the point of this recovery image? LOL what can you do with it
flameinthefire said:
never mind i got it finally thank you guys but what is the point of this recovery image? LOL what can you do with it
Click to expand...
Click to collapse
really?!?! FFS man, what the hell is wrong with you?
i think you'd be better off with an iphone.
jayzusfk said:
really?!?! FFS man, what the hell is wrong with you?
i think you'd be better off with an iphone.
Click to expand...
Click to collapse
hahaha, this thread is gold!
i love iphone man used it for 2 years i am new to android so relax i bet i can screw u in iphone stuff so stfu
flameinthefire said:
i love iphone man used it for 2 years i am new to android so relax i bet i can screw u in iphone stuff so stfu
Click to expand...
Click to collapse
lol called it.
i don't want you to screw me though.
you're beyond noob, but i'm sure you'll catch up some day. welcome to a better world. android ftw.
flameinthefire said:
i love iphone man used it for 2 years i am new to android so relax i bet i can screw u in iphone stuff so stfu
Click to expand...
Click to collapse
Welcome to the Android Community. And the Iphone doesn't really take a genius to figure out even if you jailbreak it.

[Q] help a noob with adb!!!

ok...so im getting my mesmerize today and i have no clue how to get into adb...i got the android sdk and cant find it anywhere...could someone help a noob plz....you can slap me after i get clockworkmod on my mesmerize
Firedog7881 said:
Somebody please correct me if I am wrong.
You do not NEED to have your phone connected to your computer any more as long as you have the right programs on your phone. If you use z4Mod to root your phone, download the application Superuser to give applications SU permissions, install ROM Manager, and then use Root Explorer to move the files into their necessary locations and then use Terminal Emulator to execute the commands.
I have rooted, installed ROM Manager, backed up my ROM, installed the kernel in this thread all without knowing what ADB is.
All applications are available in the Market
z4Mod
Superuser
ROM Manager
Root Explorer ($4)
Terminal Emulator
Click to expand...
Click to collapse
I dident use adb to get it working. Found it faster to use root explorer to place files and then change permissions of the files on system and SD.
Then use terminal to run the command
Sent from my SCH-I500 using XDA App
for people (like me) that aren't good with command prompt adb... you should check this out QtADB (GUI) Based ADB
elijahblake said:
for people (like me) that aren't good with command prompt adb... you should check this out QtADB (GUI) Based ADB
Click to expand...
Click to collapse
WOW, This is nice. Thanks for the link!
You get slap rights.
BakedTator said:
ok...so im getting my mesmerize today and i have no clue how to get into adb...i got the android sdk and cant find it anywhere...could someone help a noob plz....you can slap me after i get clockworkmod on my mesmerize
Click to expand...
Click to collapse
Why does this need another thread.. ?? You already have all the resources in the previous thread you made, which people actively responded to. Certainly you could post any follow up questions there..
dcow90 said:
Why does this need another thread.. ?? You already have all the resources in the previous thread you made, which people actively responded to. Certainly you could post any follow up questions there..
Click to expand...
Click to collapse
sorry bout that...i had info there and didnt get it working so i posted new with a lil more detail...next time i will correct it...again my bad
ok guys....your help made clockworkmod happen for my mesmerize...much thanks...not to the roms!!!
BakedTator said:
sorry bout that...i had info there and didnt get it working so i posted new with a lil more detail...next time i will correct it...again my bad
ok guys....your help made clockworkmod happen for my mesmerize...much thanks...not to the roms!!!
Click to expand...
Click to collapse
I'm not a moderator nor do I run things around here.. don't apologize to me. I was just curious b/c I thought it was kinda funny that you thought you needed two threads d=
1 of the topics was cause I didn't understand adb at all. This one was cause I couldn't find adb in the android sdk.but now I got it all worked out and things are running smooth with pick_n_pack, voodoo 5 and cwm and getting 1800 on quadrant now...all hail xda community!
Sent from my SCH-I500 using XDA App

BEST Guide for Returning to Stock ! (Add to guide thread?)

Here are the directions and files used to fix this problem (do not type any of the "quotation marks"):
1. Download the .zip file from here: http://www.megaupload.com/?d=YUYEMJNM
and put it on the root of your sdcard. (Do not unzip the file). Then rename it to PD15IMG.zip .
2. Download the miscnew file to your computer (uploaded as attachment to this post). Unzip it and place the miscnew.img file that was in the zip onto the root of your sdcard. You can delete the .zip file after you do this.
3. Boot your phone up like normal and connect your phone to your computer.
4. Make sure your sdcard is NOT mounted (but make sure those 2 files were copied to your sdcard).
5. Go into adb and type "adb shell"
6. Then type, "su"
7. Then type, "dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17"
8. Once this is done after about 5 seconds, turn your phone off and unplug from the computer.
9. Once the phone is off, hold down the volume-down key and the power button until you arrive at the bootloader. Once there, the phone should automatically start checking that .zip file you downloaded to the root of your sdcard. After its done checking, it will ask you if you want to continue, and just follow the prompt to say "yes" and YOU'RE DONE!
This guide was made by travisjames and was just put into my own words. His guide was a derivative of Apache14's OTA and Radio downgrade guide for the T-Mobile G2.
Also, thanks to Clarknick27 for tipping me off on how to get back into my phone after it was unbootable.
***Please click "thanks" if this helped you!
Ignore/Wrong thread...
two questions-
if i used gfree, do i need to undo gfree 1st? (you make no mention of rooting techniques, and if this undoes all those or not)
second, my phone, about a month ago, lost data connectivity on the usb port-- in other words, it charges fine, but i can not get any computer to pick it up any more to transfer files are use adb, which is a royal pain. -- can i use terminal emulator to accomplish your commands, or am I SOL ?
thanks
Yes, you need to undo Gfree.
Yes, you can run the commands from Terminal Emulator.
Added to Wiki.
thanks jack,
would the syntax be exactly the same as above via term em?
Yes, just skip the "adb shell" command.
Is this to undo 2.3.4 GB update and take it back to 2.2.1?
How do I undo gfree? And if I just run the pg15img will I keep root? I need a way to return to stock but rooted.
Sent from my Incredible 2 using XDA App
andrewp3481 said:
How do I undo gfree? And if I just run the pg15img will I keep root? I need a way to return to stock but rooted.
Sent from my Incredible 2 using XDA App
Click to expand...
Click to collapse
First question, Here is the thread you need to undo gfree (get s-on) http://forum.xda-developers.com/showthread.php?t=858996 (about half way down OP)
Second question, no you will not keep root
witch stock rom do you want rooted, stock 2.3.4 can not be rooted right now
So... to summarize, this would be to revert back to Android 2.3.4, sense 3.5 STOCK, without root, eng. hboot, or s=off.
In other words, if you purchased a MT4G now, or received a replacement MT4G with 2.3.4.... Following these steps will give you this new gingerbread stock state (approximately).
Please confirm. Thanks!
can i use this steps with terminal emulator on my phone instead of adb?
unciviilized said:
can i use this steps with terminal emulator on my phone instead of adb?
Click to expand...
Click to collapse
Yes...check the 3rd and 4th post of this thread....
Just curious, so if I flash this ROM in recovery, will I lose root, s-off, etc.?
What I'm trying to do is flash the phone to the MT4G stock rom (which I assume this is), use gfree to sim unlock it, then revert back to my nandroid backup, so I wanna make sure this will not interfere with my root access before I proceed to flashing it. Thanks in advance to whoever answers me~!
ronin178 said:
Yes...check the 3rd and 4th post of this thread....
Click to expand...
Click to collapse
ok so when im on emulator i do "s" and it says permission denied,
then i got to command prompt and it says adb shell is not recognized as and internal or external command. Any suggestions?
unciviilized said:
ok so when im on emulator i do "s" and it says permission denied,
then i got to command prompt and it says adb shell is not recognized as and internal or external command. Any suggestions?
Click to expand...
Click to collapse
You don't need to type adb shell because you are on terminal emulator.
Just type su to gain superuser access.
Then type dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17
Make sure you have the file miscnew.img in the root of your sd card.
Absolutely Perfect
I have looked and looked all over both XDA and the Interent in general. I was trying to restore my Glacier (MyTouch 4g) from stock 2.3.4 to stock 2.2. NOTHING worked. It got to the point that I didn't even remember everything that I tried. I followed this guide to the T. PERFECT!!! I am now back to having my phone exactly how I left the Tmo store with it.
I CANNOT THANK YOU ENOUGH!!
Great work in helping people out that don't understand. And making it a less strenious process
Sent from my HTC Glacier using xda premium
Jack_R1 said:
Yes, you need to undo Gfree.
Yes, you can run the commands from Terminal Emulator.
Added to Wiki.
Click to expand...
Click to collapse
Sorry, a complete noob to "gfree". I'm a new convert to GSM as I was with SPrint CDMA for 10 years until a couple weeks ago. I've rooted Samsing phones but never an HTC.
Anyways, I just purchased a MyTouch that had been rooted and loaded with Virtuous ROM. It's for my wife and she wants it back to stock. I tried all your directions exactly but still will not work. I'm assuming it's this "gfree" issue. I followed the link to the other thread but it's not clear on exactly what I need to do in my situation.
When I run the bootloader, it says bad or no such image... I have confirmed I have PD15IMG.zip and miscnew.img in the sdcard root directory.
Can someone please show me in simplified terms. Thanks!
socal88 said:
Sorry, a complete noob to "gfree". I'm a new convert to GSM as I was with SPrint CDMA for 10 years until a couple weeks ago. I've rooted Samsing phones but never an HTC.
Anyways, I just purchased a MyTouch that had been rooted and loaded with Virtuous ROM. It's for my wife and she wants it back to stock. I tried all your directions exactly but still will not work. I'm assuming it's this "gfree" issue. I followed the link to the other thread but it's not clear on exactly what I need to do in my situation.
When I run the bootloader, it says bad or no such image... I have confirmed I have PD15IMG.zip and miscnew.img in the sdcard root directory.
Can someone please show me in simplified terms. Thanks!
Click to expand...
Click to collapse
If you are new to this rooting stuffs, i suggest don't go with methods, that have potential to brick your phone.
Just do this simple method, Follow the link in my signature, you will see a Rooted version of the stock 2.3.4 rom.
Just flash the Rom through your recovery.........no big deal.......easy way to get the stock feel.....
Follow the instructions carefully.........Happy Flashing........
Thanks for the great help. One more question -- How do I turn "quick boot" off?

[q] [xoom 2] i think it's bricked

Uhm, I have a XYBOARD 10.1 inch (WIFI ONLY) And I edited something in Build.PROP. I then restarted at to my surprise it goes completely black after it shows the Motorola DUAL CORE screen. I can get into the recovery. I even Factory Resetted thinking that might help but, Nothing. Is there anything I can do to restore it? Because I'd rather not have an expensive XYBOARD paper weight.
BUMP? I really need help.
if you can get to recovery, you should be able to push stock OS via ADB.. there is a guide in the Xoom development section.
pinoiryder said:
if you can get to recovery, you should be able to push stock OS via ADB.. there is a guide in the Xoom development section.
Click to expand...
Click to collapse
And this is for XYBOARD? Anyway, I can't find the topic...
is there not maybe a way you can pull the build.prop file via adb edit change what you editied, then push it bk via adb???
just outta curiosity, what did you change in the build.prop, also remember, ALWAYS MAKE A BACKUP FIRST!!!! lol
[email protected] said:
is there not maybe a way you can pull the build.prop file via adb edit change what you editied, then push it bk via adb???
just outta curiosity, what did you change in the build.prop, also remember, ALWAYS MAKE A BACKUP FIRST!!!! lol
Click to expand...
Click to collapse
...
How do you make a BackUp on a XYBOARD?
Anyway, Can someone just link me to the needed programs and topic?
ok well since you know, you cant make backups on an XYBOARD then why muck about with it????
[email protected] said:
ok well since you know, you cant make backups on an XYBOARD then why muck about with it????
Click to expand...
Click to collapse
If one doesn't muck around with things, Nothing will ever be discovered.
But I should of waited until someone better at things like this paved the way.
*Beats self with XYBOARD*
SUperFatCatNine said:
If one doesn't muck around with things, Nothing will ever be discovered.
But I should of waited until someone better at things like this paved the way.
*Beats self with XYBOARD*
Click to expand...
Click to collapse
Lol can you not download the original image from motorola and flash it somehow ?? There must be a way surely
Sent from my Xoom using XDA Premium App
Does anyone have the stock build.prop for XYBOARD 10.1 Wifi only?
Also, How do you push it on using ADB?
I think there is no way to solve the problem. Send it to Motorola and will fix it for you.
Sent from my XOOM 2 ME using Tapatalk 2
As the XOOM2/Xyboard has a locked bootloader and no bootstrap for a recovery so your stuck right now until Motorola decides to care about the Android community. Also adb is not possible from what I heard when it can't boot. If you want some help then contact the not many Xyboard devs here "Bricks" as they are always happy to help bricked people.
luke.arran said:
As the XOOM2/Xyboard has a locked bootloader and no bootstrap for a recovery so your stuck right now until Motorola decides to care about the Android community. Also adb is not possible from what I heard when it can't boot. If you want some help then contact the not many Xyboard devs here "Bricks" as they are always happy to help bricked people.
Click to expand...
Click to collapse
It's More of a soft brick. I can get into recovery.
(It's Still Makes a Nice Frisbee or Paper Weight. xD)
SUperFatCatNine said:
It's More of a soft brick. I can get into recovery.
(It's Still Makes a Nice Frisbee or Paper Weight. xD)
Click to expand...
Click to collapse
I'm in the same situation as you as of today (But I have the Verizon Droid Xyboard 10.1). Messed around with the Build.prop and now its not working. I have a copy of the original Build.prop but don't know how I can push it to my tablet.
Adb is not working but fastboot is.
I don't think my original build.prop would be any help to you since I have the 4G version but if you want it let me know and I will send it to you!
Looks like I may have to send it to Motorola :-(
OK guys, no worries... I think I know the solution.
1 - enter in recovery
2 - open cmd on your PC
3 - go to adb and fastboot folder via cmd
4 - type:
Code:
adb devices
adb shell
su
cd /system
rm build.prop
exit
5 - copy original build.prop to this folder (adb one)
6 - type:
Code:
adb push build.prop /system/build.prop
adb reboot
exit
Hope that helps you guys it already helped me (I have the Origina Xoom)
Sent from my MZ601 using XDA Premium HD app
Just one more little thing, I presume you guys have su, as you changed build.prop and recovery (because to install super user recovery is needed!) If you guys don't have them, I'm sorry but don't know a solution...
Sent from my MZ601 using XDA Premium HD app
XxLordxX said:
OK guys, no worries... I think I know the solution.
1 - enter in recovery
2 - open cmd on your PC
3 - go to adb and fastboot folder via cmd
4 - type:
Code:
adb devices
adb shell
su
cd /system
rm build.prop
exit
5 - copy original build.prop to this folder (adb one)
6 - type:
Code:
adb push build.prop /system/build.prop
adb reboot
exit
Hope that helps you guys it already helped me (I have the Origina Xoom)
Sent from my MZ601 using XDA Premium HD app
Click to expand...
Click to collapse
And where might I find CMD?
It's a Windows thing... just search a little on it... try using the menu option to show up everything and search for cmd... Which OS are you using?
Sent from my MZ601 using XDA Premium HD app

[Q&A] Bump! - Unlock your LG G3 with TWRP! (ATT)

Q&A for Bump! - Unlock your LG G3 with TWRP! (ATT)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
D855 successfully bumped. Thank you for your hard work
Bumped D855 last night.
Anyone else having a issue mounting SD card in TWRP? I have a Samsung 64gb evo just wondering.
is MTP mode .. "Download" mode ?
& will there likely be an easier streamlined way to do this in the future or are those ADB commands & all that likely to stay the way..
Anyone else pumped for some rom baking? I can't wait to get some stock android
I need a video know how.....I don't understand how to do it.....
thcue said:
Anyone else having a issue mounting SD card in TWRP? I have a Samsung 64gb evo just wondering.
Click to expand...
Click to collapse
Looking at some of the other threads, it seems you card is probably formated as exFAT and it needs to be Fat32. Read more here: http://teamw.in/exFAT
sic0048 said:
Looking at some of the other threads, it seems you card is probably formated as exFAT and it needs to be Fat32. Read more here: http://teamw.in/exFAT
Click to expand...
Click to collapse
Was it forgot all about that
Were in business
Worked quite easily on my verizon variant
---------- Post added at 07:39 PM ---------- Previous post was at 07:33 PM ----------
http://forum.xda-developers.com/showthread.php?t=2588979
is there a way I can do this without plugging my phone in ?
Wireless ADB for example..
Or can I use Terminal Emulator ?
jaladhjin said:
is there a way I can do this without plugging my phone in ?
Wireless ADB for example..
Or can I use Terminal Emulator ?
Click to expand...
Click to collapse
As long as you can get the file to the root of the sdcard (I simply plugged my phone into the computer and moved the file over using Windows Explorer), you can use a terminal program. If you are following the direction in the bump thread, you won't start adp. Just issue the three commands starting with "SU" and then the two other commands follow (one at a time).
Works just fine.
Thank you for your hard work!! !!!!!!
sic0048 said:
As long as you can get the file to the root of the sdcard (I simply plugged my phone into the computer and moved the file over using Windows Explorer), you can use a terminal program. If you are following the direction in the bump thread, you won't start adp. Just issue the three commands starting with "SU" and then the two other commands follow (one at a time).
Works just fine.
Click to expand...
Click to collapse
tyvm
I'm just trying to think of how to do it all without cording into my computer..
so if I download the file.. move it to the root of the sd with a file explorer..
fire up the terminal emulator & do those commands starting with SU
I should be all good in the hood ?
Stoked
I have been rooting and custom romming sense my first smart phone. You guys rock. Thank you!
so I rooted my phone using TowelRoot. Based on the thread, the unlock bootloader process will factory reset the phone if it isn't root using Stump Root. So can I just apply Stump Root on top of my rooted phone before unlock to avoid factory reset?
Use flashify and be done with it that is unless you want to do the adb thing
kvl19 said:
so I rooted my phone using TowelRoot. Based on the thread, the unlock bootloader process will factory reset the phone if it isn't root using Stump Root. So can I just apply Stump Root on top of my rooted phone before unlock to avoid factory reset?
Click to expand...
Click to collapse
what thread?
the OP says it must be Rooted. this is so ADB SHELL can gain access to the System partitions.
PS ( after you connect to adb make sure you grant root access to SHELL) (should pop up on your phone)
I'm pretty sure i used towel root to ease your fears.
when you use the last adb command you should see some feed back about moving some data... "lots of bytes" moved to here in XXX amount of seconds thats how you know it worked.
Tweakecho said:
what thread?
the OP says it must be Rooted. this is so ADB SHELL can gain access to the System partitions.
PS ( after you connect to adb make sure you grant root access to SHELL) (should pop up on your phone)
I'm pretty sure i used towel root to ease your fears.
when you use the last adb command you should see some feed back about moving some data... "lots of bytes" moved to here in XXX amount of seconds thats how you know it worked.
Click to expand...
Click to collapse
You are right. I misread it. Thanks.
I saw someone else mention flashify.
Anyone tried it & sure it works?
Also I'm considering trying terminal emulator. 1 person said it should work.
Any other opinions?
Worried I'll do it & have a problem haha.
Flashify would be great too if it worked.
Anybody actually tried either?

Categories

Resources