[Q] Backing up the phone before trying a ROM - Samsung Infuse 4G

Hi,
I'm moderately experienced with windows/linux system, but fairly new to the android OS. Specially when it comes to custom ROM.
I would like to give the custom ROM a try. But being a careful person, I would like a method to backup/restore the phone completely in case I mess things up. I've used imaging softwares like clonezilla on PCs. But when it comes to an android phones, I'm not completely sure how to go about getting the phone imaged so that I can restore it if anything goes wrong.
So far, this is as much as I know about Backup/Restore for an android device.
1. You need to root the device (already done)
2. You'll need some 3rd party application (something similar to clonezilla for android phones)
I have 2 questions:
1. I've seen some similar posts for different phones. But I'm not completely clear if all instructions are the same for all android phones. Or if there are some differences for each phone? If there are, what are they?
2. What 3rd party application could I use to get this done?
(I'm interested in working with free/open source application to get the job done.)
I have Samsung Infuse 4G (from Rogers) with Android 2.3.3.
Thanks

Your asking for quite a bit of info...basically you need to root, then install Clockworkmod recovery, then flash a rom of your choice. Try THIS link to get you started. THIS is also a good write up.
As far as backing up go, Clockworkmod (CWM) has a backup/restore option so you can back up your current setup and flash away.
If you want to restore things like apps to your new rom, try Titanium Backup from the market, your also gonna need Root Explorer to view/edit files and possibly Rom Manager for some installation methods. (both in the Market also)
EDIT: This write just popped up in the dev section: http://forum.xda-developers.com/showthread.php?t=1442177

Related

[Q] So what is a ROM?

Hi, I am new to the world of smart phones and would like to learn more about them. I've been reading threads about people changing their ROMs and how it can affect future software updates.
I've done some searching w/ "what is a rom" and "stock rom" but the results are in techno-wiz-lingo that's right over my head.
I have two (pretty basic) questions regarding ROMs.
1. What is a rom?
and
2. If I use Titanium Backup (and install its corresponding busybox), does this change my ROM?
Sorry for the 4th-grader-noob questions. Thanks in advance!
Cheers,
John
We all were there sometime in past, so no problem.
1. A ROM is a part of a non-volatile non-"erasable" memory in phone that hold the operating system and main applications; you can compare it to a premade install of an operating system in a Desktop computer (for example: windows 7 and what manufacturer applications has installed), the difference is that you can't modifiy a ROM directly from inside the phone.
Now, smartphones comes also with premade install os the OS, that's called 'stock ROM', a ROM that come from the phone manufacturer; some people are able to extract ROMs from certain models and modify (kitchen) it, fixing bugs, adding new features, even upgrading main OS version, in short improving what came from the manufacturer that's called 'custom ROM' and that's what xda-developers is all about, in the several forums you will see sections where they talk about improving phone usability.
2. I have no much experience with Android but it seems that titanium backup can backup all your user data, so you can flash a custom ROM to your phone then restore you user data back to your phone, so you won't need to readd everything back at hand (usually when you flash a new ROM to your phone, everything is wiped out and the phone is left blank).
Hope that helps.
Thanks Drakh, that helps a lot! I did some more reading on wikipedia. Looks like I have a bit more to learn.
Thank you also Drakh. I have a lot to learn also.

(INTRODUCTION TO ROOTING) New to rooting/flashing ANY Android? See this guide!

ROOTING
Rooting is a very popular thing to do with your android phone these days. It allows you to do a number of things you wouldn't normally be able to do, such as use apps that require root permissions (wifi tethering, real backups, etc), flash custom/cooked ROM's, flash kernels, remove bloatware. and overclocking. Before you attempt rooting however, there are several things you should know first:
"Rooting" is, in vernacular terms, the Android OS equivalent of say, jailbreaking an iPhone.
To be exact, it means several things:
Name for an administrator on Android or any other Linux system.
The lowest level in a file system (for example: the root of your SD card would be the screen that comes up when you first open it, no other sub-folders.)
It also means having administrative powers over your phone.
It also voids your warranty if your phone company finds out.
So basically, by extension, rooting a phone means giving yourself rooting privileges. Think of it like this: Say you have an HTC Evo. Android is open-source, but you're only allowed to do on the phone what Sprint allows you to. Sprint wants to charge people $30 or $40 per month to do wifi tethering. A rooted phone could do wifi tethering for free, as you would be the administrator, and override the block.
PROS and CONS
1. Pros
Superuser permissions (full control over your phone, down to terminal commands).
Use root-requiring apps (wifi tether, backups, etc).
Over/underclocking
Ability to use a custom recovery.img (for flashing).
Flash custom ROMs and kernels
Flash other .zip files
Removing bloatware (apps that you don't want or need but can't normally delete)
Upgrading your firmware to later versions (such as phones that won't get the Froyo update)
2. Cons
Voided warranty
Possibility of bricking device
Possibility of damaging hardware
The cons are easy to avoid, as long as you do everything correctly and do your research first. As for your warranty, it's often just easier to say your phone was lost. If it's still covered by warranty, then you could be covered for it.
ROOTING METHOD
For how to root your phone, the internet is your best friend. However, if you are not comfortable, then look to see if you can get someone experienced to do it! All rooting will require you to put your phone in USB Debugging mode as well, which is turned on by going to Menu-->Settings-->Applications-->Check the USB Debugging box. My personal favorite resources are:
Software/apps:
Unrevoked
OneClick
SuperOneClick
z4root
Written Instructions:
Cyanogenmod Wiki
My Blog! (Still growing)
XDA Developers
Video Instructions:
Youtube
(See my youtube vids)
The Unlockr
For having someone do it for you: See craigslist. Someone may be offering the service or you can ask for it.
ALWAYS DO YOUR RESEARCH FIRST!
GROUND BASICS OF OPERATING A ROOTED PHONE:
A rooted phone acts the same as a non-rooted phone. The difference is usually under the hood.
You will need an application called "Superuser", downloadable from the app market. Most rooting methods install this automatically. It will have one of these two icons:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any time something requires root permissions, it will ask for them. The first time around, you'll get a popup screen like this.
Just checkmark next to "remember" and you won't be prompted in the future.
Some popular apps that require superuser permissions:
Wifi Tethering - Self explanatory.
Titanium Backup - A powerful app for backing up your apps and data and restoring them (very useful if switching phones or if you wipe yours).
Autokiller - A powerful memory optimizer, helps with battery.
Overclock Widget - A widget that lets you overclock or underclock your processor. This requires a compatible kernel, which we'll get to in a second.
ROMs
ROM technically means "Read Only Memory", or your flash memory. In Android context though, it means porting a different firmware onto the phone. This is really where the magic of open-source comes into play:
ROMs usually come in ".zip" file format. DO NOT upzip them
ROMs are customized firmwares for your phone. "Customized" and "Cooked" are synonymous in Android context, and developers are the chefs. A ROM can be:
A minimalistic, fast firmware, and have certain features unlocked.
Upgrade your phone to 2.2 or 2.3 if you're stuck on an older firmware.
A completely new look and feel for people who don't like how their phone UI currently is (prevalent with many HTC Sense users).
An overclocking monster.
An undervolted battery saver.
Some combination of the above.
A quick way to brick your phone.
Bricking means your phone is an expensive paperweight, a "brick". Dead.
Notice the last bit about bricking. This is the biggest underlying risk in the rooting business. Many phones have corresponding software that will root the phone for you (Unrevoked, OneClick, SuperOneClick, z4root), but flashing is done manually, and someone who doesn't know what they're doing can brick their phone. Here is a basic guide to flashing:
Download a ROM
Good places to look are XDA or Cyanogenmod.
ROM Labels:
Vanilla - The stock ROM that comes standard on a phone.
CM - Cyanogenmod (or based on)
BACK UP YOUR INFORMATION.
This includes apps, contacts, texts (optional), and call logs (also optional).
You need to install a custom recovery, such as Amon Ra or Clockworkmod. They are both usually as easy to flash, and work generally the same.
Many softwares for rooting, such as Unrevoked, flash a new recovery image automatically.
If your method didn't, you can download an app called ROM Manager from the market. After installation, open it, and click "Flash Clockworkmod Recovery".
If the first two steps didn't work, then you'll have to research a way how.
Go to recovery mode, either from ROM Manager or manually.
Look up how to boot into recovery. For most phones, you'll navigate to it from the bootloader. which is started by turning on your phone while holding some combination of volume/camera buttons and the power button. Bootloader looks like this on most phones, though some vary (particularly Galaxy phones):
Your recovery will look like this:
Now there are a couple of important rules of thumb with flashing:
Always make a NANDROID backup. Navigate to it from the "nandroid" option in recovery. This is a little different than just backing up your contacts and pictures. It backs up your phone system as-is, like a sort of picture (metaphorically of course) of that moment. This gives you something stable to come restore to if something goes wrong.
When flashing a new ROM, if it's not just an update of the one you currently have, you SHOULD "wipe data/factory reset" and "wipe cache partition". Your information we backed up earlier is on your SD card, which remains untouched.
Now, ready to continue?
Select "install zip from sdcard", then "choose zip from sdcard".
Navigate to your ROM zip(s).
Select it, then scroll down to "YES".
LET IT FINISH. DO NOT TOUCH ANY BUTTONS.
Steps 1-4 of this section are what "FLASHING" means.
When it's done, repeat steps 1-4 of this section for any other zip files associated with it (themes, kernels, tweaks, etc)
When you're done, navigate back to the initial screen of your recovery mode using the "***go back***" options at the bottom of each list. From here, select "reboot phone now".
It will install any remaining packages now. Again, LET IT DO ITS WORK.
Your phone will reboot. If it locks up on boot, try reflashing, or if it just won't work, restore from a NAND backup.
There you have it. A new ROM is a big plus to many with androids. Those who are stuck with 2.1, or even 1.6 and 1.5 now can get a 2.2 ROM and upgrade their firmware, etc. You will no longer receive updates from your provider though, so it is your responsibility to keep your phone up to date by checking the developer's ROM updates, or if you like it as is and don't mind, just keep it like it is for all time.
KERNELS
Kernels are the lowest part of a system's software. It controls memory related things as well as processor things. It manages the communication between the hardware and the software, and caution should be exercised.
Kernels are flashed the same way ROMs are.
Many developers will recommend or develop a kernel to go along with their ROM.
Custom kernels are often needed to do overclocking, or undervolting (for battery optimization), etc.
Also downloaded from XDA and such.
Make sure you do your research and that it's compatible with your phone and/or ROM!
RADIOS, WIMAX, AND OTHERS
Often time you can flash updated versions of your phone's radio and wimax. Download and flash these like you would a ROM.
Thank you! Great guide, simple and clear
Thanks! Please continue commenting to keep this thread from getting buried.
Sent from my PC36100 using XDA App
Do i need a new kernel (patched) to create a custom recovery or i can use the original kernel with moded ramdisk?
Can you give same direction for create a custom recovery?
Thank you.
Sent from my Ideos S7 using Tapatalk
Just curious, but any reason you don't have the UniversalAndroot app on your list? I have used it for my old HTC (GSM) Hero, Moto Milestone and a Chinese Android tablet.
I just listed a few off the top of my head, I didn't mean to diss any software
awesome thread... thank you
Can you post a guide to getting usb debugging to work if it is not inside settings? I can't figure out how to do that.
pandafloski said:
ROOTING
Rooting is a very popular thing to do with your android phone these days. It allows you to do a number of things you wouldn't normally be able to do, such as use apps that require root permissions (wifi tethering, real backups, etc), flash custom/cooked ROM's, flash kernels, remove bloatware. and overclocking. Before you attempt rooting however, there are several things you should know first:
"Rooting" is, in vernacular terms, the Android OS equivalent of say, jailbreaking an iPhone.
To be exact, it means several things:
Name for an administrator on Android or any other Linux system.
The lowest level in a file system (for example: the root of your SD card would be the screen that comes up when you first open it, no other sub-folders.)
It also means having administrative powers over your phone.
It also voids your warranty if your phone company finds out.
So basically, by extension, rooting a phone means giving yourself rooting privileges. Think of it like this: Say you have an HTC Evo. Android is open-source, but you're only allowed to do on the phone what Sprint allows you to. Sprint wants to charge people $30 or $40 per month to do wifi tethering. A rooted phone could do wifi tethering for free, as you would be the administrator, and override the block.
PROS and CONS
1. Pros
Superuser permissions (full control over your phone, down to terminal commands).
Use root-requiring apps (wifi tether, backups, etc).
Over/underclocking
Ability to use a custom recovery.img (for flashing).
Flash custom ROMs and kernels
Flash other .zip files
Removing bloatware (apps that you don't want or need but can't normally delete)
Upgrading your firmware to later versions (such as phones that won't get the Froyo update)
2. Cons
Voided warranty
Possibility of bricking device
Possibility of damaging hardware
The cons are easy to avoid, as long as you do everything correctly and do your research first. As for your warranty, it's often just easier to say your phone was lost. If it's still covered by warranty, then you could be covered for it.
ROOTING METHOD
For how to root your phone, the internet is your best friend. However, if you are not comfortable, then look to see if you can get someone experienced to do it! All rooting will require you to put your phone in USB Debugging mode as well, which is turned on by going to Menu-->Settings-->Applications-->Check the USB Debugging box. My personal favorite resources are:
Software/apps:
Unrevoked
OneClick
SuperOneClick
z4root
Written Instructions:
Cyanogenmod Wiki
My Blog! (Still growing)
XDA Developers
Video Instructions:
Youtube
(See my youtube vids)
The Unlockr
For having someone do it for you: See craigslist. Someone may be offering the service or you can ask for it.
ALWAYS DO YOUR RESEARCH FIRST!
GROUND BASICS OF OPERATING A ROOTED PHONE:
A rooted phone acts the same as a non-rooted phone. The difference is usually under the hood.
You will need an application called "Superuser", downloadable from the app market. Most rooting methods install this automatically. It will have one of these two icons:
Any time something requires root permissions, it will ask for them. The first time around, you'll get a popup screen like this.
Just checkmark next to "remember" and you won't be prompted in the future.
Some popular apps that require superuser permissions:
Wifi Tethering - Self explanatory.
Titanium Backup - A powerful app for backing up your apps and data and restoring them (very useful if switching phones or if you wipe yours).
Autokiller - A powerful memory optimizer, helps with battery.
Overclock Widget - A widget that lets you overclock or underclock your processor. This requires a compatible kernel, which we'll get to in a second.
ROMs
ROM technically means "Read Only Memory", or your flash memory. In Android context though, it means porting a different firmware onto the phone. This is really where the magic of open-source comes into play:
ROMs usually come in ".zip" file format. DO NOT upzip them
ROMs are customized firmwares for your phone. "Customized" and "Cooked" are synonymous in Android context, and developers are the chefs. A ROM can be:
A minimalistic, fast firmware, and have certain features unlocked.
Upgrade your phone to 2.2 or 2.3 if you're stuck on an older firmware.
A completely new look and feel for people who don't like how their phone UI currently is (prevalent with many HTC Sense users).
An overclocking monster.
An undervolted battery saver.
Some combination of the above.
A quick way to brick your phone.
Bricking means your phone is an expensive paperweight, a "brick". Dead.
Notice the last bit about bricking. This is the biggest underlying risk in the rooting business. Many phones have corresponding software that will root the phone for you (Unrevoked, OneClick, SuperOneClick, z4root), but flashing is done manually, and someone who doesn't know what they're doing can brick their phone. Here is a basic guide to flashing:
Download a ROM
Good places to look are XDA or Cyanogenmod.
ROM Labels:
Vanilla - The stock ROM that comes standard on a phone.
CM - Cyanogenmod (or based on)
BACK UP YOUR INFORMATION.
This includes apps, contacts, texts (optional), and call logs (also optional).
You need to install a custom recovery, such as Amon Ra or Clockworkmod. They are both usually as easy to flash, and work generally the same.
Many softwares for rooting, such as Unrevoked, flash a new recovery image automatically.
If your method didn't, you can download an app called ROM Manager from the market. After installation, open it, and click "Flash Clockworkmod Recovery".
If the first two steps didn't work, then you'll have to research a way how.
Go to recovery mode, either from ROM Manager or manually.
Look up how to boot into recovery. For most phones, you'll navigate to it from the bootloader. which is started by turning on your phone while holding some combination of volume/camera buttons and the power button. Bootloader looks like this on most phones, though some vary (particularly Galaxy phones):
Your recovery will look like this:
Now there are a couple of important rules of thumb with flashing:
Always make a NANDROID backup. Navigate to it from the "nandroid" option in recovery. This is a little different than just backing up your contacts and pictures. It backs up your phone system as-is, like a sort of picture (metaphorically of course) of that moment. This gives you something stable to come restore to if something goes wrong.
When flashing a new ROM, if it's not just an update of the one you currently have, you SHOULD "wipe data/factory reset" and "wipe cache partition". Your information we backed up earlier is on your SD card, which remains untouched.
Now, ready to continue?
Select "install zip from sdcard", then "choose zip from sdcard".
Navigate to your ROM zip(s).
Select it, then scroll down to "YES".
LET IT FINISH. DO NOT TOUCH ANY BUTTONS.
Steps 1-4 of this section are what "FLASHING" means.
When it's done, repeat steps 1-4 of this section for any other zip files associated with it (themes, kernels, tweaks, etc)
When you're done, navigate back to the initial screen of your recovery mode using the "***go back***" options at the bottom of each list. From here, select "reboot phone now".
It will install any remaining packages now. Again, LET IT DO ITS WORK.
Your phone will reboot. If it locks up on boot, try reflashing, or if it just won't work, restore from a NAND backup.
There you have it. A new ROM is a big plus to many with androids. Those who are stuck with 2.1, or even 1.6 and 1.5 now can get a 2.2 ROM and upgrade their firmware, etc. You will no longer receive updates from your provider though, so it is your responsibility to keep your phone up to date by checking the developer's ROM updates, or if you like it as is and don't mind, just keep it like it is for all time.
KERNELS
Kernels are the lowest part of a system's software. It controls memory related things as well as processor things. It manages the communication between the hardware and the software, and caution should be exercised.
Kernels are flashed the same way ROMs are.
Many developers will recommend or develop a kernel to go along with their ROM.
Custom kernels are often needed to do overclocking, or undervolting (for battery optimization), etc.
Also downloaded from XDA and such.
Make sure you do your research and that it's compatible with your phone and/or ROM!
RADIOS, WIMAX, AND OTHERS
Often time you can flash updated versions of your phone's radio and wimax. Download and flash these like you would a ROM.
Click to expand...
Click to collapse
I have a Galaxy 3 phone and am completely new to rooting and based in Bangalore, India. Is there a one-click app for G3 which can root my phone automatically without much of my intervention and is it safe to use this app?
Informative thread, thanks.
I'm not sure there's a way to do that
I have noooo idea. I have no experience with that phone :/
Zinglife rooting is making me mad , pls help!
how to install adb drivers if no drivers are provided , superoneclick ,z4root all fail rooting my zinglife tablet..link to my thread in my signature

Some general ROM/Kernel questions from a newbie

Hi, I am a relative newbie to ROM flashing and the like. Additionally I dont have a very deep computer knowledge base. I have rooted my Samsung Captivate and have flashed a ROM (which flashed properly, but didn't quite work). I have three questions about ROM usage and such:
1. I know kernels basically add aspects to the ROM you are running, but when should you flash these? How do you flash them (same process as with ROMs? do you just do it over-top of the Rom you currently have loaded? etc...)
2. If a newer version of the ROM you have running comes out, do you have to start over and completely wipe the device over again and do the whole process from start, or can you load a newer version of your current ROM over the one you have?
3. I have been hearing/reading about some problems with the Android Market disappearing on certain ROMs when the market updates, how can i avoid this/fix this?
Thanks. Sorry the basic/stupid questions.
1. Yes
2. There are WIPE versions and NO WIPE version. Usually you can use the NO WIPE version and keep everything. But sometimes if the roms are too different you get problems and errors, then it is recommended to flash a WIPE version.
3. Hm did not experience this yet, but there are fixes somewhere .
Whats up... No question is a stupid one buddy.... (Sometimes )
To answer your first question about kernels. Flashing kernels aren't a must. You don't have to flash them really, unless there is a need. Kernels for the most part can often change the way Android handles stuff like memory management, battery resources and even multitasking. They change (tweak) the way the Android OS itself interacts with the phones hardware. That's all a kernel is really. So read up on them before flashing them because each has their advantages and disadvantages. For example, the kernel I use gives me a good RAM boost and much better battery life but it suffers on the multitasking side and I have to do other stuff to compensate for that. That's how it is. As far as flashing them is concerned. That depends. Usually, you just flash them through recovery (Like a ROM) but I would suggest you follow the instructions they give you (if it exists).
Your second question is simple. Just follow the instructions they give you for installation. Some ROMS require a full wipe and others don't. It just depends on the ROM. When in doubt, follow the instructions (again if it exists).
Your third question is a weird one, I've never heard about that really. BUT.... Some ROMS may or may not include the GAPPS applications (Google Apps).
If the ROM you flash doesn't have Google Apps built in, it would literally be missing. You would have to flash it separately. Usually in those cases though, at the download location for that ROM, they would also provide links for GAPPS zip files to flash separately so you can have the option to go with Android Market, Gmail and such OR you can use an alternative. Short of that..... never heard of that issue before..... If the issue is happening after the Market app updates, in that case it might be some type of ROM issue, you'll probably have to somehow get the updated Vending.apk (Android Market) remove/backup the original and reinstall it manually (the way you would a regular apk). I'm guessing though....
Don't you just love research........
Thanks. And now, inevitably, answers lead to more questions.
With regards to kernels, how do I know which one's do what, are compatible with which ROMs etc. I feel like its the kinda thing that needs a giant database for them, but i know there isn't.
Also, is the process for flashing other .zip files the same (though either Rom manager or a built in Recovery option). For example, a bootanimation.zip?
Ultimately I hate the idea of asking overly simply questions, but I just don't know what I dont know, nor what is supposedly implied. Thanks.
Don't sweat it...... I'm in the same boat so I have no hangups....
I think I know what you mean when it comes to kernels. Ultimately, learning about kernels requires a lot of reading in many forums (Just like this one)... Why?.... Because in many instances the persons posting the kernels might not always give you an exact breakdown on exactly what it does..... so I understand. Your best bet would be scanning XDA. I've found all sorts of really excellent kernels lying around and the devs here love documentation so there is a good chance you'll know what it does...
You could also try DroidBasement: http://droidbasement.com/db-blog/
They actually have just what you wanted, a database....kind of. They have a very large variety of kernels for different devices so its a good place to start as well.
They also tend to do a breakdown of what each kernel is capable of, the device it should be used on and so on.
About flashing zip files. Generally speaking, most zip files are flashed through recovery but its not written in stone. Following the instructions concerning said zip files are always very important. Always look for instructions before you do so at least at first. In the case of bootanimation.zip.... They are not always flashable. But if it is flashable, you can flash it through recovery which would be the best method....
If you want though, you can replace the original bootanimation.zip file with the new one manually, once you have root and some type of root explorer (for example RootExplorer for Android).
Generally, the boot animation directory is usually, /System/Media so you can check to see if its there and if it is, just backup the original and replace it with the new one.... That should work... Always nandroid before doing so though.... before doing anything really....
Thanks. I actually had a question about nandroid but forgot. Basically, what is it. I realize contextually that it's a backup program and apparently works through the recovery menus. I read a ROM flashing step-by-step that mentioned it but couldnt figure out where to get it (not in the market unlike Ti-bu which i use currently).
Nandroid is a backup program that basically creates a flash image of your phone... If you've ever heard of "Ghosting" or "Imaging" a Hard Drive, its exactly the same thing.
Its really as good as it gets as far as data backup is concerned. Its also a low level backup, so even file structures would be recorded.. In other words, you can completely screw up your phone (file partitions everything!!!!) but once you can boot to recovery, your phone can be restored. That's why its so important because its your safety net....
Its not something that you can install like an apk, so its not in the market.
You would have to flash a custom recovery. If you have one already, it should be located in one of the menus (It changes depending on the type (brand) of recovery).
If you don't see the option in your recovery then its probably not custom and you're going to have to do some digging on these forums and maybe a bit of googling for instructions on exactly how to do so. Because it could change from device to device.
Nandroid also allows you to backup your sd-ext partition as well, so if you switch cards, you can restore to another card.... Its really incredibly handy and I wouldn't suggest you do anything until you can create nandroid backups....
Now, I'm having an interesting problem I posted this same thing in general Captivate forums but maybe someone who is looking at this/answering me knows. here's what i posted there:
have a Captivate that I recently flashed Di11i's 7.1.1 to, before that I had flashed my first ROM which was Serendipity 6.2. Both times I have found that I don't get incoming calls. People calling me get 2-3 rings, and then a traditional "busy signal" sound. On my end, either the phone vibrates once but the screen doesnt change from whatever screen I'm on. Or, The screen goes black like its going to the incoming call screen, but the black screens only flashes and goes away, as does a force close message box that goes away quickly without me clicking it.
Everything else on my phone works as far as I can tell, I've been running my current ROM for about 5 days without issues other than this one. This same exact problem also happened when I flashed Serendipity 6.2 (which I only kept for like a day because of this problem)
Ok....I currently use a G1 and most of my experience has been on HTC Devices. I'm not sure of how to reply to this as I have never really modded Samsung devices before. So I'm not really familiar with software and hardware differences (Like Bootloader, Recoveries, Radios and such). But based on what you're describing.... It sounds like a ROM or maybe a radio issue. Maybe its an issue with the phone app itself. If the app is somehow buggy then thats exactly what would happen. When the phone rings the phone app would try to run but then force close....
I'm guessing here, but it could also be a radio issue because you're getting a busy tone as well which is not good. Maybe the ROM requires a specific Radio version BEFORE its flashed.... Check the source of the download and determine if it requires a specific Radio version.
In my experience though, if the correct radio version isn't used for a ROM that requires it, the phone just won't boot..... but then again, I don't know what would happen on a Samsung Captivate.... Not sure if I can help on this one because I don't have any info on that type of hardware. I don't own one you see.....
What about if you found out a new kernel isn't as good as the old kernel, how would you go on to take away the new kernel to replace it with the old kernel? Is it the same process or even harder?
vlen22 said:
What about if you found out a new kernel isn't as good as the old kernel, how would you go on to take away the new kernel to replace it with the old kernel? Is it the same process or even harder?
Click to expand...
Click to collapse
NOW THIS IS ANNOYING..
u have to flash ur rom again..
but fortunately u dont need to do and wiping data or partitioning sd card.. jus flash rom..
Its not something that you can install like an apk, so its not in the market.
zeemar007 said:
NOW THIS IS ANNOYING..
u have to flash ur rom again..
but fortunately u dont need to do and wiping data or partitioning sd card.. jus flash rom..
Click to expand...
Click to collapse
The rom kernel that I downloaded, or flashing clockwork recovery mod? Like adrenylyne's kernel for the thunderbolt.
EDIT: Never mind, I found out. I didn't mean any harm if MY POST was annoying.
If you have two kernels, in a flashable zip, you can just flash them over each other to exchange them (turn off any modification the kernel did befor though, like lagfix).
New question, I had an app (quick office) that came on my captivate. Now that I've flashed di11i's 7.1 I don't have it anymore. This is particularly peculiar because all the other native apps are still here:samsungs media player from example. How do I go about getting this missing app back on my phone. I have all the backup files on my computer so I should have the .apk (although I'm not entirely sure how to install those properly) thanks
Sent from my SAMSUNG-SGH-I897 using XDA App

GUIDE SGS4 GSM vs CDMA, Unlocking, Rooting,Info on XDA, Flashing,4 noobs & beginners

GUIDE SGS4 GSM vs CDMA, Unlocking, Rooting,Info on XDA, Flashing,4 noobs & beginners
First off: if you find this useful, please hit the THANKS button, instead of posting thank you in the comments
Over the course of the past three months (and more specifically, over the past week), I'd like to think I've gone from complete noob to proficient android ROM flasher/ phone dude. However, it took many, many hours of searching for info scattered across this site and others, so I figured I'd give compiling all I've learned a shot, into one comprehensive thread that really covers all the stuff you need to learn from the ground up.
Will do so in the next couple 10 posts, topics being:
*Step (-1): What type of network/ phone technology does your phone use?
*Step (0): is your phone networked locked?
*Step (0.5): DECIDING YOU WANT TO ROOT YOUR DEVICE!/ Put a custom operating system on that thaaaang
*Step1: figure out what your device is- specific phone and model
*Step2: figure out how to root (gain root access to) your device looking at XDA forums
*Step3: Follow instructions, root device
*Step4: backup all your apps and app data
*Step5: Install a custom recovery either ClockWorkRecovery (CWR) or Team Win Recovery Project (TWRP), and do a nandroid backup!
*Step6: Choose which ROM or multiple ROMS you want to try out, and download the zipfile to your phone's internal memory or
*Step7: Step 7: flash the ROM and restore your apps!
NOTE: YOU TWEEK YOUR PHONE/ FOLLOW MY ADVICE AT YOUR OWN RISK
I just learned this stuff myself, so I thought now would be a good time to explain it, while I can still remember what if feels like to have no idea what I'm doing haha.
Before I go further, there are similar intro threads to this...for example, this one does a decent job of explaining that by modding your phone, you may void the warranty (although there are ways to restore your device to a state such that you can't tell you ever modded, it, like triangle away, etc.) http://forum.xda-developers.com/showthread.php?t=1118120
I posted this here because a couple of these steps use the Galaxy S4 i9500 as an example...so if you have that phone this thread should be particularly helpful.
Step(-1): What type of network/ phone technology does your phone use?
If you are OUTSIDE the USA, 99% chance the answer to this question is GSM, meaning your phone number is attached to a little plastic sim card that you can put into/ out of your phone...you should check anyways though to be sure.
If you are in the US, you may have a phone which uses CDMA, a technology that does not use Sim cards (true if your carrier is Verizon or Sprint). Phones that JUST use CDMA are sort of "Hardwired" to their networks, making it much more of a hassle to switch carriers; plus, basically everywhere else in the world uses GSM, so if you plan on traveling outside the USA, you probably won't be able to use your phone abroad. If you have a fancy new smart phone, it may have the hardware to use both CDMA and GSM networks, (for example, all Iphones models 4s and above), so check your phone specs.
In the US, the major carriers that use GSM are ATT and Tmobile. I prefer getting phones from these guys, because I know I'll be able to relatively easily use my phone anywhere in the world, and easily switch between cheap, prepaid, contract free plans (like straight talk or ultramobile), which rent out the networks of major carriers like ATT and Tmobile.
Step(0): is your phone networked locked?
ans: This is mostly a non-issue to folks outside the US, or if you don't plan on switching your carrier, but if you plan on travelling abroad or switching your carrier, and have a CDMA phone, you have a tough road ahead that I cannot advise you on . I would suggest checking out this site and buying a slightly used android gsm phone (att or tmobile branded) http://swappa.com/ .
However, if you have a GSM phone you got in the US, your phone may be configured so that putting sim cards from different carriers in it won't give you any service (aka "locked" or "network locked"). Check by taking a friend's Sim card using a different network than you and popping it into your phone; if you have service/ can make and receive calls, the phone is NOT locked. There are probably more sophisticated ways of checking if your phone is network locked, but above is probably the most straightforward.
There are some methods of unlocking your phone for free, but if you have a newer phone it may not work. Plenty of online sites that sell you unlock codes for between $7-$25, and send the code over email either instantly or a day at most after you buy it. Definitely worth it in my opinion; one site I've used a bunch is http://www.cellunlocker.net/
NOTE: if you have your phone on a contract, you are still obligated to pay your carrier throughout the time of your contract, else you pay some cancellation fee. So be aware of that.
Step 0.5 DECIDING YOU WANT TO ROOT YOUR DEVICE!/ Put a custom operating system (ROM)
SO, now let's say you've network unlocked your awesome GSM android smartphone, and you want to travel with it to another country, like for example, India. Because you unlocked it, you can buy a cheap local Sim card and use it in your phone, fully enjoying mobile 4g data (well, more like 3.5G, using HSPA+, not so much 4G LTE in India yet, but I digress). OR, you can use a $45 a month prepaid plan where you get unlimted everything and have no contract, instead of paying $80 a month or some garbage. AWESOME!
However, let's say you got a Tmobile phone and want to use the phone's capability of being a portable wifi hotspot, broadcasting the mobile data it's getting to your computer...turns out you can't do that in India (or on cheap prepaid plans in US, for that matter). I discovered that since I was using a Tmobile branded phone, the Tmobile "stock" operating system of the phone won't let you use the wifi hotspot unless you have Tmobile's special "hotspot plan"...it also hard codes a bunch of shi**y bloatware apps on your phone that suck. Some BULLS**T, eh?
Luckily, there are plenty of free and easy ways to "root" (gain root acccess) to your phone (and plenty of resources telling you how to do so!), and install custom android operating systems on your phone, which
1.) don't have any stupid bloatware apps
2.) let you use all the hardware features of your phone regardless of carrier
The result is a more powerful phone that runs faster, uses less battery life, and is generally just way more badass. Probably the best resource for how to do all of this is the xda-developers forums (http://forum.xda-developers.com/ ) Very vibrant community, and lots of people will help...just follow the rules though, explained tongue and cheeck in the following video ( http://www.youtube.com/watch?v=JmvCpR45LKA ). The main site for xda-developers is www.xda-developers.com, they also do cool vides and stuff on what's up with phone stuff. HOWEVER, if you are not careful you can mess up your phone, so that it's about as good as a paperweight (called "bricking" your phone). So just read all the instructions before you do stuff, yeah?
The following is more or less the beginning steps I did to root and install a custom ROM on a friend's Galaxy S4, which is an international model and so not network locked. The same general process could be applied to your phone as well, but again--this is only a general guide--your phone can (and probably will) have it's own exceptions to the general process. LOOK THEM UP!
Steps 1,2,3: find device model, research how to gain root, ROOT!
Step1: figure out what your device is- specific phone and model
ans: for example, my friend's phone I am setting up for him is the Samsung Galaxy S4 model i9500
**************************************************
Step2: figure out how to root (gain root access to) your device
ans: Off all the devices on xda forums (http://forum.xda-developers.com/index.php?tab=top), found my device ( http://forum.xda-developers.com/galaxy-s4) , found the proper forum (http://forum.xda-developers.com/galaxy-s4/help) , then searched in that specific forum to find the proper thread http://forum.xda-developers.com/showthread.php?t=2419762 , see Q4
**************************************************
Step3: Follow instructions, root device
ans: Instructions are at http://forum.xda-developers.com/showthread.php?t=2292615
NOTE: You must have the proper USB drivers installed, meaning either installing the sdk (software developer kit) from google and getting adb (android debugging bridge) set up (this is the best way to do it, really, especially if you want to mess around with phones more...tutorial on how to setup adb here http://androidcentral.us/2013/08/how-to-install-android-adb-and-fastboot-on-windows/ ) . If you can already transfer music and stuff from your computer, it may work without adb. Be sure your USB cable is not too beat up, and if possible, is the one that came with the device.
adb is very useful for communicating between pretty much any android phone and your computer. You can use it to push files on the computer through the terminal interface, even if the phone's file system doesn't show up for whatever reason on the computer when you connect it via USB ( more on that here http://log.amitshah.net/2012/05/using-adb-to-copy-files-to-from-your-android-device/ ), and a cool little program to send files from your computer to the device in a slightly more straightforward way, if you already have adb installed (http://www.xda-developers.com/android/push-files-to-your-device-with-quick-adb-pusher/)
Also, make sure you have USB debugging enabled. It should be in the Develpors options, which you may have to "activate" to see...see here http://gs4.wonderhowto.com/how-to/enable-hidden-developer-options-your-samsung-galaxy-s4-0146687/
If you are rooting a samsung device, you will probably have to use a program called ODIN. Other android devices allow you to do root through a method called flashboot. In general there are tons of ways to root devices, just make sure the one you are using has been tested and you follow the instructions exactly.
CONGRATS! you are rooted. That's half the battle. Rooting the phone will add a "Super User" app of some kind, which will basically controll which apps have access to the internal files of the phone (located on the "root" of the phone's flash drive). Some apps that are very useful for flashing custom ROMS (like ROM manager) and backing up your apps and their associated data (like Titanium backup) require root access, so you'll need to have rooted your phone first, and then when you open those apps for the first time, tap "allow" when it asks about granting root access.
some cool apps can only be downloaded if your phone has Root, like this gameboy emulator: https://play.google.com/store/apps/details?id=eu.codlab.src.game&hl=en
and here are some good Root apps to have, apparently
http://www.youtube.com/watch?v=jX4ir9r84YA
Step4: backup all your apps and app data
When you do eventually install a custom ROM on onto your phone, it will start out with little to no apps. The best way to get up and running again as quick as possible is to back up all your apps and data with Titanium Backup (mentioned above), which requires root access. Here's a great video on How to use the free version: http://www.youtube.com/watch?v=gQWoWfTA88k ....the video makes a good point in that if you are backing up your apps for a new ROM you are about to flash, you should only backup the User apps. Backing up and restoring the system data as well might cause some problems in the new ROM
While you don't need to to buy the pro version, I would recommend it--7 bucks, but it allows you to restore all the apps you've backed up much faster by letting you back them up into a zip file that you'll later be able to flash on your phone. Very useful, more on that in a bit...video talking about that here: http://www.youtube.com/watch?v=dRR5FONGJUA
Step5: Install a custom recovery either ClockWorkRecovery (CWR) or Team Win Recovery
By "custom recovery", i mean a custom version of the boot/ recovery interface, which lets you do a lot more with your device besides just restore it to factory settings. These custom recoveries will let you do a full backup of your device (often called a "nandroid backup"--this should be the first thing you do after you root your device!), as well as flash custom phone operating systems (ROMS) onto your phone; useful if you want to fully use all the hardware features of your phone, and not have the bloatware apps from the manufacurers hard-coded into your phone.
It's worth noting here that it's VERY important to install the correct version of CWR or TWRP. Usually to download CWR for your device, you can just download an app called ROM manager (again, after you've rooted your phone), which will recognize your device and then install the proper CWR version on it.
NOTE: If you have a more esoteric model of phone (like I do--the Samsung Galaxy S3 T999L, an LTE version of the S3 that came out in 2013, a while after the initial S3 launch), you may have to flash a custom recovery of a similar and more popular phone model to flash some custom ROMS (in my case, I had to flash the the Galaxy S3 model T999 version of CWR). For weird esoteric cases like this, it may be worth it to buy a useful app, ROMToolbox pro, which will let you flash a custom recovery for a userdefined device onto your phone in the paid version (it's like $5). Most times you shouldn't have to worry about this stuff, but just make sure you read any instrutions on XDA forums carefully before doing stuff.
As mentioned before, before messing around with your phone anymore, do a nandroid backup--super easy and essential if you make a mistake installing the wrong ROM or Recovery. Doing a nandroid backup will create a .zip file that contains a full "image" of your phone--all your data, apps, settings, a snapshot of your phone exactly the way it was when you took it. In creating this backup you can save it to your phone's micro SD card, or the phones internal memory. Regardless, always a good idea to save a copy on your computer too when you are done.
For the Samsung galaxy S4 i9500, looks like TWRP is the recovery to flash: http://forum.xda-developers.com/showthread.php?t=2361122
Step6: Choose which ROM or multiple ROMS you want to try out, and dl zipfile to phone
Now comes the fun part. Do some research on what custom ROM you'll want to try out. Some basic principles about ROMS:
Roms based on the Stock OS: These ROMS are based on the manufacturer firmware/ OS that the phone shipped with. So for Samsung devices, for example, these types of ROMS are Touchwiz based (because "TouchWiz" is the name Samsung has given to it's proprietary software that is responsible for a lot of the bell and whistle tricks you see in Galaxy S4 commercials, for example) These Roms are usually about 700 MB in size, and may still have some of the samsung apps installed if you do like to use them.
AOSP or AOKP ROMS:
AOSP (Android Open Source Project) ROMS are those that ship with "vanilla" android, meaning they don't have any manufacturer bloatware--they come with more or less the bare bones apps required to run the system. These ROMS will be much smaller, around 100-150 MB in size. The most popular of these is CyanogenMod, which is often referred to as just CM (for example, CM11.0.1 stands for CyanogenMod version 11.0.1). The guy who made clockworkrecovery, Koush (a legendary android developer of sorts, it seems), now works for the CyanogenMod development team ( think)
AOKP is the name of another popular AOSP based ROM. AOKP stands for Android Open Kang Project, Kanging being some jargon for stealing code and messing with it or something. Apparently it was used as a joke and then stuck, in the same sense that their mascot being a unicorn stuck (which I think is awesome haha).
IMPORTANT POINT ABOUT AOSP ROMS:
If you flash an AOSP Rom, the google play store will NOT be installed by default. In order to fix that, you'll need to flash another zip file containing the play store app as well as other basic google apps (gapps for short) as soon as you flash the Rom itself. You can find the proper gapps zips that go with the proper AOSP roms here: http://goo.im/gapps
There are couple apps that will let you download the ROM files directly to your interal storage from the app itself, like Rom Manager. However, to make sure you have the most up to date version of the ROM, you should visit the ROM's website directly.
Custom ROMS will often have a most recent stable build, and a most recent "nightly" build. The nightly builds may have some new experimental features, but may be a little buggy.
Step 7: flash the ROM and restore your apps!
So here's a pretty good short video walking through how to flash a ROM, although uses a different recovery interface besides CWR or TWRP : http://www.youtube.com/watch?v=nxTwGwtUBbk ....this does a good job of explaining the basic idea, however--
A.)you get the zip file of the ROM you want to flash on your internal or removable SD card
B.) reboot into recovery mode (often by holding down the volume down key and power button at the same time when your power is off, but you should look up what it is for your specific device)
C.) do a Wipe or Factory Reset. THis should not wipe the data on your SD card or phone's Internal SD card
D.) Wipe the Cache or the Dalvik Cache, whatever it is called (though on TWRP, the wipe feature does both a factory reset and cache wipe at once)
E.) install from SD card the zip file containing the ROM you are going to flash
F.) If the Rom is an AOSP based ROM, install the zip file containing the proper package of google apps
G.) reboot system
Again, the above are just general steps. If you want to see someone flashing a ROM with the recovery you are using (and I would recommend CWR or TWRP), just search for it on Youtube.
Now, if you plan on restoring your apps by flashing a Titanium Backup zip file, you first want to reboot into the new ROM, and skip the part when it asks you if you want to restore your phone using your google account (you can do that later). Then reboot into recovery and flash the Titanium backup zip file. got this info here: http://www.s3forums.com/forum/galax...backup-pros-update-zip-restore-your-apps.html
And that's about it! let me know if I got anything wrong. If you do have questions, I'll try my best to answer them, but again, I've just learned all this stuff as well, so I may not know.

I need a little bit of info.

So ever since I heard about rooting Android devices I innediately done some research on how to do it and I did it. I have had this root on my Samsung Grand Duos for a while now and all I have done is have a few apps (Lucky patcher, Freedom, and Exposed with 1 plugin or w.e) and I am pretty sure I can do far more than just that, so that's why I made this thread. I have a few questions I would like to be answered if you know anything about it.
1) What are customs ROMs and what can I use them for?
2) I am a developer and I have helped make some apps for both iOS and Android, would my root be useful in any way?
3) When I tried to upgrade my version of Android it told me that my version was modified, is there any way I can upgrade to the latest version? And would it remove my root?
4) Is root only compitable with specific versions? Like when a new version comes out, can you root it immediately or do you have to wait for something to do the root process again?
5)My device storage is pretty small and it makes it a pain in the ass to install apps, is there any way that I can edit that? (I am probably going crazy with this. lol)
Thank you.
Bump, would still like some help.
1) 3) 4) a custom Rom is a modified android, mostly based on clean aosp. The example CyanogenMod: you can choose between different Android versions. And with a custom ROM you have great efforts such like theming engine, overclocking or other nice features that are really useful but uncommon in stock ROMs. So I recommended anyone who decides to root his phone to flash a custom ROM neither a stock root
A lot of the info is available on XDA forums, tutorials, and on Google so I suggest you start doing some research as it will help you understand wholly much better...
1 - Custom roms are what nico331999 explained. Modified android firmware made for each specific phone model by developers. Its their take on android and most come with many extra features, themes, launchers, based on different android versions, etc. Cyanogenmod is one the popular ones, but there are a lot more. You would have to search the forums for your specific phone. In order to install a custom rom, root is not enough there are other things you would have to do which you will again need to find out for your phone. Generally speaking you have to unlock the bootloader, install a custom recovery, then flash a custom rom along with gapps.
2 - If you develop apps which utilise root access you can allow them sort of 'admin' access to everything on your phone, so you can perform any task with the app which requires such access. One example is replacing system level apps.
3- If you install a custom rom it will have its own version of Android, usually they are updated versions. You can download the FTF file for the most updated firmware version for your phone and then flash it on your phone. You'll be able to search online for instructions and downloads. A new firmware will remove your root and you will need to root it again. You can search for pre rooted firmwares though to avoid that step.
4 - Yes, you have to search for a rooting method for each firmware version of each phone. Developers (great guys) figure out these methods and post them online for the world!
5 - If your device has SD card support you can install many apps on the SD card to save some space using apps such as Apps2SD or Links2SD. You can move all your media to your SD card. If your device doesn't support SD cards I suggest you move as much data as possible to your computer, and maybe use cloud storage at the same time. Also, since you have rooted your phone, you can use an app like Titanium to uninstall bloatware (unused apps which you cannot usually uninstall).
All of this stuff seems like a handful when you first get into it, but you need to get out there and start researching these topics for it to all fall together in place...
I have to add something with apps to SD: some manufacturers (especially Samsung) have a very weird external storage handling (called emulated storage) which doesn't allow you to move your whole apks. It only saves user data.
ishaang said:
A lot of the info is available on XDA forums, tutorials, and on Google so I suggest you start doing some research as it will help you understand wholly much better...
1 - Custom roms are what nico331999 explained. Modified android firmware made for each specific phone model by developers. Its their take on android and most come with many extra features, themes, launchers, based on different android versions, etc. Cyanogenmod is one the popular ones, but there are a lot more. You would have to search the forums for your specific phone. In order to install a custom rom, root is not enough there are other things you would have to do which you will again need to find out for your phone. Generally speaking you have to unlock the bootloader, install a custom recovery, then flash a custom rom along with gapps.
2 - If you develop apps which utilise root access you can allow them sort of 'admin' access to everything on your phone, so you can perform any task with the app which requires such access. One example is replacing system level apps.
3- If you install a custom rom it will have its own version of Android, usually they are updated versions. You can download the FTF file for the most updated firmware version for your phone and then flash it on your phone. You'll be able to search online for instructions and downloads. A new firmware will remove your root and you will need to root it again. You can search for pre rooted firmwares though to avoid that step.
4 - Yes, you have to search for a rooting method for each firmware version of each phone. Developers (great guys) figure out these methods and post them online for the world!
5 - If your device has SD card support you can install many apps on the SD card to save some space using apps such as Apps2SD or Links2SD. You can move all your media to your SD card. If your device doesn't support SD cards I suggest you move as much data as possible to your computer, and maybe use cloud storage at the same time. Also, since you have rooted your phone, you can use an app like Titanium to uninstall bloatware (unused apps which you cannot usually uninstall).
All of this stuff seems like a handful when you first get into it, but you need to get out there and start researching these topics for it to all fall together in place...
Click to expand...
Click to collapse
Thanks a lot, ishaang, you were a lot of help to me.

Categories

Resources