Why Complexities - Captivate Q&A, Help & Troubleshooting

First off, Thank you to all the dev's who've put out all the great roms (too many to mention)....
But, as I was reading through some of the most recent releases of roms, I found myself more and more frustrated with confusion. It wasn't the screenshots (thanks, it helps), it wasn't the list of changes/additions/subtractions (that really helps), it was more the complex install info.
I'm not trying to hurt anyone's feelings, but why would you go off on a tangent to left field while your writing down how to install something? Can we get a universal install procedure?
Most roms are released within hours and in some cases days of one another. Lets assume that rom a has what newest rom b needs and create something from that. Then if you need to express random thought for the new guy, that could be post #2. I guarentee that most of the people here have flashed and re-flashed and soft bricked and flashed again.
Guess what I'm trying to say is, rom dev's are releasing things that probably no one will use cause they aren't clear and concise on the install procedure.

FroztIkon said:
First off, Thank you to all the dev's who've put out all the great roms (too many to mention)....
But, as I was reading through some of the most recent releases of roms, I found myself more and more frustrated with confusion. It wasn't the screenshots (thanks, it helps), it wasn't the list of changes/additions/subtractions (that really helps), it was more the complex install info.
I'm not trying to hurt anyone's feelings, but why would you go off on a tangent to left field while your writing down how to install something? Can we get a universal install procedure?
Most roms are released within hours and in some cases days of one another. Lets assume that rom a has what newest rom b needs and create something from that. Then if you need to express random thought for the new guy, that could be post #2. I guarentee that most of the people here have flashed and re-flashed and soft bricked and flashed again.
Guess what I'm trying to say is, rom dev's are releasing things that probably no one will use cause they aren't clear and concise on the install procedure.
Click to expand...
Click to collapse
I see your on super nova. Have you looked at Mosaic. I tried to make the directions as simple as i could

right now with the recent port of the i9000 2.3.3 things have changed.
and changed very recently.
soon enough there will be an easier, more standard way to upgrade.
but keep this in mind....
what we are doing here is programming a phone. the devs AND YOU!
programming an electronic device is not a simple thing, and is not childs play.
the devs have YEARS of experience in programming to bring us the software,
we need to understand what we are doing in order to do it.
so we need to understand programming.
this cannot be done in 10 minutes by just reading instructions.
and this SHOULD NOT be able to be done in 10 minutes by reading instructions.
there are real risks in doing this, that is why it voids your warranty.
you need to understand what you are doing to be able to do it.
thats why you must LEARN in order to do this.
nobody ever learns with brain-dead instructions.
the more you LEARN first, before flashing, the better your chances at success.
the easier the instructions the easier noobs run into problems! Brick their device or get scared and confused about very simple things that they should have understood first!
so the complexity has a dual purpose, it forces you to go out and LEARN before you do anything AND also provides you with alot of information to start learning
<<Captivate Post of the Week>>

TRusselo said:
right now with the recent port of the i9000 2.3.3 things have changed.
and changed very recently.
soon enough there will be an easier, more standard way to upgrade.
but keep this in mind....
what we are doing here is programming a phone. the devs AND YOU!
programming an electronic device is not a simple thing, and is not childs play.
the devs have YEARS of experience in programming to bring us the software,
we need to understand what we are doing in order to do it.
so we need to understand programming.
this cannot be done in 10 minutes by just reading instructions.
and this SHOULD NOT be able to be done in 10 minutes by reading instructions.
there are real risks in doing this, that is why it voids your warranty.
you need to understand what you are doing to be able to do it.
thats why you must LEARN in order to do this.
nobody ever learns with brain-dead instructions.
the more you LEARN first, before flashing, the better your chances at success.
the easier the instructions the easier noobs run into problems! Brick their device or get scared and confused about very simple things that they should have understood first!
so the complexity has a dual purpose, it forces you to go out and LEARN before you do anything AND also provides you with alot of information to start learning
<<Captivate Post of the Week>>
Click to expand...
Click to collapse
Nice long post. Although alot of rambling Tru but I like your last line

As for a standard set of installation instructions, I dont think we will ever see it. Each rom is as unique as the person that developed it, and with that individuality comes an individual requirement for implementation.

ATM some ginger roms are wipes, some arent, this used to be true for all froyo/eclair roms.
that is why we USED TO have to flash to stock each time. same now. (for non wipe roms)
that changed! it can again!
as for getting the bootloaders, if you are installing a WIPE rom you dont need to flash the whole i9000 package. Just the bootloaders alone and ONLY ONCE. some roms currently use this method.
other roms that arent wipe roms depend on apps and framework to be there, or might not like other stuff left over that may still be there. so it is necessary to flash back to i9000 stock, this can be done with or without bootloaders if you already have them. but most of the non bootloaders packages have been taken down. once again you only need to get the bootloaders once.
once again all this can change and standardize again. with the following intructions:
from eclair or froyo
1. odin flash GB bootloader and CMW3 kernel in a single package. (small 4 MB package!)
2. boot into CWM3 and flash a WIPE ROM.
done and upgraded.
my fastest upgrade was one extra step. the bootloader package had re-orient kernel with no cwm3 so i had to reboot and odin flash talon between step 1 and 2.
still pretty easy with a wipe rom.
we grow up so quickly...

Related

a little nervous to rrot

First of all I'd like to apologize because I'm sure this has been covered already but I just feel more comfortable asking myself.
I have had my g1 for a couple of months now and I'm starting to get all itchy for root for all the obvious reasons. I hoping someone can answer some questions or point me in the right direction.
I have ota CRB43 build on my phone. I see LOTS of different instructions for rooting.. I'm wondering what one I should go by. I also notice some people say to take out the SD card instead of mounting to prevent possibly bricking your phone... should I do that or is it better to mount with the usb? And after following whatever instructions is there anything else necessary to do?
I was also interested in what themes people are using. Can I jump right into that after rooting or is there something else I will need to do. Any links for themes you are using would be great also.
Thanks so much… I really appreciate it.. Thought I had more questions.. If I remember anything else I’ll update.
I used Gizmodo's guide - very simple and clear.
http://gizmodo.com/5146797/how-to-hack-android-for-multitouch-web-browsing-on-the-t+mobile-g1
If you follow it step-by-step you'll wind up with an old build, but you'll have root and be ready to step up to any new build. New builds are easy once you've rooted - rename to update.zip and flash using recovery (explained in the guide above).
You'll also want to get the newest radio (after rooting per directions above) - Download the ota-radio-2_22_19_26I.zip file from http://www.htc.com/www/support/android/adp.html#s3 -- Rename to update.zip and flash as usual.
And I had absolutely no problems mounting the SD Card via the phone itself. Just make sure you cleanly eject the card from your PC every time, to avoid corruption.
And let me suggest CyanogenMod for your build.. Simply the fastest and most stable Android build out there - "official" firmware included.
Thanks a lot for your response! It was helpful and I checked out your link.. I was looking at -
http://androidsocialmedia.com/root-access/android-g1-root-access-why-how
originally, but I think they look similar. Thanks for the radio info as well.. anything else besides that I'll need to update?
let me ask one more thing- what's the difference between CyanogenMod and the others available?
thanks again for your help!
sole3s said:
Thanks for the radio info as well.. anything else besides that I'll need to update?
Click to expand...
Click to collapse
Well, I did skip the SPL - Some ROMS require a different SPL (Secondary Program Loader/Launcher, I think..) to free up additional space on the device. Mostly the Hero based ROMs. I haven't touched any of those, need someone else to help there.
sole3s said:
let me ask one more thing- what's the difference between CyanogenMod and the others available?
Click to expand...
Click to collapse
Cyanogen is tweaking the heck out of Android - endlessly enhancing it for performance and stability. Cyanogen has a few visual tweaks but mostly it looks like stock Android with all the improvements under the hood.
The other builds.. Mostly visual, in my opinion. They all have fans though, check out the threads under Development for more details. Also, the Android ROM Database - http://www.simonwalkerphotos.com/android/android_build_information.asp
Dude, thanks so much for all this info.. http://www.simonwalkerphotos.com/and...nformation.asp was really helpful.
last question I'm gonna ask.. if i hard reset do is it going to unroot my phone?
Again.. you were really helpful! I appreciate it so much!
Nope it will not unroot you're phone
No, you'll just go back to a fresh version of whatever ROM you have installed. However, some ROMs (Like Cyanogen) put some apps in the /data folder, so a wipe could break the ROM. Typically it is better to flash after a wipe. But you won't loose root either way.
Only way I know how to loose root is to flash a none rooted ROM.
The only thing I would do is avoid the DangerSPL until you either need it or know what you are doing. Otherwise its pretty much hard to brick your phone unless your trying to with a low battery.
I'd just like to take a second to thank everyone for their help, especially Saiboogu. Like I said in the first post, I'm sure this stuff was covered somewhere but this really made me feel a bit more confident. Thanks for not flaming me... I'm actually a bit surprised at the friendly responses... again thanks everyone.
Most likely I'll be able to get around to rooting on monday or tuesday.. I'll post updates just for the fun of it.
Take it easy guys
Lol well you posted it in the right section. Of course you are going to get help
What alritewhadeva said .. You ask in the right place, we'll help. You're off to a good start.

Bricked in 48 hours...

Well, long story short, had it 2 days and hard bricked it. Here's the question though. Im getting a new one in an hour or two, and I'm looking for the absolute idiot proof version of rooting and getting a rom and kernel on the phone. I had a samsung moment, and I never had any issues with any of the flashing or anything on that. I have read probably 200 different post on rooting and 3e recoveries and roms and whatnot. Can someone suggest a decent set-up, maybe a 2.3 rom, and a recovery that works well together. I do not tether, and i dont really need to overclock it (maybe later). I just want to be able to have my phone run smooth, be able to install non market apps and have everything work well together...
thanks in advance!
There is nothing we can really say that hasn't been said already in those 200 other posts you mentioned.
make sure your computer / usb cable works properly first. then just follow the steps exactly described and you should be fine.
redneck.nerd said:
Well, long story short, had it 2 days and hard bricked it. Here's the question though. Im getting a new one in an hour or two, and I'm looking for the absolute idiot proof version of rooting and getting a rom and kernel on the phone. I had a samsung moment, and I never had any issues with any of the flashing or anything on that. I have read probably 200 different post on rooting and 3e recoveries and roms and whatnot. Can someone suggest a decent set-up, maybe a 2.3 rom, and a recovery that works well together. I do not tether, and i dont really need to overclock it (maybe later). I just want to be able to have my phone run smooth, be able to install non market apps and have everything work well together...
thanks in advance!
Click to expand...
Click to collapse
Are you sure it was a hard brick? This is somewhat of a "learn as you go" kind of thing. The devs on here post excellent instructions on what to do to get there Rom on your device. I would suggest MikeyMike's 2.3.3 JVB Rom or my personal choice of Cezar's Continuum 2.3.3 Rom with JVH Talon Kernel. These have a slight risk because of the "bootloaders" you will need to get on your phone, but I had no trouble and would do it again in a heart beat.
Take your time reading the instructions in the Rom you choice to go with, then read it again. Then go through the post to see what others had problems with, because 9 times out of 10, someone has posted the question multiple times.
Don't be afraid to ask questions, you will see others posts and get to know who actually helps, who is a douche and should be avoided. This is an excellent community of people who love to mess with things and have fun doing it.
I know I did not address the question with a tutorial on how to do this step by step...because it has been done
Best of luck, and if I can help...shoot me a message.
If all you want is a smooth running phone where everything works, flash Andromeda 3.0 on it and forget about JVB, CM7 or anything with bootloaders.
@ TigerEnigma: Yes im sure it was a hard brick. I've been modding android phones since donut and this was a definite brick. I was able to get into download mode one time, and after that nada. No recovery no, download, no boot of any sort. The guys at the "Shack" didnt even question my story so no big deal.
Thanks for all the help guys. This is the first phone I have had issues with. My last phone was the moment, which is probably one of the easiest phones to mod so going from that to this was a little bit of a shock. Im going to peruse the forum some more, before making any final decisions. i may try this stuff tonight so hopefully all goes well...
thanks again guys
Make a jig also. I made a jig that saved me and the guy i work with. Also if you are looking for a 2.3 rom then do go with a JVH build and not JVB.

About custom Roms

So, I installed Juwe's ROM and now that I have it installed... well... to me it just seems like a compilation for the lazy. Dont get me wrong, i really appreciate the work done by all chefs but, theres no real reason to use them. Or at least I think.
I believe if I flash a stock firmware and apply a custom kernel the results will be much better. Many of the "features" of these roms are thanks to the kernels flashed in them, and can be done manually. Also, I think many of the cosmetic improvements are not my cup of tea, and I much prefer the stock samsung animations, etc.
Please correct me if i'm wrong, or well help me out choose what to do. I'm not eager to reflash my firmware all over again. I would just like to flash something on my phone and never have to reflash again.
-Nestor
exactly....if you have the time and knowledge do it yourself....if not flash any of the custom roms prepared by the rom "chefs" out there....and be grateful for the opportunity (I suspect you underestimate the amount of work and intellect that these guys have invested in their custom roms...far more than just different kernels and basic cosmetics as you suggest)
Unless i am mistaken you have stated the obvious...if not, what is your point?
Oh, yes. I wasnt really obvious on what i wanted to do. Well, I see all of the things my rom has installed, and see that im still having some bugs, etc, and, well I cant diagnose where are they coming from. Is it my apps fault, etc, since all these modifications are done and all of these apps installed and now I really dont know what caused what.
So I think, what if some of the stuff that was done was unnecessary? What if just flashing to stock, and then adding stuff one by one until im satisfied will rid me of most of my problems?
I must admit I relate the rom chefs with the people from the pirate bay who give you modified versions of windows, with all the necessary stuff done, but you can get a fresh copy of windows and get much better results on most cases.
I mean no disrespect to anyone's intelect, or ego. Im a really new guy myself, but the more I learn the more I realize, maybe the best way to go is just flash stock, root, get a new kernel and all will be peachy. That sounds too easy though. So i raised this discussion to see what do people think.
Edit: Well, after reflashing and doing some stuff, like repartitioning tried some custom kernels and ended up bootlooping my phone, and after much frustration, I reflashed Juwe's. Now I can appreciate how well this works. The couple of erros may have been caused by not repartitioning the first time. Now Im very happy with how my phone is working. Hopefully, this is the last firmware i ever flash.

[Q] A few questions about mods, from a total n00b

I have a Sprint HTC hero with original everything.
I've been wanting to do a mod but that brings up a few questions.
1) A lot of places say the CM7 mod from here is great for this phone but I clicked around and can't find a list of things it changes/improves. Why would I install a mod and will most things continue to work (market places, email, phone utilities, purchased apps).
2) All roms have those warnings that they void warranty. How often do they brick the device? Is this something I should worry about?
Sorry for the noobish questions but I am looking towards modding the hero but I want to make sure I don't make it worse.
1.) well basically MOD's are roms that people cook themselves from the scratch android or from a base like for example the DesireHD android base. They can do things varying from the look and feel of android to adding elements like being able to browse Privately on your browsers. i know that CM7 allows you to do that. Being able to flash different roms opens up a even bigger Android World.
2.) I have been flashing back and forth for a long time and not once have i bricked the device. Besides not like a little system restore wont fix anything. Also if you happen to send you device into maintenance or repair just restore you phone back to factory settings. All of it is reversible. When i first started out it helped me to really read NOOB forums so i didn't do something i would regret, but you should have nothing to really worry about.
reply from a still nearly noob, although i read alot about roms already and flashed my sgs2. ill just attemt to help you a little here.
1) i now flashed lite'ning rom on my phone as there is no cm7 for it yet. once realeased i will also flash it as i also read that it is the most widely used rom with best support. within a thread of the specific rom there should be a list of improvements/major changes or what will be added if you flash the rom. these and mostly more battery life and/or more speed are the reasons people flash roms. after flashing the phone you will have all the things still working, sometimes even better. for apps it depends on the rom. mine for example didnt require a wipe that delets all you data on the phone. others (as i think cm7 also) require a wipe of all you on-phone personal data apps and so on (not sd card if im not mistaken, please correct me!)
2)yes, you void warranty if you flash a custom rom, root or do sth else on the firmware not published by the manufacturer. when i flashed and overflashed my phones rom for several time already i haven't had any problems. and as i read all over the net/xda there is just a very little chance to brick your phone and even there you might have possibilities to revive it, i think. but im not sure on this, cosider others informations first!
hope i could help you a little from noob to noob and enjoy flashing roms. oh and of course have a look in the htc hero android development section for roms!
cheers!
IQHU
Damn - too late, and didnt recognize until now...
Sent from my GT-I9100 using XDA App
Go to this thread and start reading some of the linked threads. All your answers can be found there.

[Q] What are the underlying principles of Flashing and Rooting

Hi,
I'm new to Android since I first bought my GT-N7000 on eBay back in February. I waited until the official ICS upgrade (through Kies) to even start considering rooting my device and flashing Kernels. I haven't dared custom ROMs yet because I feel I don't have the necessary knowledge to proceed with confidence.
What I read in threads are a collection of particular cases with answers that are equally case specific, without ever referring to the underlying principles that govern the said operations. Worse, most members "think" that their process does this and that. In short, I'm left with an empirical approach to these crucial and potentially device crippling operations. I can't and won't take those kind of risks with my precious device until I can understand what would and wouldn't screw up/brick my device (what I'm really doing, not what I think is going on).
Everyone should be in a position to assess their machine's various parts and current state accurately and to know the basic dangers/pitfalls in order to elaborate any kind of OS and Hardware config alteration process.
By underlying principles, here's what I mean:
- what is a bootloader, how can it be determined, does it have any incidence on the Kernel and ROM being loaded on top, can it be changed, how?
- what is my modem and radio build, how can I determine, can it be changed, does a ROM or Kernel flash change that?
- What does LPY, LPT, ... refer to, and do they have any incidence on the flashing process?
- what exactly is the Dalvik cache, what does wiping it actually mean (and what about the hard brick bug), and what is Odexing?
- What should I use to flash, what are the differences/risks (Odin Pc, mobile Odin, CMW all versions), all considering my device's current state (bootloader, modem & radio, Kernel, rom, partial/full root)?
- What is a partial root, how can I determine, and what will happen if I flash Kernel or Rom in such a state?
- What will a factory reset actually do (restore phone as when I bought it with Gingerbread, or to the point after the Kies upgrade with ICS)?
Thanks and Cheers,
------------------------------------ Organized answers below --------------------
First of all, before you start anything, you need to understand that the XDA is not for the random general consumer. Instead, it is intended for people with genuine interest in the technological devices they own, and who strive to fiddle or hack their way into a working knowledge and skill-set for it. The URL says "xda-developers", so read this article from a retired moderator, and move on with your journey:
http://forum.xda-developers.com/showpost.php?p=2031989&postcount=45
1. ROM, internal SD and partitions
[ ref: http://www.samsung.com/global/business/semiconductor/product/flash-emmc/overview ]
[ ref:http://www.cpkb.org/wiki/Samsung_GT-N7000_GT-N7000L_Galaxy_Note_service_manual ]
[ ref:http://en.wikipedia.org/wiki/Flash_memory ]
[ ref:http://www.cpkb.org/wiki/Samsung_PIT ]
The ROM is the dead space, the hard drive of your phone (nothing executes in the ROM, it's just a data repository). In the GT-N7000, that hard drive is called the eMMC chip. This chip uses NAND flash for storage, which is a particular type of solid state memory (Nandroid backup wrings a bell?). Together, the components of this chip form what is called the ROM (read-only, non-volatile). It contains all the instructions and code necessary for your device to bring itself to life by reading the said instructions and loading the said code into RAM for execution.
Since these instructions and this code are responsible for various parts of the power on cycle and system functions, it makes it easier to manage if they sit on distinct parts of the hard drive. Think about this: how could you change the kernel if the data sat on the same physical ground as the recovery console data? ... Hence the partitions.
There is also the concept of internal sd (or /sdcard when you look at the mounted filesystem through a file explorer). This is a reserved space on the eMMC chip itself, a mount point for the system to access (look at the service manuals, you'll notice there is only one internal flash memory chip). That's why when you use a utility app to look at the size declared for that space, you notice that it isn't the full 16GB or 32GB, but a fraction of that. There are other pieces of data written to your eMMC chip that take up space as well (like the bootloader, the recovery, the OS or the kernel).
Hint:
You probably cannot and should not attempt to repartition your eMMC chip from the device itself (that would mean that the partitioning process would have to be executed from RAM, since ROM would be unworkable during the operation). You'll want to do that from a desktop or other flashing apparatus, and you'll need to know exactly what you're about to do.
Clarification (disambiguation):
ROM --> the read-only memory, the type of memory, the memory chip itself
ROM --> a collection of data that developers have concocted and that is written to the read-only memory, populating the various eMMC chip partitions. This data is what makes up the software stack on your device (quite probably recovery, kernel, OS and root for custom ROMs).
2.BOOTLOADER
[ ref: http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html ]
[ ref:http://www.extremetech.com/computin...tloader-and-why-does-verizon-want-them-locked ]
The bootloader is the first gasp of air your phone takes when powered on (there are other steps prior, but intricately tied to the hardware and outside our scope). It is a program, separate from the kernel and from Android OS, that is responsible for setting up initial memories and RAM and finding+loading the kernel, or loading the recovery console. Think of it as GRUB on a desktop, or that thing in Windows that prompts you to boot in safe mode after a crash. As such, it can be conceived as the entry point to the loading of the software stack, and ultimately, the user space from which you, the user, and your apps operate from.
Since the bootloader is a software specific to the device itself, and that it is in charge of validating the prerequisites for loading the kernel into RAM, it has specific functions that scan the ROM partitions for validity. It also has provisions to refuse moving on to further steps if it thinks something is not kosher. This is where the notion of "locked" bootloader comes in. In order to load customized code in the software stack, the bootloader must allow the operation to take place, it must be programmed in that manner.
Some manufacturers program their bootloaders to load only stock firmware and halt if anything custom is written to the ROM. Furthermore, they may even encrypt this piece of software so that developers can never alter it: no root ever, no custom kernel, no modem flashing, no custom Roms, no custom recovery, no joy!
Luckily for us, Samsung is quite dev-friendly and ships the GT-N7000 with an unencrypted bootloader (cheers to them). Beware though, because carriers and manufacturers aren't the same people. Your carrier may one day decide that it wants the bootloader encrypted on all of its new devices, I can't foresee the future. Don't confuse unlocked and unencrypted: an unencrypted bootloader doesn't mean that it's unlocked, just that it can easily be unlocked.
[ need to confirm implications of locked bootloader, find a way to confirm state and list a few ways to unlock ]
Hint:
[not sure: Make sure your phone is unlocked before attempting any flashing]. Also make sure that the piece of data you are loading is correct for your device. Writing foreign data to your eMMC chip (ROM chip) could throw the bootloader into panic.
Notice:
There should be very few reasons for you to flash the bootloader (it would really be one of your last resorts). That would mean that something utterly wrong happened to your device. In any case, you truly want to flash the Samsung official bootloader, using the official Samsung flashing tool (Odin).
3.KERNEL
[ ref:http://forum.xda-developers.com/wiki/index.php?title=ROM-VS-Kernel#The_kernel ]
[ ref:http://www.vikitech.com/8239/beginners-guide-android-kernels ]
[ ref:http://www.linfo.org/kernel_space.html ]
Once all the preliminaries are set, the bootloader loads the kernel into ram and hands control over to it. It will be the captain from now on. So far, we have (almost) no way to access the hardware. That's the responsibility of the data that sits on the SYSTEM partition of the eMMC chip, the one that's just been loaded into RAM for execution.
As it loads, the kernel sets up all things concrete like interrupt controllers, schedulers, cpu frequency, memory management, safeties... everything so the hardware is functional and ready to use. As such, the kernel is now the gateway to the hardware layer: if you want something to blink or beep on your machine, you'll have to ask it to manage your request.
Now that the kernel is done with rigging up all the organs and limbs of the robot, it looks to initiate actions, or processes. It launches the init process, the first of all processes, and the parent of all processes (all future processes will be generated by this very process, system services and apps alike). The init process looks for its instructions (setting of environment, mounting of filesystem, setting of system permissions, etc.) in a file named "init.rc". Just as in Linux, when you launch a shell, the shell looks for its associated .rc file. You may want to read through the "init.rc", just for kicks. It's very informative as to what goes on during the power-on process after the kernel is ready to operate. From then on, the init process looks to start to Dalvik virtual machine by launching Zygote.
Note:
It is important to know that the hardware functions present in the recovery console are provided by the kernel. That's why it can be problematic to perform these operations from a "buggy" kernel. More on that in the Recovery section.
4.ZYGOTE AND DALVIK (and caching+Odexing) cached .dex and .odex rely on the kernel so swapping kernels without wiping dalvik cache can cause problems
- APP AND USERSPACE DATA: apps are system users, the user interacts with the system through apps. Internal SD and backing up/restoring/wiping.
5.RECOVERY
[ ref:http://forum.xda-developers.com/showthread.php?t=1667886 ]
[ ref:http://forum.xda-developers.com/showpost.php?p=26285877&postcount=12 ]
akin to flashing tool (short description of software type and confer to next section for functional details)
- kernel does the eMMC format. Possible to fry some blocks of the memory chip with software itself (the cap erase flag seems to circumvent that unfortunate frying). Since kernel formats (wipes and resets) are done from recovery.
6.FLASHING TOOLS
- Identify your device (in the stock state) before you do any flashing
- always be able to go back to the state you were in before a flashing operation (be prepared with the proper data at hand, images to flash and/or self-made backups)
7.CUSTOM ROMS
- what is it?
- talk about LPY (Touchwiz), AOSP, AOKP ... how they could be compared to Gnome, KDE, or other OS GUI.
- talk about the potential for roms to modify various parts of the system (like the kernel or the structuring of the filesystem, or even the radio, who knows) = ask the right questions to the developers instead of crying to them after you've bricked.
Man..you just need to do a lot of reading and be selective in what you read based on what you want to achieve, whether you have the sufficient knowledge and the tool to achieve it..
Next, gain confidence in what you're about to do..read feedback, success stories and setbacks by others.. If the risk is relatively high, be prepared to roll back..
Finally, you've got to try it out yourself.. You know faith without works is dead..
I've done my fair share of reading, and I still do. Also, I'm not an agnostic when it comes to computers (I'm a developer myself, web/server/network/Flash and Flex, so I'm aware of a few things). I have given faith a go, but you read where I'm at presently (totally unsure and unwilling to do anything).
There's nothing worse than a false sense of security or assurance, you'll hit a wall anyhow (reality doesn't care my friend!). I don't mind handling a stickie and doing all the grunt work. What I'm looking for is to confirm certain basic pieces of knowledge without crapping out my machine (it's expensive, I can't afford a new one every other week), and to share that with other GT-N7000 owners, so we can go about trying stuff for ourselves without a false sense of "that's not a wall, it's mirage, don't worry".
Trying stuff is the basis of discovery, true. But when you try stuff and you can't even confirm what you're actually trying, you won't be able to learn, let alone deduce any kind of principle from it...
This being said, would I be allowed to start collecting these basic pieces of information, to organize them in a coherent manner and to post them somewhere in the GT-N7000 forum?
Oh, Oh, Oh, ah, ... you said "rollback". How? I've read that applying backups in certain states could actually screw things up, like a partial root for instance. Rollback procedure should be defined, and I'm willing to define it for the rest of us.
Very Good set of questions hopefully somebody answers them.
Sent from my GT-N7000 using xda app-developers app
Stock Recovery v/s Custom Recovery
I was keen on asking about the difference between Stock Recovery and Custom Recovery, for which I thought of creating a new thread until I came across your topic, Monkey_banana.
Thank you for initiating a relevant thread.
Personally, I have not rooted my Galaxy Note yet. I am unsure about many issues and thus I am taking my time, reading and posting queries (naive and stupid many a times) with the motive of acquiring a strong base of knowledge which I can put into practice and achieve confidence.
Can the Galaxy Note be rooted without a custom recovery or is it advisable to have a custom recovery installed on the device?
I sincerely apologise if you feel I have hijacked your thread.
Hey YLNdroid,
No hijacking felt! I started this thread because I needed to positively confirm basic concepts. The consolidated summary idea is a little ambitious, I admit, but if at least it gets a discussion going (about concepts, not about specifics of every device, kernel and ROM), then all the better.
From what I've read, recovery sits on a bootable partition ( androidcentral.com/what-recovery-android-z/ ):
- Stock recovery allows you to wipe/reset and to flash stock ROM. Very limited, and probably not to be used if you intend to or have previously flashed anything remotely custom (like rooted kernels or Ketan's busybox installer).
- Custom recovery is tweaked and enhanced version (like CWM) that allows backups and recovery, custum wiping, custom ROM flashing and so on. They are probably also different in the way that changes are applied in order to satisfy the hacking requirements of various custom pieces of data.
This is the best of my knowledge, can anyone confirm?
Monkey_banana said:
[*]- what is a bootloader, how can it be determined, does it have any incidence on the Kernel and ROM being loaded on top, can it be changed, how?
Click to expand...
Click to collapse
boot loader is the first piece of code that runs after power on and loads the kernel. flashing kernel or custom ROM does not effect boot loader on note. check the following link for booting process
http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html
Monkey_banana said:
[*]- what is my modem and radio build, how can I determine, can it be changed, does a ROM or Kernel flash change that?
Click to expand...
Click to collapse
go to settings->about phone-> Radio version. This will be your modem build. Modem is mainly responsible for making calls and data connections. Modem is usually independent of rom or android version you are using. unless you are experiencing poor signal it is not much you get by changing a modem. Some roms include a modem some don't. check out modems thread
http://forum.xda-developers.com/showthread.php?t=1645202
Monkey_banana said:
[*]- What does LPY, LPT, ... refer to, and do they have any incidence on the flashing process?
Click to expand...
Click to collapse
They refer to different releases of ics from samsung. any operation involving format operation with these build might result in bricking of you note. check this emmc bug thread for more info http://forum.xda-developers.com/showthread.php?t=1644364
Monkey_banana said:
[*]- what exactly is the Dalvik cache, what does wiping it actually mean (and what about the hard brick bug), and what is Odexing?
Click to expand...
Click to collapse
Dalvik cache is a cache folder for dalvik VM running on android. Odex is how things come stock. It takes up less room but making modifications or taking apks from other roms is hard.
Deodex basically takes the odex file and stuffs it into the apk as a classes.dex. First boot it dissembles the file into /dalvik-cache (i believe). Now there is basically 2 copies of the odex, one in the apk one in cache. This makes it "portable". This allows modders to work on the apks & easily change stuff. If you want themes or stuff like lockscreen fixes you MUST use Deodex.
got it from http://forum.xda-developers.com/showthread.php?t=710648
Monkey_banana said:
[*]- What should I use to flash, what are the differences/risks (Odin Pc, mobile Odin, CMW all versions), all considering my device's current state (bootloader, modem & radio, Kernel, rom, partial/full root)?
Click to expand...
Click to collapse
first do check if there is any damage to your sdcard since you are an effected kernel. http://forum.xda-developers.com/showthread.php?t=1709054
For you case i suggest you to flash GB ROM from this thread [LINK]http://forum.xda-developers.com/showthread.php?t=1424997[LINK] and then root it and then flash abyss kernel 4.2 from mobile odin or pc odin. If you flash with mobile odin it won't cause flash counter to increase but pc odin increase the flash counter resulting in a yellow triangle.
once abysskernel 4.2 is flashed go to recovery mode (volumeup + home+powerbutton). from there you can wipe dalvik cache+ wipe cache + wipe data. once that is done you can flash any custom rom you like. go for roms with cm9 kernel as it is safe from emmc bug. i am stunner and it great.
wipe operations usually format the corresponding partitions.
Monkey_banana said:
[*]- What is a partial root, how can I determine, and what will happen if I flash Kernel or Rom in such a state?
Click to expand...
Click to collapse
try to paste some test file in to /system partition and delete it. if you have a proper root that you should be able to successfully complete those operations.
Monkey_banana said:
[*]- What will a factory reset actually do (restore phone as when I bought it with Gingerbread, or to the point after the Kies upgrade with ICS)?
it is similar to wipe i guess.
Click to expand...
Click to collapse
kopitalk said:
Man..you just need to do a lot of reading (...)
Click to expand...
Click to collapse
I see this regularly but I've never seen any "real" documentation yet.
I've only seen some flashing docs from well intentioned people for whom English was a third language and who assumed every acronym was well known to their readers and which is written in a toned down l33t style (although with lots of colours). This doesn't really help.
All I've found from Google was dev documentation which didn't really address this specific topic. (since I have an itch to scratch in that area I'm slowly making my way through it, maybe I just didn't find the right bit yet)
I know that writing documentation is complex and yields many traps. I have written enough in my time (and was one of the few to actually enjoy it). However as an old time Unix user, I'm still trying to figure out Android and still haven't found anything that was worth the read. All I found were recipes that were really hard to understand.
Now I know that good documentation takes ages to write, so I'm certainly not downplaying what we have. At least we have it. But it *is* terrible.
Hey srik02003,
Thank you very much for the ton of info. Particularly the link about the bootloader... Precious information very well explained.
I'm reading everything and will later update the original post to organize what we've got so far.
Again, thank you!
Monkey_banana said:
Hey srik02003,
Thank you very much for the ton of info. Particularly the link about the bootloader... Precious information very well explained.
I'm reading everything and will later update the original post to organize what we've got so far.
Again, thank you!
Click to expand...
Click to collapse
Wish you luck, seeing lots of threads with repetitive questions and problems, it seems a very good idea, especially to help absolute beginners
i am glad it helped you...if you could summarize, it will sure help a lot of android beginners
Sent from my GT-N7000 using xda app-developers app
Summarizing and sorting at the moment. I'm going through everything in an organized fashion and modifying the original post as I go along.
Do check the original post from time to time and feel free to make comments, refute, or provide more information.
Monkey_banana said:
Summarizing and sorting at the moment. I'm going through everything in an organized fashion and modifying the original post as I go along.
Click to expand...
Click to collapse
Only one thing you need to know (don't worry about bootloaders etc.) And this is coming from a guy who recently superbricked his phone. (more about that in a minute). Anyway, here it is.....
ONLY FLASH FROM or do WIPES/FORMATS/FACTORY RESETS ON a kernel that has eMMC_CAP_ERASE DISABLED!
There's the whole superbrick scenario summarized in a nutshell. If CAP_ERASE is disabled, you wont brick your phone.
So which kernels am I talking about? - the following:-
SAFE!
Stock or CF-Root GB
Abyssnote 1.4.2
DAFUQ
SpeedMod
Franco
Th*r
PC or Mobile Odin
UNSAFE!
Stock or CF-Root ICS
CWM ICS
Any custom kernel where it has not been verified that CAP_ERASE is disabled.
Why? - Crap firmware. The GT N7000 doesn't like to have its eMMC chip formatted (even if only a partition). It damages it and eventually turns it into a superbrick! This happens during flashing new ROMs, doing factory resets, formatting partitions and wiping data. HOWEVER! If MMC_CAP_ERASE is disabled in the kernel, then the format instruction reverts to a simple, (and harmless) delete (like on a PC) and no damage occurs:good:
How did I brick my phone? Easy, wiped on an unsafe kernel after having a few beers and not DOUBLE CHECKING which kernel I was on before I did so:crying: (New MoBo being replaced under warranty as we speak)
Hope this helps.
BTW. I have rooted, flashed, un-roooted, reflashed, re-rooted wiped, formatted etc. for about 6 weeks until I had a brain-fade and did it on the wrong kernel.
"If you drink and wipe, your a bloody idiot!"
shoey63 said:
Only one thing you need to know (don't worry about bootloaders etc.) And this is coming from a guy who recently superbricked his phone. (more about that in a minute). Anyway, here it is.....
ONLY FLASH FROM or do WIPES/FORMATS/FACTORY RESETS ON a kernel that has eMMC_CAP_ERASE DISABLED!
[...]
"If you drink and wipe, your a bloody idiot!"
Click to expand...
Click to collapse
Firstly, thanks for participating in the discussion!
Secondly, although I understand your "forget about it, only consider the eMMC brick bug" recommendation, it presupposes some form of knowledge to forget about (which not every user has). You are able to formulate that your phone needs wiping because you figure that some operation, let's say a custom ROM flash, was not clean, or that it created some conflict between the various parts of your system. Right?
Lastly, a newbi or noob is not that far off from a baby in Android terms. I don't know if you've ever watched a baby, but they seem pretty drunk to me, wouldn't you agree?
All that being said, even seasoned developers/modders end up in dark places from time to time. The difference with noobs is that they have a pretty clear idea where that dark place is, how they got there, and how to get back into the light. Your recommendation is excellent at that point ("don't wipe unless you're sure your kernel is safe, or you'll go from a dark place straight to hell"), but not sufficient to fully grasp what is going on and to formulate a correct way out.
That's why I will pursue this basic knowledge round-up I have started. Again, thanks for the knowledge, I definately will integrate to the original post.
Cheers.
Before considering flashing any custom rom, rooting is required. Where can you learn how to root your phone? Well there is a thread here at xda, or there are other sites such as rootgalaxynote.com which explain how to root or unroot your phone. And the ideea of flashing custom roms and rooting and whatever is that each and everyone of us is required to do some research. It took me 2 days of researching and reading before i rooted and overclocked my note and another week before i flashed a custom rom. Bottom line, everyone who wants to flash anything: do some research and read the instructions provided by the devs. I never ever had a single problem because i read, read and read again the instructions.
LaCroyx said:
Before considering flashing any custom rom, rooting is required.
Click to expand...
Click to collapse
Indeed, that's very well put: "can't root, can't mod". [ not sure: It is an actual test for the unlocked bootloader prerequisite ]. I'll integrate that! (That's what we need, verifiable knowledge).
LaCroyx said:
[...] And the idea of flashing custom roms and rooting and whatever is that each and everyone of us is required to do some research. It took me 2 days of researching and reading before i rooted and overclocked my note and another week before i flashed a custom rom. Bottom line, everyone who wants to flash anything: do some research and read the instructions provided by the devs. I never ever had a single problem because i read, read and read again the instructions.
Click to expand...
Click to collapse
Although I strongly agree with the responsibility to read and inform oneself, there tends to be a crucial lack of referenced/verifiable information in the various posts across the forum. This leads to false knowledge and ultimately, a flurry of nonsensical questions that bog down threads and frustrate developers and readers alike.
Reading sets of instructions is cool and all, but it doesn't prevent you from formulating a question like "I've rooted my bootloader and wiped my phone. Can I Flash your kernel safely now?". That person read a series of recipes and applied them one after the other without a logical understanding (no better than a robot).
Monkey_banana said:
Firstly, thanks for participating in the discussion!
Secondly, although I understand your "forget about it, only consider the eMMC brick bug" recommendation, it presupposes some form of knowledge to forget about (which not every user has). You are able to formulate that your phone needs wiping because you figure that some operation, let's say a custom ROM flash, was not clean, or that it created some conflict between the various parts of your system. Right?
Lastly, a newbi or noob is not that far off from a baby in Android terms. I don't know if you've ever watched a baby, but they seem pretty drunk to me, wouldn't you agree?
All that being said, even seasoned developers/modders end up in dark places from time to time. The difference with noobs is that they have a pretty clear idea where that dark place is, how they got there, and how to get back into the light. Your recommendation is excellent at that point ("don't wipe unless you're sure your kernel is safe, or you'll go from a dark place straight to hell"), but not sufficient to fully grasp what is going on and to formulate a correct way out.
That's why I will pursue this basic knowledge round-up I have started. Again, thanks for the knowledge, I definately will integrate to the original post.
Cheers.
Click to expand...
Click to collapse
Yeah you're quite right, I'm not a developers arsehole. But I do know what will brick a phone. (first hand experience!) Sorry if I appeared arrogant before, but I'm still mad about Samsung selling brickable SGN's. Just hoping that if a noob like me runs into this thread he will be pay a bit more attention to his kernel before he does anything drastic - flashing wise.
And yes there are plenty more questions to be answered, Like - Why are virgin stock ICS builds seemingly immune from eMMC bug (Or are they)? Samsung reckons they cant replicate the problem!! (WTF!)
And another one - Does rooting and/or CWM increase the likelihood of bricking? (On ICS) and if so, why?
BTW Latest CWM9 builds are safe (as long as you dont flash from a dodgy kernel)
Monkey_banana said:
Although I strongly agree with the responsibility to read and inform oneself, there tends to be a crucial lack of referenced/verifiable information in the various posts across the forum. This leads to false knowledge and ultimately, a flurry of nonsensical questions that bog down threads and frustrate developers and readers alike.
Reading sets of instructions is cool and all, but it doesn't prevent you from formulating a question like "I've rooted my bootloader and wiped my phone. Can I Flash your kernel safely now?". That person read a series of recipes and applied them one after the other without a logical understanding (no better than a robot).
Click to expand...
Click to collapse
I have to say you are perfectly right. I've seen a lot of stupid questions. In your spirit of helping out i will search for a very well formulated post about acronims and abreviations used in the android world. I think it's the first thing anyone should learn.
shoey63 said:
But I do know what will brick a phone. (first hand experience!) Sorry if I appeared arrogant before, but I'm still mad about Samsung selling brickable SGN's.
Click to expand...
Click to collapse
We shouldn't have to learn that way because it makes people mad and arrogant. We're a community, so we must be able to learn from one another and spread some joy... Emotions aside, we do have to thank Samsung for allowing us to customize/tamper with our phones in the first place. Opening their source means that we'll be testing scenarios they never thought of. Let's play nice and give them a break.
shoey63 said:
And yes there are plenty more questions to be answered, Like - Why are virgin stock ICS builds seemingly immune from eMMC bug (Or are they)? Samsung reckons they cant replicate the problem!! (WTF!)
And another one - Does rooting and/or CWM increase the likelihood of bricking? (On ICS) and if so, why?
Click to expand...
Click to collapse
All part of the same concept: using stock/manufacturer-prescribed-and-tested methods of flashing vs. using custom flashing methods.
As far as Samsung not acknowledging the eMMC wipe brick bug, read this: http://forum.xda-developers.com/showthread.php?t=1698977
If you go the manufacturer's way, you're pretty much guaranteed that they ate their own dog food. If you decide to flash custom data, then you make yourself responsible for eating your on dog food, make sure you're recipe is kosher!
CWM is a custom recovery console, so yes, you're increasing your chances of bricking your device. Rooting is also a custom piece of data written to your device, so you've increased your risk (especially if you're using custom recovery).
I reckon that wiping data on the eMMC from stock recovery and custom recovery with a faulty eMMC chip can trigger the disastrous brick (the formatting process hangs, and lord knows what partition got affected).
I don't know if that stands with Samsung Odin (aka PC Odin) as it is probably not using the kernel to do the wipe (you can also repartition from there, so maybe the routines handle faulty chips better).

Categories

Resources