Repartition Before ROM Install? Why? - G Tablet General

In the main clockwork mod thread there is no mention of repartioning prior to installing a rom.
Is this necessary and why?
I came across it in another guide.
Thanks

I think it's based on the rom, so that info would be found with your rom info

I asked the same question here:
http://forum.xda-developers.com/showthread.php?t=1006012
While there was no definitive answer I think I'll partition out of an abundance of caution. It seems that many problems are solved by repartitioning and as my Grandma used to say...
..."couldn't hoit."

I can answer, to a point. We've seen that, over time, the device can get into such a state that even a data wipe or reflash does not correct problems - that's where the SD repartitioning comes in. It's kind of a last ditch effort prior to nvflashing it.
I've had to repartition my device several times - the last time I did it, it fixed the "Status 7" errors when I tried to flash new firmware. My guess is that the /sdcard was so messed up that the recovery program could not accurately read the update.zip on it, anymore.

Related

Trouble Flashing ROM

I have a Droid Incredible Rooted using Unrevoked forever with S-Off. I have been running CM 6.0.2 for a while now and had an issue the other day with my SD card. The card died and when I put a new card in the phone got stuck in a boot loop. I tried reflashing CM 6.0.2 and gapps but I continue to get the same boot loop. I understand that you need to wipe all data but when I atempt to wipe the Dalvik Cache I get the the following message "E:Can't mount /dev/block/ (File Found)" what do I need to do to fix this. I have no phone right now and have become extremely dependent on using it for everything from GPS to MP3 player in my daily life so any help would be greatly appreciated. I have read some posts suggesting running logcat to find what error I am getting during the bootloop that is happening, but I have no idea how to do that. I think the main issue is that I cannot do a full wipe before flashing the ROM.
Please help! I don't want to chalk this up to a bricked device, but I won't be able to hold out much longer since I have to travel this weekend.
First of all, do not double post. It just clutters up the forums.
Second, you need to post this in the Droid Incredible forum or at the VERY LEAST, the Android Q&A forum. I'm not sure why people took the time to create all of the different forums around here if you guys are not even going to use them.
I'm just taking a shot in the dark here based on my experience flashing older Android phones. So do not tell me I'm wrong, AGAIN this is just an option to try:
Just boot into recovery and do a factory reset on the phone. AGAIN, I'm just going on what I CAN REMEMBER here. Use the hboot menu try a restore. Load a factory ROM onto the SD card (using your PC) and the flash it.
I don't know man, maybe I'm wrong about all of this. FACT is that I've had NUMEROUS phones that were in the same shape you are in right now and after google searching, a little common sense and READING I was able to fix the issues. There is a way to go back to your FACTORY ROM but I'm not going to waste my time doing the research for you here, it's your phone and you have access to the same information all of us do.
EDIT:
I mentioned common sense. With that being said, take a look at your own post bro.
talltubatom said:
I understand that you need to wipe all data but when I atempt to wipe the Dalvik Cache I get the the following message "E:Can't mount /dev/block/ (File Found)"
Click to expand...
Click to collapse
I assume you meant "(File NOT Found)". You are trying wipe data off of a NEW SD Card here. How do you expect it to wipe files that are not even there to start with? Make sure your battery is fully charged before doing anything with the phone also. You might think that sounds like it has nothing to do with your problem BUT it can cause boot loops on SOME devices (android and others). Reset to factory from hboot menu. SKIP THE WIPE ALL PART BECAUSE YOU HAVE A NEW SD CARD. Just get back into your phone running Android and then you can redo everything from there.
Thank you for the response.
Sorry for posting in the wrong thread, perhaps a mod could move this to a more resonable place for this question. I'm not trying to clog anythining up. If that isn't an option I'll just create a new thread over there, but like you said that would just be clutter.
First: I did not mean (File NOT Found) the error says (File Found), seems like an odd error on a Formated SD Card that is why I mentioned it.
Second: I tried going to a stock ROM and it would not flash to the device I think it was looking for the previous official ROM that was relesed for the phone and would not install since that did not exist. The one that I downloaded was when Verizon pushed FroYo for the DInc, perhaps I can find one that supports a different upgrade path.
After trying all logical steps, google searches and reading many thread regarding people who have been stuck in this situation I was not able to find anything that was helping me restore my phone, that is why i started a new thread.
Roll Tide <<<< so you won't be so upset with me
The only reason I said posting in the device specific forum or android forums would be better is because there would be more people that know how to fix it viewing your question.
I'm shooting in the dark here but have you tried flashing Clockwork again? Just putting the .zip on the new SDCARD and flashing it? I'm sorry man, I've searched and tried to come up with a good answer but I've not found THAT much. Post in the Incredible forum would probably get your problem solved. I'm not sure that there is much of a difference between deviceds when it comes to recovery but I'm sure that you will get more accurate answer over there, even in the Android section.

[Q] bootloop advice request

Ok, I've been reading around on the forums here, and did a ton of research in the best way to set up my gTab before I even got it. I like to think I am not a n00b, but someone correct me if I come across as one.
I was running vegan 5.1 with no issues up until yesterday. Yesterday, I got the dreaded boot loop. Looking around, it seems the most popular answer to this is to repartition. But here is my first question:
(1) in my pre-purchase research, I came across this issue a lot, and so I made sure to repartition right away. since I've partitioned the recommended way once already, does this eliminate repartitioning as a potential solution to my issue?
NVFlash seems like the next most popular solution. In researching how to do this, I came across several references to backing up your data, etc. It appears I can go into clockwork and mount my device via usb (haven't tried it yet, sorry, my bad) to do this. I didn't however find any reference to exactly what I would want to back up. I did a backup in cwm .. so my next question is:
(2) should I pull the cwm backup files? if so (and if not), which files exactly should I be looking for? just stuff in the \data folder? and would I just copy them back onto the gTab after flashing?
Again, sorry if I am coming across as a n00b, but I really have spent good amount of time searching the forums -- I am just a little confused and want to make sure I have everything right before taking either of these steps.
Thanks!
Kaz
TheKaz said:
Ok, I've been reading around on the forums here, and did a ton of research in the best way to set up my gTab before I even got it. I like to think I am not a n00b, but someone correct me if I come across as one.
I was running vegan 5.1 with no issues up until yesterday. Yesterday, I got the dreaded boot loop. Looking around, it seems the most popular answer to this is to repartition. But here is my first question:
(1) in my pre-purchase research, I came across this issue a lot, and so I made sure to repartition right away. since I've partitioned the recommended way once already, does this eliminate repartitioning as a potential solution to my issue?
NVFlash seems like the next most popular solution. In researching how to do this, I came across several references to backing up your data, etc. It appears I can go into clockwork and mount my device via usb (haven't tried it yet, sorry, my bad) to do this. I didn't however find any reference to exactly what I would want to back up. I did a backup in cwm .. so my next question is:
(2) should I pull the cwm backup files? if so (and if not), which files exactly should I be looking for? just stuff in the \data folder? and would I just copy them back onto the gTab after flashing?
Again, sorry if I am coming across as a n00b, but I really have spent good amount of time searching the forums -- I am just a little confused and want to make sure I have everything right before taking either of these steps.
Thanks!
Kaz
Click to expand...
Click to collapse
Clockwork and nvflash are 2 different thing,
for nvflash you need to power-up and hold the - of the volume, screen will show the bird then blank and it will try to load the APX usb driver on the computer. the UNIT IS MOUNTED INTO A SPECIAL TERMINAL recovery/command MODE
For clockwork you power-up and hold the + of the volume and recovery is executed, stock will simply load update.zip from the root of sdcard (internal memory), if clockwork is installed then the menu will appear and allow you to backup and restore the OS. but the UNIT IS NOT MOUNTED IN THE PC.
a full restore if the unit mean booting into recovery, restoring stock firmware following instruction from this post http://forum.xda-developers.com/showthread.php?t=861950 then installing clockwork and booting with the power-up + and restoring either your rom of choice (except for tnt lite 5.0) or your backup made previously with clockwork.
Bootloop are usually solved by wiping the partition/cache/data prior to flashing back a rom or backup.
hope this help, but there's plenty of how to already here...
...
I too had experienced "bootloop", but think I solved it through one of the threads in the dev forum. Something about formatting 2048/0 for the SD card...
Sorry I couldn't be of more help.
http://forum.xda-developers.com/showthread.php?t=865245
If your tablet bootloops…Also may be required to get market running correctly on some ROMs...
Press and hold the power button to shut the device down. Boot back into Clockwork. Select the advanced option at the bottom, then go to “partition SD card”, for the first option select 2048, and for the second option select 0. Then, redo steps 7-10. This erases all data on your tablet, including backups.
P00r said:
Bootloop are usually solved by wiping the partition/cache/data prior to flashing back a rom or backup.
hope this help, but there's plenty of how to already here...
Click to expand...
Click to collapse
Thanks. I am not as worried about the how-to, I can find those, I was just a little confused about what situation I am in, exactly, and which solution to use.
So, even though I've partitioned this way originally, it can still get corrupted to the point where the solution it to re-partition again..?

n00b to rooting and CWM for P3113

First off love the N00b video at sign up that was hysterical, nice work to whoever made it.
Ok on to what I need to know:
I understand HOW TO root/flash a rom, my issue is kind of different than most peoples. I have scoured the web and this site for the files I need to accomplish this with my GT-P3113 build ending in LG5 however I am confused to hell.
1 place will say that CWM 6.0.1 is not usable on my device, another will say that it works fine and another will say to use TWRP (which might I add looks cool to use). Some will say that I need the expresso_wifi file to root my device, others will say use update.zip, and others will say a totally different file all together.
I know what ROM to get, I understand the steps:
Download drivers
Boot to download
use odin to install CWM
back up everything with CWM (which goes to the MicroSD I am guessing? since I wipe the device in a later step)
wipe the device
wipe the cache
wipe the Dalvik cache
flash the rom
flash the root
is all that correct? (just to make sure I got it right) so my biggest question is, which files do I really use? There is a thread from back in June before the 4.0.4 update OTA came through) saying to use instead of that if you have LG3 or etc.
Help would be greatly appreciated, I am a smart guy, just want to have my facts straight before I make this happen.
PS sorry if this is in the wrong place, figured this was the best place for it.
Please be sure and thank the person who decides to do your homework for you.
:laugh:
FlynnErik said:
First off love the N00b video at sign up that was hysterical, nice work to whoever made it.
Ok on to what I need to know:
I understand HOW TO root/flash a rom, my issue is kind of different than most peoples. I have scoured the web and this site for the files I need to accomplish this with my GT-P3113 build ending in LG5 however I am confused to hell.
1 place will say that CWM 6.0.1 is not usable on my device, another will say that it works fine and another will say to use TWRP (which might I add looks cool to use). Some will say that I need the expresso_wifi file to root my device, others will say use update.zip, and others will say a totally different file all together.
I know what ROM to get, I understand the steps:
Download drivers
Boot to download
use odin to install CWM
back up everything with CWM (which goes to the MicroSD I am guessing? since I wipe the device in a later step)
wipe the device
wipe the cache
wipe the Dalvik cache
flash the rom
flash the root
is all that correct? (just to make sure I got it right) so my biggest question is, which files do I really use? There is a thread from back in June before the 4.0.4 update OTA came through) saying to use instead of that if you have LG3 or etc.
Help would be greatly appreciated, I am a smart guy, just want to have my facts straight before I make this happen.
PS sorry if this is in the wrong place, figured this was the best place for it.
Click to expand...
Click to collapse
From someone relatively new to this as well, this is basically correct. Here are some tips from someone who has recently done it.
Make a backup.
Research the files you intend to flash, make sure they are right for your device
Verify the guide you are using has been tested and known to work.
This may seem elementary, but I didn't follow #3 and it cost me a lot of headache un-bricking my SGT 2.
ryphil said:
From someone relatively new to this as well, this is basically correct. Here are some tips from someone who has recently done it.
Make a backup.
Research the files you intend to flash, make sure they are right for your device
Verify the guide you are using has been tested and known to work.
This may seem elementary, but I didn't follow #3 and it cost me a lot of headache un-bricking my SGT 2.
Click to expand...
Click to collapse
Fully agreed! That's why I came to the experts. I have done my homework but the thing is my homework leads me to several different files from before the ICS update. There has only been 1 thread on 1 forum that has been post ICS update, and no real feedback on it. I think I even found one that uses ADB (I understand that concept, but would prefer not to use it since I don't know Linux well enough).
I would love to know what files to use, which ones to stay away from. As I said I have the concepts, I have the understanding, its the actual files that I want to verify, I can rattle off tons of files from tons of sites, but they may or may not be correct (and may have the same name as a correct one but still be incorrect, ie "update.zip" appears a few times on different threads from different time frames).
There is only post in the teamhacksung CM10 wiki that was last edited 8/12/2012, but that could have been anything that was updated, not the files/links to be used.
So I thank you in advance for your help, and you will certainly get a thank you in the forum for help you are providing, I always give credit where credit is due.
Well here goes nothing, going to reboot (to ensure the Kies drivers are installed and loaded into the system 100%), and try the instructions from this link http://forum.xda-developers.com/showthread.php?t=1788625
It seems to work for most, the only concern I have is that I have a different end to the build than most others do (and I am not sure why?)
Did I screw myself?
I rooted, and have CWM installed.
Is it to late to create a ROM backup of my device for when i go to install CM10 (I need a drink for now, so I might install it tomorrow night lol).
That link I posted in the last post is good to go if anyone else needs a safe bet set of directions.
Seriously though, I didn't do a backup, am I screwed now?
EDIT: I just did a back up and it said no sdcard/.android secure found, skipping of backup of apps
and
no sd-ext found skipping backup of that.
is that normal? Did it backup to my microSD?
Still hope I didn't screw myself by backing it up after rooting.

[Q] P6210 start up problom

I was trying to install the CM 10 jelly bean rom into my p6210, but it was failed, and somethings were already changed after that time, such as my usb cant transfer data to my device (which is already known), the device wont save any changes such as password, brightness....etc, and the lock screen doesn work. So, I thought it could be fixed by the android recovery 3e, I did recover it few times,and nothing changed. But now, it doesnt even start up, could anyone help me plzzzz? I just want it back to the factory from.
If you installed ClockworkMod Recovery 6.0.1.0 and made a backup before flashing CM10 (as advised on the CM10 thread), you can just restore the backup. But it sounds as if you didn't.
You might try starting with these instructions for installing stock ICS using Odin and temporary CWM. Or this thread could be helpful. Beyond that I don't know enough to give any specifics. But you can search these forums for "heimdall" and "pit" to find several other threads about installing stock firmware on crippled devices. Good luck.
Sun_Cat said:
If you installed ClockworkMod Recovery 6.0.1.0 and made a backup before flashing CM10 (as advised on the CM10 thread), you can just restore the backup. But it sounds as if you didn't.
You might try starting with these instructions for installing stock ICS using Odin and temporary CWM. Or this thread could be helpful. Beyond that I don't know enough to give any specifics. But you can search these forums for "heimdall" and "pit" to find several other threads about installing stock firmware on crippled devices. Good luck.
Click to expand...
Click to collapse
Thanks a lot!!!! I bring it back, well... it wasnt actually "me", should give the credit to the threader who write that thread, but thanks anyway!!

[Q] Help with SGH-T959W only booting into recovery

Hello, all. I hope someone can help me with my SGH-T959W. Right now I'm at the point where the phone has CWM installed, but will only boot into recovery no matter what I do. I've followed the N00b guide to Flashing/Fixing the SGS4G, but clearly I'm missing something.
I tried to follow the Windows-based procedure for the SGH-T959W, but was unable to get version 1.40 to execute, and was unable to locate version 1.31.
So, given that the SGH-T959W and SGH-T959V are the same phone except for the bootloader, I tried the Java-based Stock KJ-6 + Root. The first time I tried it, the upload failed after the PIT, and the phone was no longer able to boot into anything other than download mode. I eventually managed to get it to the point where it tried to flash the modem, but I was never able to get the modem to flash successfully. I tried both under Windows and Linux, using two different PCs and every USB cable I could find, since I know those tend to be dodgy. Still, I've never gotten past flashing the modem, though sometimes it's done worse.
But at this point, I had a phone that would dutifully boot into CWM, so I could change strategy anyway. So I grabbed the unofficial Cyanogenmod 10.1, copied it to the root of the SD card, and tried to load that via CWM. It failed the hardware check.
That's problem #1. Is it possible to modify Cyanogenmod to check for the 959W instead of only the 959V?
Now, problem #2. I decided to give Slim ICS a whirl, since it's light on requirements and a 512MB/1GHz device would probably appreciate a lighter load. The two packages claim to install, but the progress bar never reaches 100%, and when I try to boot the phone, it just boots into CWM. It's a newer version of CWM now, and the startup logo is different, so something worked, but clearly not everything.
When installing, I did mount UMMU, factory reset, wipe the cache and the Davlik cache, mount UMMU, install, then fix perms. But I still get that loop back to CWM.
So something critical didn’t take, however many times I tried (I've lost count, but I think I'm going on 10), and I don't know the architecture well enough to know where to start looking. I'm pretty comfortable with other operating systems, but this is only the second Android device I've tried to customize.
I suspect I can’t solve any other problem until I solve problem #2, regardless of which distro I end up wanting to run.
Sorry for the long-winded post, but I figured the more questions I answered up front, the better the chances of fixing this would be.
Thanks for any help you're willing to offer a n00b.
Dave F.
I think what you were doing with heimdall is the way to go except the t959w doesn't like modems and I think there's some way to leave out the modem part but eh.. I'm not that well versed. Anyway here's a link that may or may not be relevant
http://forum.xda-developers.com/showthread.php?t=1956025
Please read forum rules before posting.
Questions and request for assistance go in the Q&A section.
Thread has been moved.
Thank you for your future attention to this.
Have a great day!
dfarquhar said:
Hello, all. I hope someone can help me with my SGH-T959W. Right now I'm at the point where the phone has CWM installed, but will only boot into recovery no matter what I do. I've followed the N00b guide to Flashing/Fixing the SGS4G, but clearly I'm missing something.
I tried to follow the Windows-based procedure for the SGH-T959W, but was unable to get version 1.40 to execute, and was unable to locate version 1.31.
Click to expand...
Click to collapse
Look here for 1.3.1.
dfarquhar said:
So, given that the SGH-T959W and SGH-T959V are the same phone except for the bootloader, I tried the Java-based Stock KJ-6 + Root. The first time I tried it, the upload failed after the PIT, and the phone was no longer able to boot into anything other than download mode. I eventually managed to get it to the point where it tried to flash the modem, but I was never able to get the modem to flash successfully. I tried both under Windows and Linux, using two different PCs and every USB cable I could find, since I know those tend to be dodgy. Still, I've never gotten past flashing the modem, though sometimes it's done worse.
But at this point, I had a phone that would dutifully boot into CWM, so I could change strategy anyway. So I grabbed the unofficial Cyanogenmod 10.1, copied it to the root of the SD card, and tried to load that via CWM. It failed the hardware check.
That's problem #1. Is it possible to modify Cyanogenmod to check for the 959W instead of only the 959V?
Click to expand...
Click to collapse
Nope, not a CWM issue. Ever since TeamAcid and I started on CM9 (and I believe the last few CM7 builds) added support for T959W. Almost everyone (thankfully! ) has kanged those device trees and also support T959W. I'm sure other T959W users will chime in to tell you that 97% of all roms here work on T959W. (GB and forward)
dfarquhar said:
Now, problem #2. I decided to give Slim ICS a whirl, since it's light on requirements and a 512MB/1GHz device would probably appreciate a lighter load. The two packages claim to install, but the progress bar never reaches 100%, and when I try to boot the phone, it just boots into CWM. It's a newer version of CWM now, and the startup logo is different, so something worked, but clearly not everything.
When installing, I did mount UMMU, factory reset, wipe the cache and the Davlik cache, mount UMMU, install, then fix perms. But I still get that loop back to CWM.
Click to expand...
Click to collapse
Crazy mount setups shouldn't matter anymore. That was an oldschool Froyo/Early GB thing. Almost all new CWM install scripts do the right thing now.
dfarquhar said:
So something critical didn’t take, however many times I tried (I've lost count, but I think I'm going on 10), and I don't know the architecture well enough to know where to start looking. I'm pretty comfortable with other operating systems, but this is only the second Android device I've tried to customize.
I suspect I can’t solve any other problem until I solve problem #2, regardless of which distro I end up wanting to run.
Sorry for the long-winded post, but I figured the more questions I answered up front, the better the chances of fixing this would be.
Thanks for any help you're willing to offer a n00b.
Dave F.
Click to expand...
Click to collapse
I like the long posts! Especially when then they contain more detail for me to help you figure out your problem with. I'm also partial to the short posts that include logs!
TwitchyEye said:
I think what you were doing with heimdall is the way to go except the t959w doesn't like modems and I think there's some way to leave out the modem part but eh.. I'm not that well versed. Anyway here's a link that may or may not be relevant
http://forum.xda-developers.com/showthread.php?t=1956025
Click to expand...
Click to collapse
@TwitchyEye you're right That is the heimdall oneclick that should be used.
@dfarquhar I think using the heimdall oneclick that @getochkn made should be the right path for you. Make sure you use the right version of heimdall. Make sure you completely remove the old version (software and drivers), use zdiag to make absolutely sure!
If all else fails, post here again! (maybe with logs )
Thanks everyone. I grabbed v 1.3.1, so I'm getting ready to try it now.
If anything goes wrong, I'll look into where the logs are stored and how to retrieve them, and I'll be back. Assuming I can't use the logs to figure it out on my own of course.
dfarquhar said:
Thanks everyone. I grabbed v 1.3.1, so I'm getting ready to try it now.
If anything goes wrong, I'll look into where the logs are stored and how to retrieve them, and I'll be back. Assuming I can't use the logs to figure it out on my own of course.
Click to expand...
Click to collapse
Sometimes, it's just the output you see on your screen is a good enough log
bhundven said:
Sometimes, it's just the output you see on your screen is a good enough log
Click to expand...
Click to collapse
Got it working! Heimdall 1.3.1 was the key. I then turned around and flashed Slim ICS since I had it on the SD card already, and it worked. I'm debating whether to move on to Slim Bean, but maybe I need to leave well enough alone for a few days now that I have a working phone.
Thanks again,
Dave

Categories

Resources