Phone won't boot; need to restore a deleted system file - AT&T Samsung Galaxy S II SGH-I777

Big problem with my I777 running stock Jellybean...
I deleted the wallpaper file from data\system\users\0 and now my phone will not boot. It powers on and gets to the lock screen, but won't allow me to slide to unlock. The phone isn't entirely unresponsive as the clock still updates every minute. But it won't do anything else.
I have my old wallpaper file handy on the computer, so I can surely copy it back to the phone. Question is: how?? I have USB debugging enabled so ADB is possible, but I have absolutely no idea how to use it. If I boot to system recovery the only option I get for ADB is sideload. I can execute ADB on my computer, it finds the device. But when I try to use the "push" command, ADB responds with "error: closed." I tried to use the "sideload" command (with a dummy file) just to see if ANY ADB command would work. "Sideload" works (the phone reports an error about the file being invalid), so I know the connection is fine.
Help appreciated, thanks. I'm stuck with a ****ty iPhone until this situation is resolved.

You're still on the stock kernel/recovery, so I'm not sure that you have any easy options. It is also relevant to know just how much information you want to recover.
File replacement:
Using desktop ODIN to flash a syiah kernel, then reboot to recovery:
You might then be able to adb-push the necessary item to /system, but this is a hack-approach to a problem better suited by a proper flash. <-- will retain all existing data & customization. Maybe worth a try, but I don't recommend it
Dirty-flash:
Using desktop ODIN to flash a syiah kernel, then reboot to recovery:
You will be able to flash a (custom) samsung-based firmware, which WILL overwrite /system, but will NOT overwrite your /data partition, likely allowing you to boot and properly back-up the stuff you want to keep, or even create a nandroid of the existing setup. <-- Will retain all existing data, will lose /system customisations. I have used this method.
Start-fresh:
Use desktop-Odin to flash the official firmware may be your only other option, which will retain everything in internal memory (photos, downloads, music, nandroid backups), but not messages, or any app data.
-Cyril
Mr. Barker said:
Big problem with my I777 running stock Jellybean...
I deleted the wallpaper file from data\system\users\0 and now my phone will not boot. It powers on and gets to the lock screen, but won't allow me to slide to unlock. The phone isn't entirely unresponsive as the clock still updates every minute. But it won't do anything else.
I have my old wallpaper file handy on the computer, so I can surely copy it back to the phone. Question is: how?? I have USB debugging enabled so ADB is possible, but I have absolutely no idea how to use it. If I boot to system recovery the only option I get for ADB is sideload. I can execute ADB on my computer, it finds the device. But when I try to use the "push" command, ADB responds with "error: closed." I tried to use the "sideload" command (with a dummy file) just to see if ANY ADB command would work. "Sideload" works (the phone reports an error about the file being invalid), so I know the connection is fine.
Help appreciated, thanks. I'm stuck with a ****ty iPhone until this situation is resolved.
Click to expand...
Click to collapse

cyril279 said:
You're still on the stock kernel/recovery, so I'm not sure that you have any easy options.
Click to expand...
Click to collapse
Well I do have CWM installed, but am curiously (and annoyingly) unable to boot to it now, for whatever reason. It boots to stock recovery instead, every time.

cyril279 said:
Using desktop ODIN to flash a syiah kernel, then reboot to recovery:
You might then be able to adb-push the necessary item to /system, but this is a hack-approach to a problem better suited by a proper flash. <-- maybe worth a try, but I don't recommend it
Click to expand...
Click to collapse
I think it's worth a try. I really would prefer to get my phone back working as it was, quickest way possible, because I've done a lot of heavy customization that would take many many hours to have to do over if I flash the official firmware again.
Could you please point me in the right direction of the syiah kernel, and proper instructions as to how to flash it? Would be much appreciated.
If it doesn't work out so hot, I'll try one of the other methods you mentioned. Thanks.

Mr. Barker said:
I think it's worth a try. I really would prefer to get my phone back working as it was, quickest way possible, because I've done a lot of heavy customization that would take many many hours to have to do over if I flash the official firmware again.
Could you please point me in the right direction of the syiah kernel, and proper instructions as to how to flash it? Would be much appreciated.
If it doesn't work out so hot, I'll try one of the other methods you mentioned. Thanks.
Click to expand...
Click to collapse
I would be glad to provide more detailed information, but I prefer to do so from a desktop computer, and I won't be near one for several days, so this may be a slow process unless one of our peers steps in to help.
In the meantime, you should gather:
-Odin 1.85 or 3.07
-A Siyah s2-v5.x or s2-v6.x .tar.md5 kernel (for the i777 or i9100)
The latter you can find at http://www.gokhanmoral.com
I will outline the process in a later post, explaining the purpose of each step.

Sure, I'm OK waiting a few days. I appreciate the help, I haven't done any flashing in quite some time and don't want to make a mistake, especially with all the important data that's at stake.
Thanks.

File Replacement Method
1) Use desktop Odin to flash Siyah kernel
-Installs a kernel that will allow you to perform a nandroid backup, and MAY allow you to adb push the missing file to the device.
-This WILL change the initial boot screen (can be corrected later, but does not affect the function of the firmware), and will notch the flash counter (simply doesn't matter).
2) Boot to recovery
3) Create nandroid backup
-If things go sideways, you have a snapshot of where you are. If you have to start from scratch, there are apps that can restore Apps, settings, and more, from a backup.
4) Adb push missing file to /data/path_file_belongs
5) Shell chmod XXX the missing file
-to correct file permissions; that 0.xml file has -rw------ on my device, which translates to 600 (I think)
6) Flash appropriate ajk kernel
-for stock jb, use "NoSwap" http://forum.xda-developers.com/showthread.php?t=2110542
-custom kernel that will boot stock rooted android.
7) Attempt Reboot into android
-If successful, reboot to recovery and perform another backup.
-If not successful, then we use a different method.
This is the trickier method of the three, but will retain all customization if it works. I have not tried it, and we're assuming that the missing file is actually the problem.
Please be sure that you are comfortable with all of the steps before attempting any of them. I will be able to provide step by step instructions, but not for several days.
Happy flashing,
-Cyril

Well, that was fun. Followed the instructions to a "t" and even learned some things. But, sadly, did not achieve the results I'd hoped for.
I was indeed able to push the wallpaper file over to data\system\users\0 and CHMOD it. But after flashing AJK "NoSwap" the phone shows the "Android is upgrading..." message, with "Starting apps." trying to process. But it doesn't. The little circle swirls a bit, then the screen goes black. The "Starting apps." message appears again, then the screen goes black again. And then it repeats this cycle forever. I eventually got irritated and yanked the battery.
So... *sigh*... what's my next best option?

The Nandroid backup completed successfully? If so, that's great, any APP customization is likely captured in the backup. How well they will restore is a different concern, but we need to get the device booted completely into android first.
Before moving onto the next step, lets reboot to recovery, clear cache and dalvik, and fix permissions. It's a bit of a shot in the dark, but I prefer to exhaust the possibility before abandoning this approach.
@Mr. Barker, You say that you've done a lot of heavy customization. What is the nature of the customization? app related? build.prop tweaks? I'm trying to determine how much might be lost by each of the next recovery methods.
@mrcook, what do you think of an attempt to dirty-flash cooked over a stock setup with corrupt /data?

cyril279 said:
Before moving onto the next step, lets reboot to recovery, clear cache and dalvik, and fix permissions. It's a bit of a shot in the dark, but I prefer to exhaust the possibility before abandoning this approach.
@Mr. Barker, You say that you've done a lot of heavy customization. What is the nature of the customization? app related? build.prop tweaks? I'm trying to determine how much might be lost by each of the next recovery methods.
@mrcook, what do you think of an attempt to dirty-flash cooked over a stock setup with corrupt /data?
Click to expand...
Click to collapse
I say wipe caches and fix permissions first. If that doesn't work format /system, and install a ROM of the same version of android.
After that if it's still not booting suck it up do a full wipe and start from scratch.
Sent from my SGH-S959G

@Mr. Barker
If the cache wipes / permissions fix doesn't help, then our next attempt is:
**this assumes that you were running stock Android 4.1.2 when the trouble began**
get i777UCMD8 cooked v2.2 onto a flashdrive, (or prepare it for sideload)
reboot to recovery
format /system
install cooked v2.2
attempt to boot into android

OK, I'll give it a try, thanks.

Hooray! All's well that ends well. Flashing i777UCMD8 cooked v2.2 got me up & running again, near-same as I had everything before. Just a little work to do to get it right back how I had it. Thanks a million, gents! :victory:
Two questions remain, for the moment:
+ How can I get the "AM/PM" to display on the notification bar? I'm in the US, and prefer to have this for the 12-hour clock. But using this ROM, it is omitted even when time is set to 12-hour clock.
+ How can I restore the default battery charging icon from the stock firmware? The one that comes bundled with this cooked ROM is needlessly flashy.

Mr. Barker said:
Hooray! All's well that ends well. Flashing i777UCMD8 cooked v2.2 got me up & running again, near-same as I had everything before. Just a little work to do to get it right back how I had it. Thanks a million, gents! :victory:
Two questions remain, for the moment:
+ How can I get the "AM/PM" to display on the notification bar? I'm in the US, and prefer to have this for the 12-hour clock. But using this ROM, it is omitted even when time is set to 12-hour clock.
+ How can I restore the black notification pull-down menu? This ROM sets it transparent by default, which doesn't work for me.
Click to expand...
Click to collapse
Am/pm is gone forever. I removed because I think it looks better without it. Use the sun. You'll get used to it after a couple days and never miss it.
To change the notification background go to the mods section of the installer, and just install the black notification background.
Sent from my SGH-S959G

mr-cook said:
Am/pm is gone forever. I removed because I think it looks better without it. Use the sun. You'll get used to it after a couple days and never miss it.
Click to expand...
Click to collapse
Oh, no, I was afraid you were going to say that. *sigh*
Unfortunately I will not get used to it, and will miss it. It's the little things that really matter to me, and this is one of them.
Is there absolutely no way I can add it back in? Maybe by editing or replacing a certain file? Or perhaps there's a notification bar replacement that will facilitate this need?
Also, how can I restore the default battery charging icon from the stock firmware? The one that comes bundled with this cooked ROM, I feel, is needlessly flashy.
Other than these two points, I am quite pleased with this ROM. Is it just me or does it run a little quicker than the stock one?

"needlessly flashy"
Simply asking 'how to change the icon' is sufficient, and inherently implies that you prefer something different.
Cooked v2.2 is definitely quicker than stock;
The premise of both cooked and shostock are that they have taken the stock firmware, and stripped it down of unnecessary junk, and run it over a well-optimized kernel for the best touchwiz experience that you could possibly have on this device.
If your firmware desires are different than what cooked v2.2 provides, then I suggest creating a nandroid backup, wiping /system, and giving shostock a try. It's the other touchwiz favorite for the i777, packaged with a different very good kernel, and also runs quicker than stock.
Mr. Barker said:
Oh, no, I was afraid you were going to say that. *sigh*
Unfortunately I will not get used to it, and will miss it. It's the little things that really matter to me, and this is one of them.
Is there absolutely no way I can add it back in? Maybe by editing or replacing a certain file? Or perhaps there's a notification bar replacement that will facilitate this need?
Also, how can I restore the default battery charging icon from the stock firmware? The one that comes bundled with this cooked ROM, I feel, is needlessly flashy.
Other than these two points, I am quite pleased with this ROM. Is it just me or does it run a little quicker than the stock one?
Click to expand...
Click to collapse

To close the loop, now your initial boot screen is a yellow triangle with an exclamation point? It doesn't affect the functionality of the firmware at all, but if you prefer to have the correct initial boot animation, then you'll need to follow an additional procedure.
Summary:
Nandroid-backup desired setup
Flash official stock-firmware to the device via Desktop-Odin (clears the warning)
Root & recovery via Framaroot/Mobile-Odin (a method that does NOT trip the custom-flash monitor)
Restore nandroid to return to the established custom setup
Procedure:
gather onto internal memory, or micro-sd:
-Framaroot
-Mobile Odin APK
-Mobile Odin flash kernel for i777
-Boot.img (extracted from your chosen firmware.zip)
boot to recovery
perform nandroid backup
^^ this MUST complete successfully
perform factory reset
boot to download mode
flash official UCMD8 using Desktop ODIN
^^ clears the custom-flash warning
install and use framaroot
^^ uses an exploit to establish and manage root access
install mobile Odin and the mobile Odin flash-kernel
^^ the method that will NOT trip the custom-flash monitor
flash the boot.img via Mobile Odin
^^ flashes the kernel and recovery of the firmware that you are going to restore
boot to recovery
restore nandroid backup
enjoy
-Cyril

If I am going to be restoring the nandroid backup, must I install & use the very same firmware that was installed when I made the backup? Or could I, say, simply flash the stock firmware and be done with it? (i.e. not use mobile odin to install a custom firmware afterwards) My point is, are nandroid backups firmware-specific?
If I opt to go the custom firmware route, how do I go about getting the boot.img file? Simply rename zimage, or ???
Before all this I've never flashed anything but stock firmware, and never had to create nor restore nandroid backups. So most of this is all new to me. But I enjoy the learning process.

Mr. Barker said:
If I am going to be restoring the nandroid backup, must I install & use the very same firmware that was installed when I made the backup?
Click to expand...
Click to collapse
Different custom firmwares may be structured differently, so for the lowest likelihood of compatibility issues, nandroid backups should be considered firmware specific.
Edit: As Mentioned below, a CWM nandroid will restore the entire backed-up firmware installation, which can be done over ANY firmware.
If the goal is to keep your App data across different firmwares, then a Titanium backup restoration may be what you're after. /Edit
Mr. Barker said:
[...]could I, say, simply flash the stock firmware and be done with it? (i.e. not use mobile odin to install a custom firmware afterwards)[...]
Click to expand...
Click to collapse
I don't think that the stock recovery allows to restore nandroid backups at all. The restrictive nature of the stock recovery is one of the more practical reasons to root the device & use a custom kernel.
Mr. Barker said:
If I opt to go the custom firmware route, how do I go about getting the boot.img file? Simply rename zimage, or ???
Click to expand...
Click to collapse
Mobile Odin will flash a zImage, no need to rename it. I didn't check to see that shostock or cooked use a zImage instead of boot.img.

cyril279 said:
Different custom firmwares may be structured differently, so for the lowest likelihood of compatibility issues, nandroid backups should be considered firmware specific.
Click to expand...
Click to collapse
?? I thought that because a nandroid copied (backup) and then formatted/recopied the 5 partitions (restore), that it didn't matter what firmware you had installed?

Related

★★★ NOOB GUIDE :: Root :: Odin :: Files :: Guides ★★★

★★★ NOOB GUIDE :: Root :: Odin :: Files :: Guides ★★★
PLEASE READ THIS FIRST POST IN IT'S ENTIRITY!!
As of July 2011, I am no longer updating this guide.
Please feel free to check here for updates (if any are made).
STEP ONE – RETURN TO STOCK JFD - USING ODIN
FOLLOW STEPS 2 - 4 :: THIS IS A GUIDE TO GO BACK TO JFD.
IT HAS ALL OF THE FILES NEEDED
I encourage you to use HashTab to verify the MD5 (verify it is a good download). These are large files – if it is NOT a good download you could really cause some issues. It takes 10 seconds – do it.
Once you are done, come back and proceed to ROOT.
GREAT, I AM ON JFD - HOW DO I ROOT?
You are likely still connected to your PC and booted up to the T-Mobile jingle. Great, drop the notification bar down and mount your phone...
There are two options here. Choose which is best for you, before you start.
ROOT ONLY METHOD:
A – This is an update.zip (633KB) that roots your phone only. You can then install Rom Manager from the Market to flash CWR (Clockwork Recovery) and install custom ROMs.
INSTALL CLOCKWORK RECOVERY AND FLASH A ROM THAT WILL GIVE ROOT ACCESS (MY PREFERRED METHOD):
B – use the other update.zip (1.7MB) and this will flash CWR for you – allowing you to immediately flash a custom ROM.. I do this because it's faster.
1.
A: Download this update.zip file to root your phone. You plan to install Rom Manager to flash CWR and a new ROM later.
B: Download this update.zip file to flash CWR... you will need to flash a custom ROM for Root. I prefer this method.
NOW DOWNLOAD THE ROM YOU PLAN TO FLASH
2.
Copy the update.zip (and the ROM) to the INTERNAL SD (not the external SD Card). sdcard/
3.
Unplug the USB (assuming you are still connected after using ODIN)...
Hold down volume up + volume down + Power for about 9 seconds.
If you prefer, you can power off your phone, then hold in all 3 buttons to boot into recovery, I don't see the point in waiting for the phone to power off.
This will get you to a recovery menu (blue/purple text) after some yellow text.
4.
In this (the stock recovery menu) select 'Reinstall Packages'
Use volume to navigate + power to select.
5.
It will cycle a bit, you will see that yellow text again, then it will return to the stock recovery. Select Reinstall packages again.
You are now in CWR (clockwork recovery).
You can either reboot, flash your new ROM or make a backup now...
I COVER HOW TO FLASH ROMS LATER – JUST KEEP READIN BELOW
Yeah, it is that easy!! Read below for more information if needed.... but at this point you probably are done with what you came here for. I would encourage reading below for general knowledge and making sure you are doing things as easily as possible.
OKAY, I HAVE ROOT - NOW WHAT? BACKUP!!!
** Below are a list of several things I suggest backing up **
Titanium Backup – APPS
Download Titanium Backup from the Market and Open it. The Paid version is worth it's weight in gold... it does everything automagically. Buy it if you plan to flash a lot or have a lot of apps.
Click Menu > Batch
Click on "Run" by backup all user apps
Click on Run the batch operation
All your apps are now backed up.
Please note that if you backup/restore System Apps, you are asking for problems. I do not ever mess with system apps and do not encourage it - unless you plan to stay on the same build. If you do, be smart about it.
Clockwork Recovery / Nandroid Backup!
Reboot into CWR (both volume buttons held in) while booting until you see “Vibrant'
Once there, go to Backup and run that. Should take about 5 minutes, maybe more.
If all hell breaks loose, this is a snapshot of your phone at that point... it's important to do this before flashing a new ROM!
Backup your Alternate Launcher (if you use one)
If you use a home replacement like ADW or LauncherPro, you can backup your home screen settings/icons (widgets cannot be restored however).
Launcher Pro: Click Menu > Preferences... scroll down to the bottom and click on backup.
ADW EX: Menu > ADW SETTINGS > BACKUP.
Once you flash your ROM, you can now RESTORE your settings.
Rooted... Got a Backup... let the fun begin!!
WHAT ROM SHOULD I FLASH?!?!?!
This question is asked a LOT. The most often answer? Read the development section and pick the one that seems to fit you... if that does not work, backup your apps and try another. This is a very liquid process. Things change, phones are different, people tastes are different. Try and try again.
I will point out that if you have backed up your apps, moving from rom to rom is NOT a hard process. You can ODIN to JFD and have a new ROM booting in 10 minutes. Easy.
OKAY, HOW DO I FLASH A ROM?
* I typically root/flash immediately after using ODIN. This is assuming you did not.
1 – Download the ROM to your PC. ROMs are typically 140-190+MB’s. So yeah, it’s a big file.
2 – Check the MD5 if so inclined (Using Hastab – linked above).
3 – Mount phone to PC
4 – Drag ROM to root of internal memory (the large SD card where folders like the DCIM folder appears).
Should appear as: sdcard/TheRomName.zip
You DO NOT need to rename the ROM
5 – Unmount and reboot into clockwork recovery (using Rom Manager, or by pressing in both volume buttons and power… holding… and releasing power once the Vibrant logo is up).
6 – OPTIONAL (in CWR): Do a Factory Wipe, Wipe Data, & Wipe Dalvik Cache (advanced menu)
7 – Go to “install zip from sd card”, select zip from sd... choose your ROM and flash it (volume keys move up/down, power selects)
8 – OPTIONAL (I do not do this): After flashing, choose to wipe data and dalvik cache
Do NOT factory wipe again
9 – Reboot phone
10 – Your new ROM is going to boot. Initial boot will take a LONG time (10 minutes maybe).
You may hear a lady's voice (Linda) converting your file system – this is normal if your ROM has the Voodoo lagfix. No worries.
Do not touch the phone for 5-10 minutes after it has booted... Seriously, Do Nothing!. . This helps clear any possible bugs. Once you've waited, reboot phone by holding in power for about 9 seconds (rough guess)... And then....
Click to expand...
Click to collapse
RESTORE!!
After the phone boots and you waited, go to Market, Sign-in, Approve terms, Re-install Titanium Backup. I strongly suggest the Paid version (MUCH better)
Restore all Missing Apps+Data.
Again, I really do little with System apps.. too many issues, but the green ones may be fine to restore.
Restore anything else you have. (ie launcher)
Reboot again.
I dont use Facebook, but I've been told you need to remove it and add it sometimes?
WHAT ABOUT IF THERE IS AN UPDATE TO THE ROM?
Let's assume you flashed Axura 2.2.6 and then a week later 2.2.7 is released... well, how do you update?
Easy, just download it, place it on your internal memory, backup using titanium backup, reboot to recovery, make a nandroid backup, flash the new rom and reboot.
Now... if you are going to try a new rom (not an update to your existing ROM), you may want to go back to stock first, then flash the custom rom.
Why go back to stock? Some say that if you are on one rom and go to another rom there may be ghosts left behind from the previous rom. Using ODIN to get back to stock and then flashing a ROM ensures this is not going to happen.
RECONDITION YOUR BATTERY
AFTER FLASHING A ROM IF BAD BATTERY IS NOTED
Use phone til it dies on it's own, completely dead.
Charge phone completely, plus 30 minutes longer.
Unplug phone from charger
Reconnect, you'll notice it's not full, charge till it is again.
This is bump charging and NOT something you want to do often, a few times is okay, in my opinion. You could skip the bump charge if you like.
Phone remains plugged in.
Boot into recovery (volumes + power)
Advanced > wipe battery stats, reboot.
Use phone til it's literally about to shut off (or does)
Charge till full +
Use phone like normal
Everyone has a method, that's how I feel it works best.
WORSE CASE SCENARIO - YOU BRICK YOUR PHONE - WHAT TO DO?
Almost always a phone is not actually bricked. If you can get into download mode or see ANYTHING you can ODIN back to stock and your phone is good to go.
If you are NOT able to get into download mode, please read the thread below to make a Jig!
TRY A NEW KERNEL/MODEM
New modems can increase signal and data speeds. Here is an incredible list of each thanks to XDA user scrizz.
Please pay notice to the version of android you are running (2.1, 2.2, etc.) CLICK HERE FOR A FULL LIST OF VIBRANT MODEMS
Kernels can overclock your processor, undervolt for battery, or remain stock but optimize things so the phone is snappier. These are always changing and there are always new builds coming out, so PLEASE review and make sure what you installing. These should install just like a rom... download, move to internal memory (sdcard/ ) and flash in clockwork recovery like you would a rom (install zip from sd).
NEED THE STOCK APPS BACK?
1 - Use the app BLOATER by Roman, it is found here!
THIS IS FOR THE MINORITY OF PEOPLE WHO CAN NOT GET INTO DOWNLOAD MODE OR STOCK RECOVERY. This used to be much more detailed, but is no longer an issue. Links saved here, just in case.
http://forum.xda-developers.com/showpost.php?p=9663212&postcount=53
http://forum.xda-developers.com/showthread.php?t=804305]
I think that is an excellent idea. As a noob myself, its easy to get confused. Maybe a noobs guide to odin, or how to back your phone up to your pc. One can never have to much info.
Sent from my SGH-T959 using XDA App
Do something on ODIN. I made a nandroid backup of my stock root but I have no idea what to do with it should something go wrong.
Great idea, I think most will appreciate something like this.
I think you may want to make sure you include a section about the various lagfixes. How to install, the importance of uninstalling and of course their definitions. I think it would help clear up the forums a bit.
I am actually NOT going to mention lag fixes at all. They are not for noobs and really do not benefit the user THAT much. If someone wants to add using lag-fixes, go for it... but it's not something I am going to recommend for a noob. With froyo especially, I consider these pointless (unless you want to see a high quadrant score).
Good point, maybe you'll want to mention them as evil and not meant for the weak at heart or anyone not willing to have a nice paperweight.
How about adding something for those new users who purchased a used phone. Maybe teach then what to look for before they flash anything.
Alright, not even close to being done...but I am at a stopping point right now. Will try and pick it back up later today. Please let me know what you guys want added.
ColorNapkin said:
Do something on ODIN. I made a nandroid backup of my stock root but I have no idea what to do with it should something go wrong.
Click to expand...
Click to collapse
I agree, an "Odin for noobs" would be awesome.
Sent from my SGH-T959 using XDA App
Great tut, but stuff like this will cause more "noobs" even with the simplicity you will get questions regarding how to do something. Lol whats your next step? Record yourself doing it, I.would die if you do.
Sent from my SGH-T959 using Tapatalk
Guide added to WIKI
So added this link to Wiki for the Vibrant. http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S_SGH-T959#Good_Links
There is already a Odin guide on there under the [GUIDE] FIX AND RESCUE YOUR VIBRICK!
iwillkillyou said:
Great tut, but stuff like this will cause more "noobs" even with the simplicity you will get questions regarding how to do something. Lol whats your next step? Record yourself doing it, I.would die if you do.
Click to expand...
Click to collapse
Actually... I probably was going to ODIN my phone (video 1), root it (video 2) flash clockwork (video 3) and flash a rom (video 4).....
I was cautious to accept the request to make an even simpler tutorial... frankly I spent a lot of time on the sticky and if that was not enough, well... perhaps you should not be rooting. That said, by doing this it will really clean up the sticky when it's done AND I need more space since I am running out, again.
Not many noobs asking for much... perhaps this effort is not needed?
If you want you can also link to my guide on how to fix Vibricks if you get a lot of questions about that as well x)
http://forum.xda-developers.com/showthread.php?p=9370249
If you are going to create the be-all "brick" thread, could you at least explain that they are NOT BRICKED????
I think that this is great thread. I did ryans oclf to root my phone, because it seemed to be the easiest way to root. I think I will undo and start over using this guide. Before There always seems to be some question popping up where I find myself wondering what was meant so I would never take the plunge into flashing a rom.This seems to be more straight forward for me. I personally would love to see the video walk through which would make everything crystal clear. Thanks for this OP
Sent from my SGH-T959 using XDA App
s15274n said:
If you are going to create the be-all "brick" thread, could you at least explain that they are NOT BRICKED????
Click to expand...
Click to collapse
There, I semi-fixed it for now, I'll add more details later
Thanks so much for your wonderful work. I am a nubie and I am sure it will be a great deal of help to me. Is there any way you could include what fastboot is and how to use it? And when to use it? Once again thank you for your kind and generous efforts.
I went ahead and flashed axura 2.0.5 without any problems ( thanks to the vid on axura download page), but now I'm not sure about getting the Black froyo theme. It says to download zip and flash through clockwork recovery. Is that the same steps as flashing the rom? sorry in advance if this is a stupid question, but unless it is crystal clear I am very hesitant. thanks again
roly17 said:
I went ahead and flashed axura 2.0.5 without any problems ( thanks to the vid on axura download page), but now I'm not sure about getting the Black froyo theme. It says to download zip and flash through clockwork recovery. Is that the same steps as flashing the rom? sorry in advance if this is a stupid question, but unless it is crystal clear I am very hesitant. thanks again
Click to expand...
Click to collapse
I think you download the zip to your internal sd card, boot into clockwork recovery and install the zip from there.
As for a ODIN guide for n00bs, not sure how much easier you can get:
http://www.youtube.com/watch?v=AnY7P14JSWQ
Thats what i think too, but not sure. Do i click on install rom from sd card to get to the theme zip file? I tried this and it brought me into clockwork recovery(?), but the install of the zip was not obvious to me. So I just rebooted and nothing happened. I know I did something wrong , just not sure what.

[Q] Difficulty changing ROMs

For the record, I searched several times, but did not find an answer that seemed to fit this question. Also, I hope this isn't a ridiculous noob question.
A little background. I have/had a D1 which I rooted and changed ROMs on many times. It was easy. I either used a new .zip file or ROM Manager. I now have a Fascinate that I tried to root with SuperOneClickRoot, but it didn't seem to work as none of the 'root-only' apps would work. I then tried using Odin, but still had the same problem. I successfully used Odin to return to stock, but of course that was annoying and painful. Frustration got the best of me, and I tried again with Odin and was successful. I ran Odin, got to recovery, installed and ran a SuperClean ROM using the .zip file for many days.
Here's where the trouble begins. I decided to try a different ROM, so I rebooted into recovery, backed up my current ROM (or so I thought), and tried to load another .zip ROM. The first one would not load correctly, so I tried another, and then one more. I wiped the data and the cache before each try. None of them worked, so I thought, OK forget this, I'll go back to my backup and stick with it. NO BACKUP (for this phone) was listed under Backup or Advanced Backup. So, now I'm really stuck, because the only ROM I can get to work at all is Kaoscinate (sp?), but it will NOT work with 'root only' apps, like Titanium Backup'. I read a good bit on xda and tried to change with Odin, but I still had no real luck. I was able to get a SuperDark ROM to work, but it is on Android 2.1 and the 'root only' apps still do not work on it. I'm afraid to try another ROM change because of the issues I've had before. I want to go back to the SuperClean ROM. My phone is very important as it's my business line, so monkeying around with this trial and error is taking too long and making me very uncomfortable.
I can easily get to recovery, wipe data &/or cache, and install a new .zip, but will it boot or work for me? I believe the answer is no, so what am I doing wrong?
Will I have to go through Odin to restore to stock and then REDO the Odin root and go to a ROM that way? That is time-consuming and my confidence is low in that method working to get the ROM I want.
Is there some kind of fix for the 'root only' programs to be able to see that I AM rooted? I tried updating Busybox using Titanium, but that didn't do the trick. Plus, this time, I can't even get Titanium to open, because it says I'm not rooted.
Thanks in advance.
sigmtndawg said:
For the record, I searched several times, but did not find an answer that seemed to fit this question. Also, I hope this isn't a ridiculous noob question.
A little background. I have/had a D1 which I rooted and changed ROMs on many times. It was easy. I either used a new .zip file or ROM Manager. I now have a Fascinate that I tried to root with SuperOneClickRoot, but it didn't seem to work as none of the 'root-only' apps would work. I then tried using Odin, but still had the same problem. I successfully used Odin to return to stock, but of course that was annoying and painful. Frustration got the best of me, and I tried again with Odin and was successful. I ran Odin, got to recovery, installed and ran a SuperClean ROM using the .zip file for many days.
Here's where the trouble begins. I decided to try a different ROM, so I rebooted into recovery, backed up my current ROM (or so I thought), and tried to load another .zip ROM. The first one would not load correctly, so I tried another, and then one more. I wiped the data and the cache before each try. None of them worked, so I thought, OK forget this, I'll go back to my backup and stick with it. NO BACKUP (for this phone) was listed under Backup or Advanced Backup. So, now I'm really stuck, because the only ROM I can get to work at all is Kaoscinate (sp?), but it will NOT work with 'root only' apps, like Titanium Backup'. I read a good bit on xda and tried to change with Odin, but I still had no real luck. I was able to get a SuperDark ROM to work, but it is on Android 2.1 and the 'root only' apps still do not work on it. I'm afraid to try another ROM change because of the issues I've had before. I want to go back to the SuperClean ROM. My phone is very important as it's my business line, so monkeying around with this trial and error is taking too long and making me very uncomfortable.
I can easily get to recovery, wipe data &/or cache, and install a new .zip, but will it boot or work for me? I believe the answer is no, so what am I doing wrong?
Will I have to go through Odin to restore to stock and then REDO the Odin root and go to a ROM that way? That is time-consuming and my confidence is low in that method working to get the ROM I want.
Is there some kind of fix for the 'root only' programs to be able to see that I AM rooted? I tried updating Busybox using Titanium, but that didn't do the trick. Plus, this time, I can't even get Titanium to open, because it says I'm not rooted.
Thanks in advance.
Click to expand...
Click to collapse
If it's that important, and you'd like to avoid any trial and error, simply odin your preference of ED01 roms here:
http://forum.xda-developers.com/showthread.php?t=1048380
To test root, simply open terminal emulator (free in market) and type "su" (no parentheses). It will notify you of a superuser request.
find an odin package for the baseband you want like EB01, EC01, ED01, etc (I use an all in one complete deodexed and debloated EB01 package myself) and the newest CWM 3. Odin them both, boot straight into cwm, wipe data/cache/dalvik, install the .zip rom of your choice from sd card and reboot phone. Should work fine, its the way I've done it and I've had few if any problems
edit: most roms like SuperClean, Evil, ComRom, etc are already rooted so there's no need to do anything special to gain root. the hardest part is flashing it correctly
You guys are awesome! Thanks!
If it's that important, and you'd like to avoid any trial and error, simply odin your preference of ED01 roms here:
http://forum.xda-developers.com/show....php?t=1048380
^^This one worked great for me. I seem to have the Samsung things I like (their visual voice mail, their video player, etc.) without the other bloatware.
I do have one more question. You said 'flashing the ROM correctly'. Before, with my D1, that simply meant using RM to 'Load Custom ROM' or rebooting into recovery mode and installing another .zip file. That has not seemed to work on this phone. What is the correct way to load another ROM on these phones.
Again, thanks for the help!!
sigmtndawg said:
You guys are awesome! Thanks!
If it's that important, and you'd like to avoid any trial and error, simply odin your preference of ED01 roms here:
http://forum.xda-developers.com/show....php?t=1048380
^^This one worked great for me. I seem to have the Samsung things I like (their visual voice mail, their video player, etc.) without the other bloatware.
I do have one more question. You said 'flashing the ROM correctly'. Before, with my D1, that simply meant using RM to 'Load Custom ROM' or rebooting into recovery mode and installing another .zip file. That has not seemed to work on this phone. What is the correct way to load another ROM on these phones.
Again, thanks for the help!!
Click to expand...
Click to collapse
Do not use ROM manager at all for anything on the fascinate.
The correct way to flash on fascinate: Download ROM .zip file and place on the root directory or your sd card. Boot into CWM and wipe data/cache/ dalvik cache (dalvik is under advanced) choose install zip from sd card. Install and reboot. First reboot will take 5-10 minutes, so be patient.
Hope this helps.

Q: blank screen after T-Mo splash animation, possible to fix without wiping?

Hello all,
I have a question that has not been answered after many hours of searching. Hopefully I'm just dumb, and my buddy's stock firmware and data isn't hosed. I'm trying to get his stock firmware running again so I can back it up safely.
What I've done:
Tried to flash CWM's update.zip via stock recovery (signature verification failed on the three different zip's I could find in the forums and various links)
Used Heimdall to push "cmenard-T959-CWM" zImage (this worked, and I get a different screen at boot)
The phone boots to the point of the T-Mobile splash screen with the annoying shriek sound, but goes to a black screen after. If i touch any of the soft buttons, they light up and remain lit. It'll stay like that for at least 20 minutes.
Is it possible to re-flash the system partition and not the data partitions using ODIN? Is that even feasible? Like I mentioned above, I'd like to get the stock firmware running such that I can make a good backup of it with all the user data intact. I haven't been able to because the CWM+root wouldn't flash.
Any suggestions or insight would be greatly appreciated.
thanks in advance!
Well as long as you don't format the internal SD, any pictures and videos and things should remain intact.
Here is a similar thread. See if it resembles your issue.
http://forum.xda-developers.com/archive/index.php/t-794869.html
Toast6977 said:
Well as long as you don't format the internal SD, any pictures and videos and things should remain intact.
Here is a similar thread. See if it resembles your issue.
http://forum.xda-developers.com/archive/index.php/t-794869.html
Click to expand...
Click to collapse
Thanks for the suggestion, Toast. I don't believe the internal SD has been messed with, and I don't plan to mess with it either. The thread you linked is not quite related to my issue, as far as I can tell.
I am able to get into Download Mode, and the Stock Recovery mode as well. However every time I try to flash an 'update.zip' with the Stock Recovery, I get an error about Signature Verification Failure.
After stepping back from it for a day, I think I've gained some clarity. Since all I've done is flash a different Kernel with Heimdall, I'm going to try to flash a stock kernel then see what happens.
Is this phone on stock Froyo or have you got it back to JFD (eclair)?
If Froyo, that's the problem. Using Odin back to Eclair and run update.zip. It won't work from stock Froyo.
*-*- I made some assumptions in my previous post. The shrieking sound. Black screen. Lights stay lit. Sounded like a poltergeist.
Glad you can get in download mode and recovery.
The old 2E vs 3E problem. Nice catch Toast
Give this a whirl: recovery 3e modified to work like recovery 2e
Might have to ABD push it to your internal SD card though.
Toast6977 said:
Is this phone on stock Froyo or have you got it back to JFD (eclair)?
If Froyo, that's the problem. Using Odin back to Eclair and run update.zip. It won't work from stock Froyo.
*-*- I made some assumptions in my previous post. The shrieking sound. Black screen. Lights stay lit. Sounded like a poltergeist.
Glad you can get in download mode and recovery.
Click to expand...
Click to collapse
Woodrube said:
The old 2E vs 3E problem. Nice catch Toast
Give this a whirl: recovery 3e modified to work like recovery 2e
Might have to ABD push it to your internal SD card though.
Click to expand...
Click to collapse
hahaha poltergeist!
Wow, so I'm glad I asked. I wouldn't have known about this issue, as I do not have any history with this device.
I know that the ROM is currently 2.2, and the Android System Recovery is showing "3e".
If I understand correctly, once I'm ready to flash up to ICS, I'll need to ODIN back to 2.1 to get Android System Recovery "2e", which will let me flash 'update.zip' packages freely. Then I flash an 'update.zip' to get CWM, then flash CM7, then CM9 (and CM9 is my intended destination).
The things mentioned in the thread you linked do appear to apply to my situation.
However I still want to get the stock OS booted and working, then do a Nandroid backup of it. (it's the computer tech/security pro in me. Since I'm new to this device, I -tried- to read up on everything first, and didn't want to make a change without being sure it would work.)
Does anyone happen to know if flashing a stock kernel over the 'cmenard' kernel will harm anything, and hopefully get a successful boot? Again, I'm trying to get the stock ROM booting again in order to verify I have everything I need off of it, then do a nandroid backup. Flashing to CM9 will come afterwards.
Ok, here are some things for you.
Here is a kernel pack that you can use. Read the OP because there are Froyo AND Gingerbread kernels in there.
[KERNELS] Moped_Ryder SGS Kernel Pack v2 [20+ Froyo/GB Kernels]
I really suggest using something like BaliX 1.2 or BaliUV kernels to make your back up. They are smooth, fast and OC/UV-able. To flash just Wipe /cache, /dalvik -> flash kernel -> Wipe /cache, /dalvik (I also fix permissions too bc that is the way that I learned and I just do it that way all the time). Reboot and Bam!! you should be able to get to the point that you can make a backup.
Look in my signature, there are downloads and flashables that are direct download linked. There is also an ICS install guide that can help your journey. Once you have your backup, then use Odin from the Toolbox in my signature and flash back to stock JFD. From there you will be able to follow my guide.
If you need any files, just let me know and I will upload them when I get home (won't be until late though, i have plans right after work).
Using HB, can I choose any theme? I am not so acquainted with the Theme chooser and boot animation of my phone. I flashed a boot animation zip yesterday and it was stuck in "ANDROID" screen. So I have to flash again. I never used any boot animation and themes in my phone yet. I want to know about them.
Sent from my SGH-T959 using xda app-developers app
Wrong thread. Put that question in the Jelly Bean Banter thread. No need to hijack this thread until we get OP up and running.
Ugh, so I've been on vacation for a while, and since being back I've been super freaking busy =(
Finally spent some time with the phone tonight. Took some fiddling to get the right drivers working for the phone on my Win7x64 laptop.
In any case, I checked out that Kernel thread, and extracted the Bali kernel. Since I had flashed successfully(?) with Heimdall at first, and I'm becoming more familiar with it, I used it to flash the Bali_1.8.8-zImage. That appeared to work, as I get a new boot screen/animation with the Bali logo.
However, after the Bali logo disappears, the T-Mobile animation+sound plays, and then gives me a black screen. The screen is on (backlight is on) but all black. Also, if I touch a soft-button, they'll light up and the phone will remain in that state for as long as I can stand to wait. (one episode of Archer)
So, it's doing the same thing as before, but with a new boot logo/animation.
I wonder if something else in the ROM has been messed up? Should I forget trying to save it, and just use ODIN to flash a whole new rom/kernel package? I'll talk to the owner tomorrow and see if he's now willing to do that.
I also wonder if I was wrong to use Heimdall again, instead of using the CWM method. Please correct me if I'm wrong, but I think those two methods end up doing the exact same thing. Is one method more reliable than the other?
Bah, this sucks; I have more questions than answers at this point =( Any ideas, Woodrube, Toast?
maxpeet said:
Ugh, so I've been on vacation for a while, and since being back I've been super freaking busy =(
Finally spent some time with the phone tonight. Took some fiddling to get the right drivers working for the phone on my Win7x64 laptop.
In any case, I checked out that Kernel thread, and extracted the Bali kernel. Since I had flashed successfully(?) with Heimdall at first, and I'm becoming more familiar with it, I used it to flash the Bali_1.8.8-zImage. That appeared to work, as I get a new boot screen/animation with the Bali logo.
However, after the Bali logo disappears, the T-Mobile animation+sound plays, and then gives me a black screen. The screen is on (backlight is on) but all black. Also, if I touch a soft-button, they'll light up and the phone will remain in that state for as long as I can stand to wait. (one episode of Archer)
So, it's doing the same thing as before, but with a new boot logo/animation.
I wonder if something else in the ROM has been messed up? Should I forget trying to save it, and just use ODIN to flash a whole new rom/kernel package? I'll talk to the owner tomorrow and see if he's now willing to do that.
I also wonder if I was wrong to use Heimdall again, instead of using the CWM method. Please correct me if I'm wrong, but I think those two methods end up doing the exact same thing. Is one method more reliable than the other?
Bah, this sucks; I have more questions than answers at this point =( Any ideas, Woodrube, Toast?
Click to expand...
Click to collapse
Wrong they are not the same. cwm can do the work without a PC beside you can erase, back up , restore and flash, which make our life easier, heimdall or Odin ," I prefer odin "are the last option when you can't fix it with cwm
To fix your phone use Odin or heimdall and go back to stock don't worry all your files, photo, music, will be safe. Then
1 get root on you , if you don't how ask
2 get cWm
3 do a nandroid back up
4 have fun flashing all roms you want lol
Sent from my SGH-T989 using xda app-developers app
Yeah, I would just Odin back to stock JFD w/ repartition checked...
Then I'd flash something real stable for him. There are lots of stable ROMs to choose from. I used Bionix V for a long time before moving onto Jelly Bean.
Since the phone belongs to someone else, I'd stick with something lower than JB though. 911 can have/has issues.
Toast6977 said:
Yeah, I would just Odin back to stock JFD w/ repartition checked...
Then I'd flash something real stable for him. There are lots of stable ROMs to choose from. I used Bionix V for a long time before moving onto Jelly Bean.
Since the phone belongs to someone else, I'd stick with something lower than JB though. 911 can have/has issues.
Click to expand...
Click to collapse
do no check de re-partition button and use a .pit file follow this tutorial and you will be fine
http://forum.xda-developers.com/showthread.php?t=848737

[Q] Is there a good documentation for all ROM flash steps?

I've been trying to understand all the steps necessary to replace the OEM ROM in my HTC Amaze 4G phone, but I can only find a disjointed set of pieces about the various steps and not one overarching document that covers all the stages of custom ROM flashing. A lot of the docs are aimed at the "insiders" of the Android developer community and few to people like me who would just like to try something better than what that ICS update did to my phone.
Having dabbled at one time with Linux from version .98 to 2.6 and being software developer most of my working life, I figure this should be easy for me. Yet, I find the documentation frustrating. I only imagine what it must be for others with less computer experience than me.
Since Android is based on Linux, I don't understand the big fuss about rooting. In Linux having the rooting privilege simply meant having a root password. Why is Android so much more complicated than that? Also, loading a new Linux kernel used to be a fairly simple process if one used compiled modules. The installation script pretty much took care of it. Android totally obscures this process and the disjointed documentation doesn't seem to help much. A lot of it assumes certain knowledge by the reader as if he/she was also an "insider" in that circle.
On my part I would like to so the following steps documented:
1.) How to save user installed content and the factory ROM image before wiping it out so it could be eventually restored if needed.
2.) How to prepare the phone for installing a new ROM
3.) What new and stable ROM images will work with given phone and how to obtain them and in what form? Zip, rar, or what?
4.) In what SD Card directory or in USB-connected PC directory the new ROM should be.
5.) How the flashing process would look like? Expected phases and length?
6.) Do I need to lock the new ROM's root just as the factory ROM was? How would I do that?
7.) Any special issues when booting the new ROM for the first time?
8.) How would I restore the original factory ROM saved in step 1?
Some of you might think I ask too much from guys who do the dev work as a hobby but I always thought that if one does something, might as well do it right, regardless of pay.
Well, that's my 2 cents worth for the day.
Howdy. I'll try to answer some of the questions you asked.
I would also recommend talking with @ravike14 who can easily guide you through the back up and routing and s-off process. It's not that difficult really. The most bizarre thing for me was sticking a piece of wire into a hole in the back of the phone to short out a process to achieve s-off.
With the right recovery image installed, it won't matter where you place the Rom.zip. which may be named just about anything. But it will always be a zip file.
The important one is the PH85img.zip must be placed in the root of your external sdcard. That file is loaded when you boot into the bootloader. And is for updating firmware.
Once you have root, and have made a nandroid backup, flashing is easy.
If you download viper, it is vipera1.7.2.1.zip. you can have it anywhere on you internal or external sdcard.
If you use 4ext recovery, you can select install and it will take you to a directory that you can browse to the place where the Rom, whatever name it is, is stored.
Click the Rom zip file and you will be guided thru the install process, if it has an aroma installer, or it will just install otherwise.
Then reboot and go thru the set up as if it was a brand new phone.
If you don't do the s-off thing, 4ext offers a smart flash option. If you aren't s-off you can't just flash a Rom if it contains a kernel. So smart flash will be required.
There are a few guides in the dev section and the general section on how most of this process works.
Again, talk with ravike and he'll be glad to help. Plus the more people we can keep here and happy, the longer we will be creating roms and fun stuff to play with.
Regards,
Chevy
Sent from my HTC_Amaze_4G using xda app-developers app
Is there a good documentation for all ROM flash steps?
Thanks, Cowboy, for the helpful reply, though I don't see any HELP button to push that the end of your post refers to.
I think at this point I'd like to figure out on my own how to install a custom ROM, though I must say that your S-OFF reference is one of the things that confuses me because the HTC dev site itself spells out that it is not necessary to change S-On to S-Off. Go, figure ...
Also, I think I like what I've read about the Revolution ROM, so that's the one I'd like to install if that is working with T-Mo branded Amaze 4G phones, though mine is no longer locked to T-Mo.
Your welcome!
NWsoccerfan said:
Thanks, Cowboy, for the helpful reply, though I don't see any HELP button to push that the end of your post refers to.
I think at this point I'd like to figure out on my own how to install a custom ROM, though I must say that your S-OFF reference is one of the things that confuses me because the HTC dev site itself spells out that it is not necessary to change S-On to S-Off. Go, figure ...
Also, I think I like what I've read about the Revolution ROM, so that's the one I'd like to install if that is working with T-Mo branded Amaze 4G phones, though mine is no longer locked to T-Mo.
Click to expand...
Click to collapse
If you're using the web to look at xda, there is a thanks button on the lower left side of the screen before the very end of the post line.
If you're using the XDA app, you have to tap on my post, and it should have a thanks selection in the options that come up.
A few more suggestions.
1.) How to save user installed content and the factory ROM image before wiping it out so it could be eventually restored if needed.
A) one you are rooted you should be able to back up all of your user data through a nandroid which is available in TWRP or 4EXT recoveries. This will back up everything to be able to restore exactly like it was before you change roms.
(NRG is my ICS preference, and Afnan has a good modified stock rom. ARHD (revolution) is also a good one without too many frills.
2.) How to prepare the phone for installing a new ROM
B) again, Root - s-off (really a good idea and not too hard to do) - dev unlock - and Super CID
3.) What new and stable ROM images will work with given phone and how to obtain them and in what form? Zip, rar, or what?
C) any roms listed in the dev section in the Amaze forum works. And, they should all be Zip fles. You can restore somone elses nandroid back up, but not adviseable.
4.) In what SD Card directory or in USB-connected PC directory the new ROM should be.
D) anywhere (except the PH85IMG.zip MUST be on the root of your EXTERNAL sdcard)
5.) How the flashing process would look like? Expected phases and length?
E) There are two types of rom flashes, standard and Aroma (thanks @amarullz)
1) Standard just does it's thing and when it's done, it returns you to the recovery menu to reboot.
2) Aroma is a highly configurable installation (preferred for selections of different kernels and adding or removing apps, keyboards, cpu freq's and much more) after it's done, most often it can reboot directly from the installer. ARHD has this type of installer, also NRG roms, and mine!
6.) Do I need to lock the new ROM's root just as the factory ROM was? How would I do that?
F) all of the "Custom" rom's (even thought some may be stock) should be rooted. A rooted rom containd the busybox and super user bianaries and apps (IE chanfireSU or SuperSU)
7.) Any special issues when booting the new ROM for the first time?
G) You shouldn't have any issues when booting a new rom for the first time. Some do require a little bit of behind the scenes set up time. Most users see just the boot animation reach the end, or it may seem like it's not doing anything, but it's doing an unbelievable amount of background processing, dexopting, and some comminucation with the carrier for data and validation set up. Some may take five to ten minutes to complete depending on the amount of apps and goodies that are in the rom.
H) if you see the HTC logo for an extended amount of time, more than five minutes, and you dont see the boot animation (which varies by rom) then you are stuck in a preload loop. This happens when you flash a carrier specific rom without being "Super CID", or you may not have flashed the kernel (if you are S-Off this won't be a problem) because you didn't select smartflash from the recovery settings.
** I had issues trying to install ARHD at first because there is a firmware update, a requirement to be Super CID (probably the easiest of things to do), and some roms specify that you should be using TWRP recovery instead of 4EXT, or vise versa.
8.) How would I restore the original factory ROM saved in step 1?
I) nandroid restore There is also a rooted stock rom based off of the latest OTA ICS Update. It is just like the rom that comes preloaded, or updated to on stock non-rooted phones. If you go that route, flash the "Stock ICS" rooted rom and do an advanced nandroid restore and only restore your data. That will (should) get you back to where you started from but keeping root, S-Off, Dev unlock, and Super CID.
I rewrote some of what I noted befor so maybe other's can benifit from this knowledge. And I wanted to expand on a few items. All good questions!
There's a lot of things that happen in the background that people need to see sometime (pull a logcat) to see the crazy lines of code flying by on a terminal screen.
If more poeple took the time to understand all of this it would reduce the amount of errors while flashing and poeple would be more happy.
And in doing so I think people will learn more about what they are doing, and the more you do it, the better you get at doing it.
Enjoy!
Chevy
chevycowboyusa said:
If you're using the web to look at xda, there is a thanks button on the lower left side of the screen before the very end of the post line.
If you're using the XDA app, you have to tap on my post, and it should have a thanks selection in the options that come up.
Click to expand...
Click to collapse
I use the web for this and the only thing I see on the lower left side is a DONATE button. That's what you mean?
chevycowboyusa said:
A few more suggestions.
1.) How to save user installed content and the factory ROM image before wiping it out so it could be eventually restored if needed.
A) one you are rooted you should be able to back up all of your user data through a nandroid which is available in TWRP or 4EXT recoveries. This will back up everything to be able to restore exactly like it was before you change roms.
(NRG is my ICS preference, and Afnan has a good modified stock rom. ARHD (revolution) is also a good one without too many frills.
2.) How to prepare the phone for installing a new ROM
B) again, Root - s-off (really a good idea and not too hard to do) - dev unlock - and Super CID
Click to expand...
Click to collapse
Can I still use my phone after it is rooted but before the new ROM is installed? How would the phone behavior change on a rooted phone?
You did not comment on why the htcdev site recommends against the S-Off as not being necessary for installing a custom ROM.
chevycowboyusa said:
3.) What new and stable ROM images will work with given phone and how to obtain them and in what form? Zip, rar, or what?
C) any roms listed in the dev section in the Amaze forum works. And, they should all be Zip fles. You can restore somone elses nandroid back up, but not adviseable.
Click to expand...
Click to collapse
OK, I've got that. Does this Nandroid backup the entire image of the phone's content sector-by-sector, or as individual files? To the external SD card or to the PC connected by USB cable? BTW, why are all flashing procedures requiring loading of the HTC USB drivers when such drivers must be on the phone already? Otherwise we could not link the phone to PC in the first place.
chevycowboyusa said:
4.) In what SD Card directory or in USB-connected PC directory the new ROM should be.
D) anywhere (except the PH85IMG.zip MUST be on the root of your EXTERNAL sdcard)
5.) How the flashing process would look like? Expected phases and length?
E) There are two types of rom flashes, standard and Aroma (thanks @amarullz)
1) Standard just does it's thing and when it's done, it returns you to the recovery menu to reboot.
2) Aroma is a highly configurable installation (preferred for selections of different kernels and adding or removing apps, keyboards, cpu freq's and much more) after it's done, most often it can reboot directly from the installer. ARHD has this type of installer, also NRG roms, and mine!
Click to expand...
Click to collapse
Aroma? That doesn't smell too good to me.
chevycowboyusa said:
6.) Do I need to lock the new ROM's root just as the factory ROM was? How would I do that?
F) all of the "Custom" rom's (even thought some may be stock) should be rooted. A rooted rom containd the busybox and super user bianaries and apps (IE chanfireSU or SuperSU)
Click to expand...
Click to collapse
Oh, so this might answer my earlier question about how a rooted phone might behave. Essentially a user might not even know the difference, right? So, I could also do this process in two stages: First just root the factory ROM and use the phone that way till I am ready to actually flash the new ROM in the second stage, right?
chevycowboyusa said:
7.) Any special issues when booting the new ROM for the first time?
G) You shouldn't have any issues when booting a new rom for the first time. Some do require a little bit of behind the scenes set up time. Most users see just the boot animation reach the end, or it may seem like it's not doing anything, but it's doing an unbelievable amount of background processing, dexopting, and some comminucation with the carrier for data and validation set up. Some may take five to ten minutes to complete depending on the amount of apps and goodies that are in the rom.
H) if you see the HTC logo for an extended amount of time, more than five minutes, and you dont see the boot animation (which varies by rom) then you are stuck in a preload loop. This happens when you flash a carrier specific rom without being "Super CID", or you may not have flashed the kernel (if you are S-Off this won't be a problem) because you didn't select smartflash from the recovery settings.
** I had issues trying to install ARHD at first because there is a firmware update, a requirement to be Super CID (probably the easiest of things to do), and some roms specify that you should be using TWRP recovery instead of 4EXT, or vise versa.
Click to expand...
Click to collapse
I've got this.
chevycowboyusa said:
8.) How would I restore the original factory ROM saved in step 1?
I) nandroid restore There is also a rooted stock rom based off of the latest OTA ICS Update. It is just like the rom that comes preloaded, or updated to on stock non-rooted phones. If you go that route, flash the "Stock ICS" rooted rom and do an advanced nandroid restore and only restore your data. That will (should) get you back to where you started from but keeping root, S-Off, Dev unlock, and Super CID.
I rewrote some of what I noted befor so maybe other's can benifit from this knowledge. And I wanted to expand on a few items. All good questions!
There's a lot of things that happen in the background that people need to see sometime (pull a logcat) to see the crazy lines of code flying by on a terminal screen.
If more poeple took the time to understand all of this it would reduce the amount of errors while flashing and poeple would be more happy.
And in doing so I think people will learn more about what they are doing, and the more you do it, the better you get at doing it.
Enjoy!
Chevy
Click to expand...
Click to collapse
Thanks. I like your attitude about this.
When you get time stop by
XDA University.
I learned tons here its a great place to start and much better than trying to Google everything
http://forum.xda-developers.com/general/xda-university
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
been busy
NWsoccerfan said:
I use the web for this and the only thing I see on the lower left side is a DONATE button. That's what you mean?
Can I still use my phone after it is rooted but before the new ROM is installed? How would the phone behavior change on a rooted phone?
You did not comment on why the htcdev site recommends against the S-Off as not being necessary for installing a custom ROM.
OK, I've got that. Does this Nandroid backup the entire image of the phone's content sector-by-sector, or as individual files? To the external SD card or to the PC connected by USB cable? BTW, why are all flashing procedures requiring loading of the HTC USB drivers when such drivers must be on the phone already? Otherwise we could not link the phone to PC in the first place.
Aroma? That doesn't smell too good to me.
Oh, so this might answer my earlier question about how a rooted phone might behave. Essentially a user might not even know the difference, right? So, I could also do this process in two stages: First just root the factory ROM and use the phone that way till I am ready to actually flash the new ROM in the second stage, right?
I've got this.
Thanks. I like your attitude about this.
Click to expand...
Click to collapse
you're welcome! I wish everyone would try to learn this
and the university is also very helpfull as freakboy noted above,
I've been busy working at bringing the comunity the next greatest romz!

[Q] mobile data not working and charging port broken

You've probably heard this song and dance before, but my phone only charges if I hold the connector a little to the left of the port of the phone. This is a phone issue, I've tried like 5 cables. I am rooted so I'm worried att will just turn me away if I go to a repair place. I am s-on. I'm hoping maybe this is something I can fix myself. Any ideas?
Secondly, today I noticed that my mobile data only works for browsing google. Only google's web results show up. If I click on a link from there, it won't work. Any other app does not work. I've tried a soft reset and rebooting several times, and no I don't have any proxies enabled. If anyone has the stock lollipop build.prop, I'd really appreciate that. Very strange issue that I've never heard of. Running elementalx kernel and stock rom.
siren_shadows said:
my phone only charges if I hold the connector a little to the left of the port of the phone. This is a phone issue, I've tried like 5 cables. I am rooted so I'm worried att will just turn me away if I go to a repair place. I am s-on. I'm hoping maybe this is something I can fix myself. Any ideas?
Click to expand...
Click to collapse
If you purchased the phone from AT&T, they will not deny warranty due to root, unlocked bootloader, etc. Folks here have had good success with warranty claims on modified phones with AT&T. If you look at AT&T's warranty terms, you will see that they changed a year or 2 ago. Modifying the software is no longer mentioned under the items that void the warranty. Only physical damage and water damage are now listed.
siren_shadows said:
Secondly, today I noticed that my mobile data only works for browsing google. Only google's web results show up. If I click on a link from there, it won't work. Any other app does not work. I've tried a soft reset and rebooting several times, and no I don't have any proxies enabled. If anyone has the stock lollipop build.prop, I'd really appreciate that. Very strange issue that I've never heard of. Running elementalx kernel and stock rom.
Click to expand...
Click to collapse
What happens if you just type in a URL, without going through Google search results?
redpoint73 said:
If you purchased the phone from AT&T, they will not deny warranty due to root, unlocked bootloader, etc. Folks here have had good success with warranty claims on modified phones with AT&T. If you look at AT&T's warranty terms, you will see that they changed a year or 2 ago. Modifying the software is no longer mentioned under the items that void the warranty. Only physical damage and water damage are now listed.
What happens if you just type in a URL, without going through Google search results?
Click to expand...
Click to collapse
ah, thanks. if I type in a URL, I get the same dns lookup error. seems YouTube, Instagram, and Google are the only things that work. play store does not work.
siren_shadows said:
ah, thanks. if I type in a URL, I get the same dns lookup error. seems YouTube, Instagram, and Google are the only things that work. play store does not work.
Click to expand...
Click to collapse
Did you make any recent changes that may have caused this, such as flashing the custom kernel?
redpoint73 said:
Did you make any recent changes that may have caused this, such as flashing the custom kernel?
Click to expand...
Click to collapse
yeah, I reinstalled elementalx. I'd love a stock build.prop and an insecure stock kernel if that's possible.
siren_shadows said:
yeah, I reinstalled elementalx. I'd love a stock build.prop and an insecure stock kernel if that's possible.
Click to expand...
Click to collapse
Did you modify build.prop?
redpoint73 said:
Did you modify build.prop?
Click to expand...
Click to collapse
yeah, but I deleted the values. I'm worried I may have deleted something I wasn't meaning to, though.
siren_shadows said:
yeah, but I deleted the values. I'm worried I may have deleted something I wasn't meaning to, though.
Click to expand...
Click to collapse
WNC just posted the 4.28.502 version of his ROM here: http://forum.xda-developers.com/att-htc-one-m8/development/att-4-4-3-2-22-1540-3-debloated-sense-6-t2837365
I assume the build.prop is stock; and kernel is insecure.
unfortunately, I am s-on.
siren_shadows said:
unfortunately, I am s-on.
Click to expand...
Click to collapse
s-off is only needed to flash firmware (and it sounds like you already have Lollipop firmware).
You can pull boot.img from the ROM.zip without even actually flashing the whole ROM.
build.prop, not sure if there is a similar way to do that (extract without flashing he whole ROM). Otherwise, flash the ROM, and extract/copy the build.prop for use on the fully stock ROM.
Or just flash the ROM and use it, WNC's work is always good. Its basically the stock ROM, just cleaned up.
redpoint73 said:
s-off is only needed to flash firmware (and it sounds like you already have Lollipop firmware).
You can pull boot.img from the ROM.zip without even actually flashing the whole ROM.
build.prop, not sure if there is a similar way to do that (extract without flashing he whole ROM). Otherwise, flash the ROM, and extract/copy the build.prop for use on the fully stock ROM.
Or just flash the ROM and use it, WNC's work is always good. Its basically the stock ROM, just cleaned up.
Click to expand...
Click to collapse
I'm not averse to using the ROM, I just don't want to lose my data or have any long boots/incompatibility issues. I used the latest OTA from the official att update.
siren_shadows said:
I'm not averse to using the ROM, I just don't want to lose my data or have any long boots/incompatibility issues. I used the latest OTA from the official att update.
Click to expand...
Click to collapse
You shouldn't have any long boot or imcompatibility issues. The ROM I linked is based on the same ROM you are on (AT&T Lollipop update) just with bloat removed and some performance enhancements. What you can do, if you want to keep the current stock ROM:
1) Download the ROM I linked
2) Unzip on your computer
3) Find boot.img, copy it to your fastboot folder. This should be the stock, insecure kernel
4) Connect phone to computer in fastboot mode
5) Flash boot.img with command: fastboot flash boot boot.img
Reboot the phone, and see if the data is working again. If not, you can try to restore the build.prop. I don't personally know of a way to pull this from the ROM similar to above for the kernel. So this may be a little convoluted, but just a thought:
6) Make a nandroid of the current setup
7) Flash the ROM by WNC
8) Use a file explorer to copy build.prop file to internal storage or the removable SD
9) Restore your nandroid (back to stock AT&T) that you just made in Step 6 above
10) Copy the build.prop from WNC's ROM to overwrite the one that you modified
11) If it doesn't work, you are no worse off since you have a nandroid snapshot of your current setup (won't lose any user data)
redpoint73 said:
You shouldn't have any long boot or imcompatibility issues. The ROM I linked is based on the same ROM you are on (AT&T Lollipop update) just with bloat removed and some performance enhancements. What you can do, if you want to keep the current stock ROM:
1) Download the ROM I linked
2) Unzip on your computer
3) Find boot.img, copy it to your fastboot folder. This should be the stock, insecure kernel
4) Connect phone to computer in fastboot mode
5) Flash boot.img with command: fastboot flash boot boot.img
Reboot the phone, and see if the data is working again. If not, you can try to restore the build.prop. I don't personally know of a way to pull this from the ROM similar to above for the kernel. So this may be a little convoluted, but just a thought:
6) Make a nandroid of the current setup
7) Flash the ROM by WNC
8) Use a file explorer to copy build.prop file to internal storage or the removable SD
9) Restore your nandroid (back to stock AT&T) that you just made in Step 6 above
10) Copy the build.prop from WNC's ROM to overwrite the one that you modified
11) If it doesn't work, you are no worse off since you have a nandroid snapshot of your current setup (won't lose any user data)
Click to expand...
Click to collapse
I've got some very bad news. I tried replacing the build prop with the one in the zip that you linked, and now my phone won't boot up. at all. can't even get into recovery.
siren_shadows said:
I've got some very bad news. I tried replacing the build prop with the one in the zip that you linked, and now my phone won't boot up. at all. can't even get into recovery.
Click to expand...
Click to collapse
Can you still get into bootloader?
sigh. was able to get into recovery. gonna restore. don't think i had a modified build.prop at that time either... hopefully my cable won't mess up before i copy the backup back onto my phone
redpoint73 said:
Do you mean you can't get into bootloader?
If so, that doesn't actually make any sense, bootloader is write protected with s-on. So there is no way this can be corrupted or over-written.
This seems scary. But just take a breath, as I don't think this is as bad as it looks.
What happened after you copied the file?
Does the screen come on at all?
Click to expand...
Click to collapse
i got a black screen after a reboot. but holding power and volume up did the hard reset and i had to really quickly press volume down. like a split second window
siren_shadows said:
sigh. was able to get into recovery. gonna restore. don't think i had a modified build.prop at that time either... hopefully my cable won't mess up before i copy the backup back onto my phone
Click to expand...
Click to collapse
You didn't need to move the backup off the phone.
Its not a bad idea to make a copy of the backup (in the event the one on internal storage gets wiped) to your computer.
But its also good to keep a backup either on internal storage or on the removable SD.
redpoint73 said:
You didn't need to move the backup off the phone.
Its not a bad idea to make a copy of the backup (in the event the one on internal storage gets wiped) to your computer.
But its also good to keep a backup either on internal storage or on the removable SD.
Click to expand...
Click to collapse
I was a genius and decided I would save space by moving onto my computer. However, I am restoring now. That'll fix my black screen issue, right?
siren_shadows said:
I am restoring now. That'll fix my black screen issue, right?
Click to expand...
Click to collapse
Yes, build.prop is part of the ROM, so the TWRP backup will put you back to where you were before trying to replace the build.prop file.
Odd, I wouldn't think that replacing the build.prop with the one for a nearly stock ROM (and same LP base) would render the phone unbootable into OS.
redpoint73 said:
Yes, build.prop is part of the ROM, so the TWRP backup will put you back to where you were before trying to replace the build.prop file.
Odd, I wouldn't think that replacing the build.prop with the one for a nearly stock ROM (and same LP base) would render the phone unbootable into OS.
Click to expand...
Click to collapse
who knows. My issue isn't fixed regarding mobile data, either. At least I have a usable phone tho!

Categories

Resources