[Q] HOWTO flash recovery - G2 and Desire Z Q&A, Help & Troubleshooting

When I was with G1, I used the command flash_image to flash the recovery or boot img. But in G2, I couldn't found the command...
Is there anyway to flash the image without fastboot or rom manager?

flash_image isn't in the stock ROM, you're right.
Without fastboot or ROM manager I am not sure how you can do it. Maybe you can just "dd" the image to the partition but I have not seen this documented anywhere, so I highly recommend you do not try that.;
Try doing a search on flash_image. I think a few others might have tried downloading a binary for flash_image, I can't remember how they got on.
If you copy on the eng hboot then you will have the fastboot options to do it (assuming adb/fastboot is setup on your PC).

elamarkant said:
When I was with G1, I used the command flash_image to flash the recovery or boot img. But in G2, I couldn't found the command...
Is there anyway to flash the image without fastboot or rom manager?
Click to expand...
Click to collapse
Heres a link on how to flash recovery without fastboot or rom manager, it uses terminal emulator, the instructions here are flashing CWM recovery 3.0 for gingerbread but the instructions can be used to flash any recovery IMG.
http://forum.xda-developers.com/showpost.php?p=10089218&postcount=172
Credit to: ultma75

joemm said:
Heres a link on how to flash recovery without fastboot or rom manager, it uses terminal emulator, the instructions here are flashing CWM recovery 3.0 for gingerbread but the instructions can be used to flash any recovery IMG.
http://forum.xda-developers.com/showpost.php?p=10089218&postcount=172
Credit to: ultma75
Click to expand...
Click to collapse
That won't work on a stock ROM though, it uses flash_image which isn't in the ROM and needs to be downloaded (as I said, I'm not 100% sure on if this definitely works on Vision).

steviewevie said:
That won't work on a stock ROM though, it uses flash_image which isn't in the ROM and needs to be downloaded (as I said, I'm not 100% sure on if this definitely works on Vision).
Click to expand...
Click to collapse
Here we go again steviewevie ( the wanna-be forum Mod), please tell me where in the OP's post he says he's on a stock ROM?????????? Did I miss Something???????
He asked what are the commands to flash recovery without fastboot or rom manager, and thats all he asked or specified and thats what I gave him. Again you are assuming to know what they really need.
And the link I provided is from a HTC VISION thread, so it definitely works on Vision.

joemm said:
Here we go again steviewevie ( the wanna-be forum Mod), please tell me where in the OP's post he says he's on a stock ROM?????????? Did I miss Something???????
He asked what are the commands to flash recovery without fastboot or rom manager, and thats all he asked or specified and thats what I gave him. Again you are assuming to know what they really need.
And the link I provided is from a HTC VISION thread.
Click to expand...
Click to collapse
Well, I'm making an assumption, yes. He's asking about flashing recovery without ROM Manager, so I am assuming he is on the stock ROM. Yes, that might be an incorrect assumption.
I'm not sure what your problem is with me. All I did was point out that wouldn't work on a stock ROM (which is true), you make it sound like I posted up a personal attack on you.
Yes, whenever *anyone* posts anything up quite often you need to ask questions and/or make assumptions about what they're doing. It's not the end of the world.
Yes, that's an HTC Vision thread but it's also a thread about CM. If he's on CM then he may well have the command.
Also bear in mind that others may read the thread who are on stock ROMs. I was simply pointing out that flash_image is not in the stock ROM.

To the OP - you can get flash_image from http://wiki.cyanogenmod.com/index.php?title=Flash_image
But if I was you I would search on "flash_image" in the Vision forums to see what others have found.

steviewevie said:
Well, I'm making an assumption, yes. He's asking about flashing recovery without ROM Manager, so I am assuming he is on the stock ROM. Yes, that might be an incorrect assumption.
I'm not sure what your problem is with me. All I did was point out that wouldn't work on a stock ROM (which is true), you make it sound like I posted up a personal attack on you.
Yes, whenever *anyone* posts anything up quite often you need to ask questions and/or make assumptions about what they're doing. It's not the end of the world.
Yes, that's an HTC Vision thread but it's also a thread about CM. If he's on CM then he may well have the command.
Also bear in mind that others may read the thread who are on stock ROMs. I was simply pointing out that flash_image is not in the stock ROM.
Click to expand...
Click to collapse
Its no personal attack on me, but all I seem to see you do is go around posting and make assumptions and trying to play froum mod all the time, "Thats wrong", "you posted in the worng thread any way", "your info is outdated" and on and on and on. People are allowed to post what they think will help. Not everyone shares you point of view on things. I would hope that you would give people credit on there intelligence level and know what they are asking? I dont claim to know everything but I do read the threads A LOT, so if you are giving a warning to the noob about your assumptions then please do and make it clear, but do not say things are wrong or wont work when your are assuming things. Thats it. Oh yeah Happy New Year.

joemm said:
Its no personal attack on me, but all I seem to see you do is go around posting and make assumptions and trying to play froum mod all the time, "Thats wrong", "you posted in the worng thread any way", "your info is outdated" and on and on and on. People are allowed to post what they think will help. Not everyone shares you point of view on things. I would hope that you would give people credit on there intelligence level and know what they are asking? I dont claim to know everything but I do read the threads A LOT, so if you are giving a warning to the noob about your assumptions then please do and make it clear, but do not say things are wrong or wont work when your are assuming things. Thats it. Oh yeah Happy New Year.
Click to expand...
Click to collapse
Well, thanks for your opinion on my posts. I think perhaps you need to look at the vast majority of my posts, not one or two.
But anyway, I did already post about flash_image not being in a stock ROM, and since the OP couldn't find the command flash_image in his ROM, then I think it's not a totally unfair assumption to make that he's on a stock ROM. But if the assumption is wrong that's fine, no need to get all personal about it.
Happy New Year to you too

steviewevie said:
Well, thanks for your opinion on my posts. I think perhaps you need to look at the vast majority of my posts, not one or two.
But anyway, I did already post about flash_image not being in a stock ROM, and since the OP couldn't find the command flash_image in his ROM, then I think it's not a totally unfair assumption to make that he's on a stock ROM. But if the assumption is wrong that's fine, no need to get all personal about it.
Happy New Year to you too
Click to expand...
Click to collapse
You are right about looking at the vast majority of your post, you help a lot of people around the thread. Im not implying you don't.

joemm said:
You are right about looking at the vast majority of your post, you help a lot of people around the thread. Im not implying you don't.
Click to expand...
Click to collapse
Yay group hug?

Open Terminal Emulator and type in the following (without the # or $):
$ su
# flash_image recovery /path/to/name-of-recovery.img
# reboot recovery
Click to expand...
Click to collapse
If that doesn't work, you'll need the Fastboot binary for your computer.
Sent from a Western Union telegram.

omarsalmin said:
Yay group hug?
Click to expand...
Click to collapse
Lol
Sent from my T-Mobile G2 using XDA App

*hugs*
(10 chars)

steviewevie said:
To the OP - you can get flash_image from
But if I was you I would search on "flash_image" in the Vision forums to see what others have found.
Click to expand...
Click to collapse
thx~
It seems that the new CM hasn't come along with the binary flash_image...

elamarkant said:
thx~
It seems that the new CM hasn't come along with the binary flash_image...
Click to expand...
Click to collapse
Actually it does, at least if we are talking about 6.1.1 stable. I know because that's how I got the binary. You can download the CM update zip, extract the files and flash_image is in there (in /system/bin).
I haven't actually tried to use the flash_image extracted from the CM zip because by the time I figured it out I had already given up and used ROM Manager to flash the recovery, but I suspect it will work.

raitchison said:
Actually it does, at least if we are talking about 6.1.1 stable. I know because that's how I got the binary. You can download the CM update zip, extract the files and flash_image is in there (in /system/bin).
I haven't actually tried to use the flash_image extracted from the CM zip because by the time I figured it out I had already given up and used ROM Manager to flash the recovery, but I suspect it will work.
Click to expand...
Click to collapse
Actually I want to flash the boot.img without pc...

elamarkant said:
Actually I want to flash the boot.img without pc...
Click to expand...
Click to collapse
Well in your OP you asked about recovery also, boot image and recovery two diffrent things.. so if all you wanted was the boot image you should have been more specific and left recovery out of your question.
Sent from my T-Mobile G2 using XDA App

Related

Help in flashing CM9 on primo u

Can someone give me directions to flash cm9 completely???
I used SGS before so dont know much about kernels and boot image
Currently i've unlocked my bootloader and with clockwork recovery using toolkit
harsh.ea said:
Can someone give me directions to flash cm9 completely???
I used SGS before so dont know much about kernels and boot image
Currently i've unlocked my bootloader and with clockwork recovery using toolkit
Click to expand...
Click to collapse
Yes. I had a SGS before, so I know where you're coming from. Basically it's the same process, you put the zip on the SD and flash it. The difference is that you have to manually flash the boot.img before with fastboot. If you unlocked your bootloader you already sucessfully set up fastboot, so you're done half the way. You can follow the tutorial found here. I do recommend using the official non-touch CWM instead of TWRP, which some people say has random freezes. Be sure to use a cm9 kernel. I use KISS. It's best to understand all the steps in advance so you won't do a careless mistake.
BirthdayDog11 said:
Yes. I had a SGS before, so I know where you're coming from. Basically it's the same process, you put the zip on the SD and flash it. The difference is that you have to manually flash the boot.img before with fastboot. If you unlocked your bootloader you already sucessfully set up fastboot, so you're done half the way. You can follow the tutorial found here. I do recommend using the official non-touch CWM instead of TWRP, which some people say has random freezes. Be sure to use a cm9 kernel. I use KISS. It's best to understand all the steps in advance so you won't do a careless mistake.
Click to expand...
Click to collapse
I used the toolkit to unlock bootloader so no idea about fast boot. And which img file should i use for cm9 by lloir???
harsh.ea said:
I used the toolkit to unlock bootloader so no idea about fast boot. And which img file should i use for cm9 by lloir???
Click to expand...
Click to collapse
wait a couple of hours, im releasing beta 4 later
harsh.ea said:
I used the toolkit to unlock bootloader so no idea about fast boot. And which img file should i use for cm9 by lloir???
Click to expand...
Click to collapse
Ok, fastboot means having your phone connected via usb, typing commands into your computer. The hardest part for me was setting it up the first time. I think one of the linked tutorials explains it, otherwise try searching for it on google. Also there are a few threads in the Q&A section which should be of help. Once you have it set up you need to copy the kernel into the fastboot folder on your computer, rename it boot.img and type into the terminal: fastboot flash boot boot.img
Yes, as kernel you use the cm9 one.
Lloir said:
wait a couple of hours, im releasing beta 4 later
Click to expand...
Click to collapse
How very awesome!
Lloir said:
wait a couple of hours, im releasing beta 4 later
Click to expand...
Click to collapse
be sure to add the correct BOOT.IMG file in zip this time
harsh.ea said:
be sure to add the correct BOOT.IMG file in zip this time
Click to expand...
Click to collapse
or you could just read the thread where it says DONT FLASH the boot.img in the zip
Lloir said:
wait a couple of hours, im releasing beta 4 later
Click to expand...
Click to collapse
Lloir said:
or you could just read the thread where it says DONT FLASH the boot.img in the zip
Click to expand...
Click to collapse
If not to flash that , WHAT TO FLASH??? understand your followers mate
harsh.ea said:
If not to flash that , WHAT TO FLASH??? understand your followers mate
Click to expand...
Click to collapse
Well, if you were to read the entire OP, you would have found out that there's a special boot.img you are supposed to flash, and that if you flash the boot inside the zip, you can say Bye Bye to your device.
Please read threads thoroughly.
harsh.ea said:
If not to flash that , WHAT TO FLASH??? understand your followers mate
Click to expand...
Click to collapse
i do UNDERSTAND my "followers" mate......if you had read the thread, you would have seen links to kernel's for the CM9 boot.img to flash
Lloir said:
i do UNDERSTAND my "followers" mate......if you had read the thread, you would have seen links to kernel's for the CM9 boot.img to flash
Click to expand...
Click to collapse
Now Its in the 1st post, wasn't before. When will your rom get fully stable btw??
harsh.ea said:
Now Its in the 1st post, wasn't before. When will your rom get fully stable btw??
Click to expand...
Click to collapse
i have been cleaning up the thread!! the only time it wasnt there, was for 30minutes earlier!! after the next update there wont be a link to it just a download with the rest of the files....and how long is a piece of string?

[SOLVED]Koodo Stock Recovery found!

GO TO THE POST BELOW FOR THE RECOVERY AND INFO. PLEASE THANK HIM
CLICK ME FOR POST.
This is his topic full of stock recoveries and what-not
--------------------
Bear in mind that I do not have the time to restore to stock, and then check it for myself if you can extract the stock recovery without root, but you probably can. Please refer to the quote I will post below as I have little time to clean this post up.
Please thank user Davy Jones for actually finding the solution!
Davy Jones said:
Okay, I don't know any coding so I apologize if this is a dumb suggestion, but is it possible to follow the article's directions to pull recovery? So from shell:
dd if=/dev/block/mmcblk0p22 of=/sdcard/recovery.img bs=4096
I'm already on cwm so I have no way of testing this. Also, please don't try this unless you know what you are doing. I tried this on cwm and it created a file that was 10MB instead of the .img I originally flashed, which was 5.98MB.
Click to expand...
Click to collapse
My post starts here
-------------------------------------------
Alrighty that's wonderful. I am trying a guide right now and I will see if I am successful at extracting a recovery and I will report back.
EDIT
I've made wonderful process, and I've extracted a 10mb file which what the recovery.img supposed to be resized to.
So i've basically typed in
After this, I got a huge list of the partitions, and using this I've confirmed that mmcblk0p22 is the block that contains the recovery (I also made sure that I didn't extract something else, etc by checking what the userdata and sdcard size is supposed to be?
Then I typed in
and got
So I ended up with a 10MB file sitting in the root of my internal memory (known as sdcard)
Now I will try to confirm if it is the same file as my recovery.
EDIT
Well after more digging around.. I found this and where it says "Download - Recovery Image Method (using dd):" It shows that the block which the recovery is in in actually the same as the one above, so there was an easier way. Oh well! At least we confirmed that we have the correct file, the question is, can we flash it, guess I'll try after I get home.
If you want to try this out on a NON-Rooted one, you'll have to go to Settings>Developer Options>Root access and allow ADB.
-----------------------------------------------
Quote ends here.
Hopefully you're a Koodo owner reading this and have noticed the title.
Many of us Koodo owners, have rooted, installed a custom recovery, and have started the flashing frenzy, but we have forgot one thing.
No its not making a NAND of the stock ROM, its the fact the we forgot to backup our stock recoveries! I know it might not be a difference compared to the Telus recovery, but we still need to be sure, that when we want to update, or if we want to return the phone, what we are fully stock.
So what I'm asking you, is to make a backup of your Koodo stock recovery, and share it with us
Unfortunately I do not know how to extract a recovery.img. So hopefully an XDA member will post a guide in this to help us extract the .img
or as always, Google is your best friend
Cheers, and thanks
EDIT
Koragg618 said:
I have found a link on how to get it
http://www.addictivetips.com/mobile...es-boot-recovery-and-system-partition-images/
Download link for RomDump is at the end of the article
Click to expand...
Click to collapse
Those are the instructions.
Thanks everyone for contributing!
I have a stock phone still but need a guide on pulling my recovery. Would I just use ADB or?...
chevymeister said:
I have a stock phone still but need a guide on pulling my recovery. Would I just use ADB or?...
Click to expand...
Click to collapse
Im not a koodo member but is it not the same way for tmobile users? With stock ODIN flash? when I ODIN flash my t989 to stock it also flash the stock recovery
I have found a link on how to get it
http://www.addictivetips.com/mobile...es-boot-recovery-and-system-partition-images/
Download link for RomDump is at the end of the article
Bump, since no one is really noticing the pinned topic
Koragg618 said:
Bump, since no one is really noticing the pinned topic
Click to expand...
Click to collapse
I could help, Ive got a Koodo S2 X. However, its not rooted, would i still be able to make a backup of my stock recovery.
Yes I believe it is still possible, just make sure Debugging mode is on and you are using the ADB method, and not the one that has the Android Terminal one. Thanks
My friend and my girlfriend both have Stock Koodo Phone... so i'm gonne try to bring the original Koodo Recovery.img. I read the articles from addictive tips... but i think i missed something, They said we need to root the phone but the first step in the method to root the phone is to install CWM recovery IMG via Odin... So it will overwrite Koodo original Recovery.img.... before i extract it...
Any clue or hint ???
Maybe another way to root via ADB ???
I have a Koodo T989D still on stock everything. I want to root my phone and do all this fancy stuff on it but I'm not in a hurry. I can make a copy of my stock recovery if I get the proper instructions.
edit: isn't this what you're looking for anyway?? http://forum.xda-developers.com/showthread.php?t=1849748
tazmania12345 said:
I have a Koodo T989D still on stock everything. I want to root my phone and do all this fancy stuff on it but I'm not in a hurry. I can make a copy of my stock recovery if I get the proper instructions.
edit: isn't this what you're looking for anyway?? http://forum.xda-developers.com/showthread.php?t=1849748
Click to expand...
Click to collapse
No. What you're pointing to us is a custom Rom... Based on the Stock Koodo Rom. What we are looking for is the Stock Recovery... Just to put back the entire phone in original condition if you have to bring it back to manufacturer for repair...
Tornade69 said:
No. What you're pointing to us is a custom Rom... Based on the Stock Koodo Rom. What we are looking for is the Stock Recovery... Just to put back the entire phone in original condition if you have to bring it back to manufacturer for repair...
Click to expand...
Click to collapse
Oh i see... I'm still on stock 4.0.4 so i'll definitely try to provide the backup. Like i said, i'd need the proper instructions because i'm new to all of this.
Someone previously posted the stock recovery which I have attached. Use at your own risk since I have not tested it!
Amazing, where did you find this!
Koragg618 said:
Amazing, where did you find this!
Click to expand...
Click to collapse
Someone previously posted it few weeks ago on the XDA forums in the device dev section and I had downloaded and kept a copy in case I needed it.
jumran said:
Someone previously posted it few weeks ago on the XDA forums in the device dev section and I had downloaded and kept a copy in case I needed it.
Click to expand...
Click to collapse
Thanks! This will come in handy.
Sorry to be the bad news but I believe this recovery is the one that I've packaged before I though I've found the TLLG2 stock recovery from this site page 68( post by netusername and uploading it without testing it 1st.... then later installed/tested it and it was a CWM touch recovery and not the TLLG2 stock recovery, Sorry again.
Source:
User:netusername
KOODO STOCK IMAGE/RESTORE
Directions: Download these three in the same folder - Part 1, Part 2, Part 3
Use Winrar/7zip to only extract Part 1 after you have all three parts in the same folder. You should get a folder called clockworkmod. There should be another folder called "backup" inside.
Put the "clockwordmod" folder in your sd card.
Use clockwordmod to restore after factory reset, wipe system, wipe dalvik cache.... It is recommended that you use Clockwordmod 6 - it can be found here - http://forum.xda-developers.com/show....php?t=1823117
Enjoy!
Click to expand...
Click to collapse
Sent from my ♛ SGH-T989 ♛ using XDA app.
Oh well thats confusing Thanks for the info man!
Sorry I'm not following.
Do you mean the post by jumran (http://forum.xda-developers.com/showpost.php?p=32299219&postcount=12) is not the stock recovery and is actually a CWM recovery that you're mentioning?
KRZ-2pa said:
Sorry to be the bad news but I believe this recovery is the one that I've packaged before I though I've found the TLLG2 stock recovery from this site page 68( post by netusername and uploading it without testing it 1st.... then later installed/tested it and it was a CWM touch recovery and not the TLLG2 stock recovery, Sorry again.
Source:
Sent from my ♛ SGH-T989 ♛ using XDA app.
Click to expand...
Click to collapse
Yes it is a CMW Touch recovery and no problem
[curious] What are you guys doing? [/curious]
You realize backing up any part of your original stock ROM is pointless? All you have to do pick up the original stock tarball from Samsung's website, fire up ODIN, flash, and then not even Samsung can tell you ever did something to your phone. It will be stock everything: radio, recovery, ROM...
---------- Post added at 08:41 PM ---------- Previous post was at 08:31 PM ----------
Here, follow the instructions: http://fus.nanzen.se/
There are no presets for Koodo, but all the information you need is readily available on the original box your phones came in.
And if you really need the Koodo recovery for whatever reason, it is an IMG file inside the TARball. You can just DD it in place.

[Q] Issue with 3G/LTE Connection After ROM Flash

Long time lurker, first (maybe second) time poster.
I'd really like to mess around with my phone's potential, but every time I flash a custom ROM I lose all data connectivity. 2g/voice works fine, but 3G and LTE are out the window.
Here are a few things I've tried AFTER flashing to a customer ROM. I come from years of using HTC phones and software, so I'm definitely fumbling around in the dark here. Please, excuse me if I sound ridiculous.
- I'm on Sprint
- Flashed radio zips in recovery (various ones from reading other threads)
- Used Odin to flash radio files (various ones from reading other threads)
- Repeatedly attempted to update Profile and PRL with error messages saying I couldn't update them and to call customer service
I'm not really sure what else to put up here or to try. I'm hoping the great XDA can help out! Again, I only loose data connectivity after flashing a new ROM. Unlock and root do not effect radios, and I'm able to use the phone just fine on stock software.
Attached is a screenshot of my stock build.
Thanks,
Brandon
I am a little baffled that after 150 views, no one else on this board has shared a similar experience. While its remotely possible, there is just no way I am the only one to have had this issue.
Also... shamless self-bump,.
you are flashing a sprint rom correct?
Zepius said:
you are flashing a sprint rom correct?
Click to expand...
Click to collapse
I'd hope so. I've gotten them all from the Sprint section of the GN forum here on XDA.
i would try flashing the factory images for sprint with fastboot and not odin. this may help more in making sure you have the exact radio/etc you need.
https://developers.google.com/android/nexus/images#mysidspr
Zepius said:
i would try flashing the factory images for sprint with fastboot and not odin. this may help more in making sure you have the exact radio/etc you need.
Click to expand...
Click to collapse
So, here's my order of operations here...
1) flash factory image with fastboot
2) install custom ROM
3) ???
4) Profit?
I mean, if there are other steps, I'm sure I can figure them out. So, I'm assuming that there is typically no need to do anything to the radios after installing a ROM?
after flashing the stock images (all of them, dont leave any out just to be sure) youd need to flash the custom recovery and then you can install the custom rom.
Zepius said:
after flashing the stock images (all of them, dont leave any out just to be sure) youd need to flash the custom recovery and then you can install the custom rom.
Click to expand...
Click to collapse
Sorry, but when you say all of the stock images, what do you mean? What other stock images are there?
And wait, sorry, there's something I didn't mention. I've been using the GN ToolKit for a lot of this. How do I push the stock image you linked me to using fastboot? I'm familiar with using ADB and all that, but I have no idea what to do without a guide. I certainly am not a programmer, just an enthusiast.
Thanks
itsasmallboat said:
Sorry, but when you say all of the stock images, what do you mean? What other stock images are there?
And wait, sorry, there's something I didn't mention. I've been using the GN ToolKit for a lot of this. How do I push the stock image you linked me to using fastboot? I'm familiar with using ADB and all that, but I have no idea what to do without a guide. I certainly am not a programmer, just an enthusiast.
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1626895 - follow the steps similar to the verizon version, except make sure you download the mysidspr image from the google website.
flash every image. bootloader, radios (note there are 2 with the CDMA versions), system, userdata (copy your SD card off before you do this as it will wipe the phone) boot. do not skip anything.
Zepius said:
- follow the steps similar to the verizon version, except make sure you download the mysidspr image from the google website.
flash every image. bootloader, radios (note there are 2 with the CDMA versions), system, userdata (copy your SD card off before you do this as it will wipe the phone) boot. do not skip anything.
Click to expand...
Click to collapse
Alright. Two hours later and after all that... same result. No matter what I do, booting to any custom ROM does not allow me to access 3G/LTE. Should I just give up? lol
Alright, I've been doing some research and apparently I need my phones unique MSL codes to enter in after I flash a new ROM. Any suggestions on how to find my MSL and how to type these codes in after flashing?
Update:
Found a way to get my MSL using a script in terminal w/ root. I can access the data settings menu, but STILL cannot get my MSL for this.
Please help! We've gotten this far!

[Q] No SD card mounted?

I recently installed the Android 4.4.2 KitKat custom ROm "Carbon" on my HTC One X Endevarou, and after some trouble that I got fixed with the help of this forum, I got it all working. Now I have another problem though... I can't access my SD card when the phone is booted. I can access it in recovery mode and as a USB Storage in recovery mode, but when I go to for example gallery, it says "No external storage found"
ChaosDuck said:
I recently installed the Android 4.4.2 KitKat custom ROm "Carbon" on my HTC One X Endevarou, and after some trouble that I got fixed with the help of this forum, I got it all working. Now I have another problem though... I can't access my SD card when the phone is booted. I can access it in recovery mode and as a USB Storage in recovery mode, but when I go to for example gallery, it says "No external storage found"
Click to expand...
Click to collapse
have you checked if there is any fix/workaround in the rom thread, or even if anyone reports tehe issue? it's not an hardware problem for sure, as you can access it via recovery...
Try another aosp kernel. That seems to fix it.
lukes91 said:
have you checked if there is any fix/workaround in the rom thread, or even if anyone reports tehe issue? it's not an hardware problem for sure, as you can access it via recovery...
Click to expand...
Click to collapse
I searched around the XDA forums and on the official Carbon ROM website, but didn't find anything.
Mr Hofs said:
Try another aosp kernel. That seems to fix it.
Click to expand...
Click to collapse
And if you had to explain that to a noob? I Googled it, but it only returned gibberish for me.
Well like there are custom sense kernels, there are also custom aosp kernels. Check the original android dev section. You see some kernel headlines that are also for aosp. Try one it might help.
head over this thread
lukes91 said:
head over this thread
Click to expand...
Click to collapse
Ohh, nice. I have no idea what kernel to flash though, do I just pick any? And what version exactly? I am at a loss.
read the respective thread, search if there is an aosp version of the kernel, read if there are issues and flash one (repack if required)... test if for some days and if you are not satisfied take another one and start over
lukes91 said:
read the respective thread, search if there is an aosp version of the kernel, read if there are issues and flash one (repack if required)... test if for some days and if you are not satisfied take another one and start over
Click to expand...
Click to collapse
Okay, I guess I'll try. Hope it can be fixed if I screw something up again.
ChaosDuck said:
Okay, I guess I'll try. Hope it can be fixed if I screw something up again.
Click to expand...
Click to collapse
sure you can take a nandroid backup before starting, it is always the best choice and the fastest way to revert back in case of issues
lukes91 said:
sure you can take a nandroid backup before starting, it is always the best choice and the fastest way to revert back in case of issues
Click to expand...
Click to collapse
I tried two different AOSP versions of the Next EP kernel, but to no avail. Do you have any specific suggestions that you know will work, or does it just have to be guess-work?
ChaosDuck said:
I tried two different AOSP versions of the Next EP kernel, but to no avail. Do you have any specific suggestions that you know will work, or does it just have to be guess-work?
Click to expand...
Click to collapse
sorry, i'm on sense rom, but i read in lyapota's kernel that it can be used with aosp rom... search the thread to find infos...
Ask him http://forum.xda-developers.com/showthread.php?t=2692699
Mr Hofs said:
Ask him http://forum.xda-developers.com/showthread.php?t=2692699
Click to expand...
Click to collapse
Thanks a lot, the threads are conflicting a bit in info though. After flashing the kernel, do I have to extract the boot.img and flash that in fastboot? Some threads tell me to do this, some threads don't.
EDIT: I tried it and now it seems to work. Thanks a lot for the help guys, you are awesome!
ChaosDuck said:
Thanks a lot, the threads are conflicting a bit in info though. After flashing the kernel, do I have to extract the boot.img and flash that in fastboot? Some threads tell me to do this, some threads don't.
Click to expand...
Click to collapse
yeah, just like you did with the rom one...
boot.img = kernel
kernel_name.zip = kernel modules
you can avoid flashing the boot.img only if your hox is s-off and the developer put the instruction to flash the boot.img in the updater script inside the zip file... so flash it via fastboot

Asking how to revert back to stock marshmallow

Iam on lineageOS i'm really enjoying the google UI and everything but does anybody know how can I revert to stock marshmallow ?
yasinsamara1273 said:
Iam on lineageOS i'm really enjoying the google UI and everything but does anybody know how can I revert to stock marshmallow ?
Click to expand...
Click to collapse
The easiest way is by stock ruu.
http://www.htc.com/us/support/rom-downloads.html
Sent from my Pixel using Tapatalk
dcshoecomp said:
The easiest way is by stock ruu.
http://www.htc.com/us/support/rom-downloads.html
Click to expand...
Click to collapse
I just need to plug the phone and open the RUU file ? That's it
I won't need to relock the bootloader or anythinng ?
yasinsamara1273 said:
I just need to plug the phone and open the RUU file ? That's it
I won't need to relock the bootloader or anythinng ?
Click to expand...
Click to collapse
Oh wow yes sorry relock bootloader by fastboot oem lock. Also if you changed your cid should match the ruu you want to flash.
Sent from my Pixel using Tapatalk
Sorry i'm new to this whole ADB and cmd thing I need a tutorial on how to relock the bootloader and how to find the right RUU and match the CID i don't wanna brick this phone thank you ?
dcshoecomp said:
Oh wow yes sorry relock bootloader by fastboot oem lock. Also if you changed your cid should match the ruu you want to flash.
Click to expand...
Click to collapse
Sorry i'm new to this whole ADB and cmd thing I need a tutorial on how to relock the bootloader and how to find the right RUU and match the CID i don't wanna brick this phone thank you ?
If you don't know how to revert back to stock HTC firmware, you have no business flashing custom ROMs. Plus....did you even google your inquiry? No.
Search the forums.
yasinsamara1273 said:
Iam on lineageOS i'm really enjoying the google UI and everything but does anybody know how can I revert to stock marshmallow ?
Click to expand...
Click to collapse
Check the following link. I hope this would help you
https://forum.xda-developers.com/showthread.php?t=2701376
Thank you
metalchef said:
If you don't know how to revert back to stock HTC firmware, you have no business flashing custom ROMs. Plus....did you even google your inquiry? No.
Search the forums.
Click to expand...
Click to collapse
Nobody has been born learned
yasinsamara1273 said:
Sorry i'm new to this whole ADB and cmd thing I need a tutorial on how to relock the bootloader and how to find the right RUU and match the CID i don't wanna brick this phone thank you
Click to expand...
Click to collapse
Did you unlock the bootloader yourself? If so, you know enough about fastboot to relock the bootloader.
Also, if you do fastboot getvar all, and post the result (delete IMEI and serial number) we can see the CID, and determine what RUU (if that CID has one).
Or the other option to go back to Sense Marshmallow, is to restore a stock TWRP backup as suggested. Here is another thread of such stock TWRP backups, and this one has better instructions:
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
EDIT: Fixed the link above, which was clearly not the right one (intended for a reply to a different thread).
yasinsamara1273 said:
Nobody has been born learned
Click to expand...
Click to collapse
While the post was not particularly polite (nor is he required to be so), I do agree with the main point: if you are flashing custom ROMs, you really should have researched how to return to stock. I see that a lot of folks skip this (you aren't the only one, by far), but I also don't see why they do. Would you take apart your car's engine without knowing how to put it back together? Probably not.
Along those basic lines (good rules of thumb for phone modding), if you had simply made your own backup of the stock ROM before flashing a custom ROM; you could simply just restore that backup in order to revert to stock. It's a basic good practice: never do any mods (root, custom ROM) without first making a TWRP backup.
redpoint73 said:
Did you unlock the bootloader yourself? If so, you know enough about fastboot to relock the bootloader.
Also, if you do fastboot getvar all, and post the result (delete IMEI and serial number) we can see the CID, and determine what RUU (if that CID has one).
Or the other option to go back to Sense Marshmallow, is to restore a stock TWRP backup as suggested. Here is another thread of such stock TWRP backups, and this one has better instructions:
https://www.xda-developers.com/the-...axy-s8s8-varying-between-ufs-2-1-and-ufs-2-0/
---------- Post added at 09:40 AM ---------- Previous post was at 09:35 AM ----------
While the post was not particularly polite (nor is he required to be so), I do agree with the main point: if you are flashing custom ROMs, you really should have researched how to return to stock. I see that a lot of folks skip this (you aren't the only one, by far), but I also don't see why they do. Would you take apart your car's engine without knowing how to put it back together? Probably not.
Along those basic lines (good rules of thumb for phone modding), if you had simply made your own backup of the stock ROM before flashing a custom ROM; you could simply just restore that backup in order to revert to stock. It's a basic good practice: never do any mods (root, custom ROM) without first making a TWRP backup.
Click to expand...
Click to collapse
Thank you and yes. I should have known better before flashing an RR ROM I didn't search for it because i thought it was simple
But are you saying that i can download another stock ROM TWRP backup and flash it and i'd good to go or i have to get the right RUU ?
yasinsamara1273 said:
Thank you and yes. I should have known better before flashing an RR ROM I didn't search for it because i thought it was simple
Click to expand...
Click to collapse
Modding phones is not simple. You should research and understand everything properly, before you do any mods to any device. Maybe all the YouTube guides and one-click root apps make phone modding look easy, but it's really not a trivial thing.
Maybe it's just my own personality. But to me, it's basic logic that you shouldn't tinker with an electronic device that cost hundreds of dollars, without having some backup plans, knowing how to undo the mods, etc.
yasinsamara1273 said:
But are you saying that i can download another stock ROM TWRP backup and flash it and i'd good to go or i have to get the right RUU ?
Click to expand...
Click to collapse
You can do either (restore stock TWRP backup vs. run RUU). That is, assuming your version M8 has an RUU, not all do (and you haven't given any info that would allow us to determine that).
I already said that restoring a stock TWRP backup was an option, and it was also suggested by another (Post #8 above). So I don't now what you asked that question. Obviously it's something you can do; otherwise why would we say it was?
Keep in mind that a stock TWRP backup is not exactly the same as a flashable ROM. You need to extract the files, save them to the proper place on the phone, then use the RESTORE option in TWRP (as opposed to INSTALL for flashable ROMs). The process (and required files) can be found on the following thread (I tried to give this link above, but linked it improperly - so here it is again):
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
redpoint73 said:
Modding phones is not simple. You should research and understand everything properly, before you do any mods to any device.
Maybe it's just my own personality. But to me, it's basic logic that you shouldn't tinker with an electronic device that cost hundreds of dollars, without having some backup plans, knowing how to undo the mods, etc.
You can do either (restore stock TWRP backup vs. run RUU). That is, assuming your version M8 has an RUU, not all do (and you haven't given any info that would allow us to determine that).
I already said that restoring a stock TWRP backup was an option, and it was also suggested by another (Post #8 above). So I don't now what you asked that question. Obviously it's something you can do; otherwise why would we say it was?
Keep in mind that a stock TWRP backup is not exactly the same as a flashable ROM. You need to extract the files, save them to the proper place on the phone, then use the RESTORE option in TWRP (as opposed to INSTALL for flashable ROMs). The process (and required files) can be found on the following thread (I tried to give this link above, but linked it improperly - so here it is again):
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Click to expand...
Click to collapse
I read the thread and it's pretty simple now i know how to get back to htc sense
Thank you I really appreciate your help
yasinsamara1273 said:
Thank you
Click to expand...
Click to collapse
Hello Samara, please let me know if that worked for you
Thanks
aliasi11 said:
Hello Samara, please let me know if that worked for you
Thanks
Click to expand...
Click to collapse
Don't worry I'm not planning on going back to stock right now i just wanted to know my way back
yasinsamara1273 said:
Don't worry I'm not planning on going back to stock right now i just wanted to know my way back
Click to expand...
Click to collapse
That's good. You can even try different Sense ROMs, not necessarily going back to stock ROM. :angel:
aliasi11 said:
That's good. You can even try different Sense ROMs, not necessarily going back to stock ROM. :angel:
Click to expand...
Click to collapse
That's what i want to i'm looking forward to try the LeeDroid's ROM as soon as i get bored from Resurrection Remix thank you for all the support i always appreciate positive vibes
yasinsamara1273 said:
That's what i want to i'm looking forward to try the LeeDroid's ROM as soon as i get bored from Resurrection Remix thank you for all the support i always appreciate positive vibes
Click to expand...
Click to collapse
I wish I could try Resurrection Remix too. but unfortunately I cant use all of Naugat ROMs
Why dont you also try some of the ROMs other then pure M8 ROM, e.g. M10 Sense ROM etc? I am running M10 ROM and its fantastic.
I always be with the positive and jolly vibes and encourage others to be like this
aliasi11 said:
I wish I could try Resurrection Remix too. but unfortunately I cant use all of Naugat ROMs
Why dont you also try some of the ROMs other then pure M8 ROM, e.g. M10 Sense ROM etc? I am running M10 ROM and its fantastic.
I always be with the positive and jolly vibes and encourage others to be like this
Click to expand...
Click to collapse
Wow why can't you try Resurrection Remix ?
Where did you find M10 Rom ?? I'm curious

Categories

Resources