Go Back   Android Forums > Android Phones > HTC EVO 4G > EVO 4G - All Things Root
EVO 4G - All Things Root Rooting, ROMS, Overclocking, etc.
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree3Likes
  • 1 Post By novox77
  • 1 Post By ocnbrze
  • 1 Post By LBPHeretic

test: Reply
 
LinkBack Thread Tools
Old February 16th, 2011, 08:45 AM   #1 (permalink)
Leeeroy Jennnkinnns!
Thread Author (OP)
 
novox77's Avatar
 
Join Date: Jul 2010
Posts: 3,969
 
Device(s): Evo 4G, 3D, LTE
Carrier: Not Provided

Thanks: 1,189
Thanked 3,253 Times in 1,408 Posts
Default Android partitions, kernels explained

This is a rewrite/repost, condensed and updated with information that I think is useful to a lot of rooted users. Partitions and kernels aren't frequently discussed. Most of us know that they exist but don't really know how they work. Hopefully it all becomes clear after reading this

The phone's internal memory (not the SD card) is solid-state (flash) memory, AKA NAND. It can be partitioned much like a normal hard drive can be partitioned. The bootloader exists in its own partition. Recovery is another partition; radio, system, cache, etc are all partitions.

Here are the standard partitions on an Android phone:

/misc - not sure what this is for.
/boot - bootloader, kernel
/recovery - holds the recovery program (either clockworkmod or RA recovery for a rooted Evo)
/system - operating system goes here: Android, Sense, boot animation, Sprint crapware, busybox, etc
/cache - cached data from OS usage
/data - user applications, data, settings, etc.

The below partitions are not android-specific. They are tied to the hardware of the phone, but the kernel may have code allowing Android to interact with said hardware.

/radio - the phone's radio firmware, controls cellular, data, GPS, bluetooth.
/wimax - firmware for Sprint's flavor of 4G, WiMax.


During the rooting process, a critical piece of the process is disabling a security system built into the bootloader that protects these partitions from accidental (or intentional) modification. This is what's referred to as "unlocking NAND." The security system can be set to active or inactive. S-ON means the security is in place (NAND locked). S-OFF means the security is off (NAND unlocked). When S-OFF, you have the ability to modify all partitions. With S-ON, you only have write access to /cache and /data. Everything else is read-only.

When you flash a custom ROM, that ROM typically includes a kernel and an OS. That means the /boot and /system partitions will be modified at a minimum. Some ROMs require a clean install, so a format of the /data and /cache partitions is sometimes built into the .zip that you flash. This is essentially doing a factory reset. See next paragraph.

When you do a factory reset (AKA: wipe, hard reset, factory wipe, etc.), you are erasing the /data and /cache partitions. Note that a factory reset does NOT put your phone back to its factory state from an OS standpoint. If you've upgraded to froyo, you will stay on froyo, because the OS lives in /system, and that is not touched during a factory reset. So "factory data reset," as it says under Settings > SD & phone storage, causes confusion. It's not a factory reset. It's a factory DATA reset. Now you know the distinction.

The SD card can also be partitioned to include a section dedicated to storing user apps. To create the partition, your SD card needs to be formatted. Typically a user will copy all the contents in the SD card to a PC hard drive, wipe the card and partition it, and then copy everything back.


Onto kernels....

A kernel is a layer of code that allows the OS and applications to interface with your phone's hardware. The degree in which you can access your phone's hardware features depends on the quality of code in the kernel. The homebrew (rooting) community for HTC has made several kernel code improvements that give us additional features from our hardware that the stock kernel does not. When you flash a custom ROM, you automatically get a kernel. But you can also flash a standalone kernel ROM on top of the existing one, effectively overwriting it. These days, the difference in custom kernels is less about new features and more about alternate configurations. Choosing a custom kernel is basically choosing one that works best with your ROM.

Kernel developers are typically responsible for a small, specific feature in the kernel. For example, netarchy's contribution to custom kernels mainly revolve around removing the framerate restriction that was present in the stock HTC kernel. However, because of the open-source philosophy of all the devs, each kernel "distribution" contains the work of several devs. They openly share new code that they deem will benefit everyone. Basically the best features stay in, and the distributor of the kernel will give credit where credit's due. This means that for any custom kernel you try, you might be using netarchy's FPS fix. It's all a team effort. A new improvement will make it to most if not all of the various kernel distributions in a short amount of time.

For the Evo, the hot features of custom kernels are:

-- a fix to remove the 30fps cap imposed by HTC and improve touch tracking sensitivity (HTC finally fixed this in their stock kernel late last year)

-- disabling perflock to enable CPU throttling. Great for increasing the performance of your phone and/or improving battery life

-- iptables firewall to enable wifi-tethering via the wifi-tether app

-- 3 or 5 point multitouch support (not too many practical applications)

-- HAVS, a control system that dynamically adjusts the voltage based on CPU load. This has proven to be a battery saver, but it can actually have the opposite effect when multiple control systems are operating (like setCPU).

-- BFS kernel task scheduler as an alternative to the standard CFS

-- SBC (the ability to charge your battery beyond the default safe limit). The concept is similar to overclocking a processor: you're overriding the safety limits established to achieve additional performance. The benefit here is that you may gain more use of your battery per charge. The drawback is that you can damage the battery and significantly reduce its longevity. Some kernels claim they are using a safe technique to prevent battery damage. Just be aware of the potential risks.

Note about 4G and HDMI:
AOSP ROMs (ROMs based on pure Android without 3rd party manufacturer's code) are currently lacking robust 4G and HDMI support. This is because 4G and HDMI are hardware-specific features, not Android-specific, so there is no existing kernel code in the Android Open Source Project (AOSP) that is specific to 4G or HDMI support.

HTC is the manufacturer of the phone, so it has intimate knowledge of the hardware it uses in the phone; therefore the kernel that HTC has written does support HDMI and 4G. The problem is that the kernel is also tied in with their Sense UI that it's not possible to simply extract the portions of the code governing 4G and HDMI. Therefore, Sense-based ROMs support 4G because they simply borrow the existing HTC code. Meanwhile AOSP ROMs have to write their own code for 4G and HDMI in order to support it. Their ability to do this depends on how much info they can obtain about the hardware components in the phone and any drivers they may be able to find. Otherwise, it's really a task of reverse-engineering the hardware, which can be a thankless, time consuming task.


For a more in-depth read into how partitions work in Android/Linux, take a look here, courtesy of Akazabam:
More information about Android partitions
rameshprathap likes this.

__________________

The good thing about science is that it's true whether or not you believe in it. -Neil deGrasse Tyson

Help me out: Sign up with Dropbox and we both get 250-500MB extra space. Thanks!
novox77 is offline  
Last edited by novox77; February 17th, 2011 at 12:55 PM.
Reply With Quote
The Following 38 Users Say Thank You to novox77 For This Useful Post:
akazabam (February 16th, 2011), andygu3 (February 16th, 2011), awilson77584 (February 21st, 2012), BigPapaBang (February 16th, 2011), brad-short (January 4th, 2012), Chief YYZ (December 20th, 2012), coqui3l (April 25th, 2012), CriticalCritic (March 4th, 2012), CzarMatt (February 17th, 2011), dkl1 (July 13th, 2012), dustwun77 (November 14th, 2011), El Presidente (August 18th, 2011), evoX2 (February 16th, 2011), frenchy714 (May 17th, 2012), Granite1 (February 16th, 2011), hno3 (January 28th, 2013), Internetpilot (February 16th, 2011), JB in AZ (February 16th, 2011), JoeSchmoe007 (May 23rd, 2011), Kaddoble (December 6th, 2011), lcallen80 (February 16th, 2011), LittleRedDot (February 9th, 2012), maheshjagadeesan (February 4th, 2012), MasterCylinder (June 15th, 2013), Mateo1041 (October 29th, 2012), Michael833 (November 29th, 2011), mikem0269 (November 14th, 2011), ocnbrze (February 16th, 2011), PreMo15 (August 9th, 2012), rameshprathap (September 28th, 2012), rjd728 (February 17th, 2011), spiderplant0 (February 12th, 2013), stevcha (February 17th, 2011), sweeds (June 21st, 2011), thekdub (February 16th, 2011), thocas (April 27th, 2012), Toyz (February 29th, 2012), youdoofus (February 14th, 2012)
Sponsors
Old February 16th, 2011, 09:02 AM   #2 (permalink)
Member
 
Internetpilot's Avatar
 
Join Date: Nov 2010
Location: Born in TEXAS, but stuck in Florida! (send $)
Posts: 161
 
Device(s): HTC Evo 4G
Carrier: Not Provided

Thanks: 28
Thanked 20 Times in 17 Posts
Default

Excellent! Thank you for compiling all this into one post.



...and now I finally know what AOSP means....haha.
Internetpilot is offline  
Reply With Quote
Old February 16th, 2011, 10:05 AM   #3 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 36
 
Device(s):
Carrier: Not Provided

Thanks: 19
Thanked 0 Times in 0 Posts
Default

Thanks, great writeup- especially on Kernals. It's just what I needed while thinking of which Kernal I want to try.
Philadelph is offline  
Reply With Quote
Old February 16th, 2011, 12:10 PM   #4 (permalink)
Member
 
lcallen80's Avatar
 
Join Date: Dec 2010
Location: Illinois
Posts: 104
 
Device(s): Rooted EVO 4G, Myn's 5 TwoPointTwo
Carrier: Not Provided

Thanks: 52
Thanked 7 Times in 7 Posts
Default

this needs to kept at the top of this forum (if not already) at all times along with the other useful things we always refer back to. Thanks again
__________________
Root : Unrevoked 3.21
Kernal : Netarchy-Toastmod-4.1.9.1-cfs
Rom : Myn's Warm TwoPointTwo RLS5
lcallen80 is offline  
Reply With Quote
Old February 16th, 2011, 12:26 PM   #5 (permalink)
Leeeroy Jennnkinnns!
Thread Author (OP)
 
novox77's Avatar
 
Join Date: Jul 2010
Posts: 3,969
 
Device(s): Evo 4G, 3D, LTE
Carrier: Not Provided

Thanks: 1,189
Thanked 3,253 Times in 1,408 Posts
Default

Quote:
Originally Posted by lcallen80 View Post
this needs to kept at the top of this forum (if not already) at all times along with the other useful things we always refer back to. Thanks again
thanks for the vote of confidence To get this stickied, you'll need to PM a moderator and make the request. Otherwise they won't know of this thread's existence to see the post you just made.

BTW, akazabam is working on some more info to go along with this. so stay tuned.
novox77 is offline  
Reply With Quote
Old February 16th, 2011, 12:41 PM   #6 (permalink)
Junior Member
 
Join Date: Jun 2010
Location: Anaheim, CA
Posts: 44
 
Device(s): HTC EVO 4G
Carrier: Not Provided

Thanks: 9
Thanked 1 Time in 1 Post
Default

Thanks for the write up! It clarified a lot for me. There's still a ton for me to learn about the rooting game...
BigPapaBang is offline  
Reply With Quote
Old February 17th, 2011, 12:26 PM   #7 (permalink)
Senior Member
 
stevcha's Avatar
 
Join Date: Nov 2009
Posts: 856
 
Device(s): HTC EVO 4G
Carrier: Not Provided

Thanks: 142
Thanked 274 Times in 121 Posts
Default

Great write up!!! Thanks for taking the time to put it all together.
stevcha is offline  
Reply With Quote
Old February 17th, 2011, 12:56 PM   #8 (permalink)
Leeeroy Jennnkinnns!
Thread Author (OP)
 
novox77's Avatar
 
Join Date: Jul 2010
Posts: 3,969
 
Device(s): Evo 4G, 3D, LTE
Carrier: Not Provided

Thanks: 1,189
Thanked 3,253 Times in 1,408 Posts
Default

Added a direct link to Akazabam's thread in the OP.
novox77 is offline  
Reply With Quote
Old February 19th, 2011, 10:24 PM   #9 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Clear and concise. Thank you for taking the time to put this together
srosonina is offline  
Reply With Quote
Old November 14th, 2011, 01:05 AM   #10 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Wonderful post. Was very helpful, thanks
radoyi is offline  
Reply With Quote
The Following User Says Thank You to radoyi For This Useful Post:
Rxpert83 (November 14th, 2011)
Sponsors
Old November 14th, 2011, 08:46 AM   #11 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 19,131
 
Device(s): HTC Evo 4g LTE, HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 21,746
Thanked 11,555 Times in 7,479 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by radoyi View Post
Wonderful post. Was very helpful, thanks
welcome to the forums. thanx for bringing this thread back from the dead. i really like this thread. novoxx is awesome.

here is another great read as well:More information about Android partitions this is also from another guru who has been absent from this forum for awhile now. but akazabam was and still is the king around these parts in my eyes at least.

as bruce campbell said in army of darkness "hail to the king, baby"
rameshprathap likes this.
__________________
“The Guide is definitive. Reality is frequently inaccurate.”.......Hitchhiker's Guide to the Universe
“I seldom end up where I wanted to go, but almost always end up where I need to be.”.......Douglas Adams
ocnbrze is offline  
Last edited by ocnbrze; November 14th, 2011 at 08:50 AM.
Reply With Quote
The Following 3 Users Say Thank You to ocnbrze For This Useful Post:
Granite1 (November 14th, 2011), rameshprathap (September 28th, 2012), Rxpert83 (November 14th, 2011)
Old November 14th, 2011, 02:41 PM   #12 (permalink)
All Hail Asimov!!!
 
Granite1's Avatar
 
Join Date: Dec 2010
Location: Pittsburgh, PA
Gender: Male
Posts: 5,131
 
Device(s): EL TEvo, The OG (wife), Hero (retired)
Carrier: Sprint

Thanks: 8,178
Thanked 4,757 Times in 2,579 Posts
Default

Absolutely correct about akazabam. I was lucky enough to be around for a while before he went absent. He truly was an android encyclopedia.

Maybe as a supplement to the rooting for dummies guide, someone should compile all of akazabams threads (which isn't very many amazingly) and link them in the guide. Just a thought.
Also if someone would do a search for posts by akazabam you could probably answer 99% of questions asked. Period. He knew everything!
__________________
"Not everything that counts can be counted, and not everything that can be counted counts." Albert Einstein
Granite1 is online now  
Reply With Quote
The Following 2 Users Say Thank You to Granite1 For This Useful Post:
ocnbrze (November 14th, 2011), smitty543 (November 14th, 2011)
Old February 9th, 2012, 06:20 AM   #13 (permalink)
New Member
 
Join Date: Feb 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Question

So, can I install a custom kernel without a custom rom? (sgs+)
PenguinAndroid is offline  
Reply With Quote
Old February 9th, 2012, 11:27 AM   #14 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 19,131
 
Device(s): HTC Evo 4g LTE, HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 21,746
Thanked 11,555 Times in 7,479 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by PenguinAndroid View Post
So, can I install a custom kernel without a custom rom? (sgs+)
welcome to the forums!!!!!!!!!!!!!!
not sure how it is on your phone as this is an evo forum, but most roms will need a kernel to run it. so as soon as you flash a rom any previous kernel installed on your phone will get replaced by the kernel that comes with the rom. you will need to flash the custom kernel after flashing a rom.

i would link you to the right forum, but there are so many versions of your phone that i do not know which one. so i would go here: http://androidforums.com/ and find your phone. any other questions about your phone specifically please post it in the respective forum.
ocnbrze is offline  
Reply With Quote
Old February 16th, 2012, 12:48 PM   #15 (permalink)
Senior Member
 
LBPHeretic's Avatar
 
Join Date: May 2010
Location: Wilmington, Delaware
Posts: 2,368
 
Device(s): Sprint HTC Hero (OEM Android 2.1) [Rooted] B&N Nook Color
Carrier: Not Provided

Thanks: 46
Thanked 507 Times in 407 Posts
Default

Wow. I know this is exactly one year to the day after novox77 wrote the original post, but I wanted to comment on it anyway.

I have to say that your write up is spot on, as I have done my research on this subject, and I really like the level of information in it. I absolutely love the minute details of how things work, including Android of course, and you pack a lot of insight into your posts in such a way that the advanced user and the greenhorn can both benefit from them to a great extent.
__________________
Nokia 638 > Motorola Talkabout > Motorola V60t > Motorola V60i > Motorola V505 > Samsung Epix > HTC Hero & Barnes & Noble Nook Color

Tweet with me about Android on Twitter. (Please follow to see my tweets.)
LBPHeretic is offline  
Last edited by LBPHeretic; February 16th, 2012 at 12:50 PM.
Reply With Quote
The Following 2 Users Say Thank You to LBPHeretic For This Useful Post:
dustwun77 (February 26th, 2012), ocnbrze (February 16th, 2012)
Old February 16th, 2012, 11:27 PM   #16 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 14
 
Device(s): htc evo 4g
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

i know nothing about kernels. which ones should i use and how do i install them
AmmO0702 is offline  
Reply With Quote
Old February 16th, 2012, 11:32 PM   #17 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 19,131
 
Device(s): HTC Evo 4g LTE, HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 21,746
Thanked 11,555 Times in 7,479 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by AmmO0702 View Post
i know nothing about kernels. which ones should i use and how do i install them
here you go:
KERNELS For Dummies

and also you will need to use setcpu as well:
SetCPU Guide

what rom are you on? that will determine what kernels we could recommend. there are kernels for gingerbread sense and there are kernels for aosp roms. so it will depend on what you are on.

if you are on sense (gingerbread) then try the unversal freedom kernel.

if you are on aosp then try the tiamat sbc kernel.

as far as installing them, all you will need to do is wipe dalvik cache and cache and then flash the kernel.

edit:do not forget to make a nandroid backup before flashing the kernel.
ocnbrze is offline  
Reply With Quote
Old February 25th, 2012, 11:59 PM   #18 (permalink)
New Member
 
Join Date: Feb 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Re:Android partitions, kernels explained

Very New here. Appreciate the tutorial. I was wondering if someone could write a step by step explanation of what happens in a typical android phone from Step 1 : Press power/on switch on phone. Step 2 : etc. till the screen comes alive. I'm trying to determine if my htc tmobile MT4G is totally dead or if it has corrupted start up files and just doesn't do anything. (dead screen also.). I'm thinking the only thing that will let me monitor whats going on inside would be some kind of SDK monitor or such. Excuse the long post.
auldman is offline  
Reply With Quote
Old February 26th, 2012, 12:20 AM   #19 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 19,131
 
Device(s): HTC Evo 4g LTE, HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 21,746
Thanked 11,555 Times in 7,479 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by auldman View Post
Very New here. Appreciate the tutorial. I was wondering if someone could write a step by step explanation of what happens in a typical android phone from Step 1 : Press power/on switch on phone. Step 2 : etc. till the screen comes alive. I'm trying to determine if my htc tmobile MT4G is totally dead or if it has corrupted start up files and just doesn't do anything. (dead screen also.). I'm thinking the only thing that will let me monitor whats going on inside would be some kind of SDK monitor or such. Excuse the long post.
welcome to the forums!!!!!!!!!!!!!!!!!
well when a phone boots up it will load temp files into both the dalvik cache and cache on your phones internal partitions. these are only temp files and sometimes can cause issues. that is why from time to time it can help to wipe dalvik cache and cache. not sure on the mt4g as this is the evo forums, but you might want to try and wipe the caches and see if that helps.

you also might want to post this in the http://androidforums.com/mytouch-4g-all-things-root/ as well.
ocnbrze is offline  
Reply With Quote
The Following User Says Thank You to ocnbrze For This Useful Post:
auldman (February 26th, 2012)
Old February 26th, 2012, 12:40 AM   #20 (permalink)
New Member
 
Join Date: Feb 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for fast reply. I did some more web searching and found plenty of explanations. Should have done more HW before asking. I'll go to the 4G section in the future.
auldman is offline  
Reply With Quote
Sponsors
Old February 26th, 2012, 11:54 AM   #21 (permalink)
Senior Member
 
LBPHeretic's Avatar
 
Join Date: May 2010
Location: Wilmington, Delaware
Posts: 2,368
 
Device(s): Sprint HTC Hero (OEM Android 2.1) [Rooted] B&N Nook Color
Carrier: Not Provided

Thanks: 46
Thanked 507 Times in 407 Posts
Default

A friend of mine has just started getting into Android and he was wondering where HBOOT, itself, is stored amongst the partitions on the NAND chip. In the original post it says that the /boot partition has the bootloader and the kernel. He thought that HBOOT might reside there but I told him it could not be because you would be wiping that every time you flash a new ROM or chose "format boot" in recovery. The boot.img file that a Nandroid backup creates is derived from that partition as well.

Anyway, I did some digging around and it seems that HBOOT has a partition table stored in the /misc partition, however that may or may not be where it, itself, is stored. I was looking at the hexadecimal numbers of the HBOOT partition table it and it seems like HBOOT is perhaps stored in a hidden partition above the /misc partition starting at 0x00000000. Does anyone know if this is true? I am mostly asking for my friend's edification because he became concerned that formatting the /boot partition would obliterate his HBOOT, which I think is untrue. I, myself, am almost 100% sure that there is no easy way to format or clear HBOOT. So, if anyone knows the true location of HBOOT, I would love to hear from them
rameshprathap likes this.
LBPHeretic is offline  
Reply With Quote
The Following User Says Thank You to LBPHeretic For This Useful Post:
rameshprathap (September 28th, 2012)
Old February 26th, 2012, 01:32 PM   #22 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 19,131
 
Device(s): HTC Evo 4g LTE, HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 21,746
Thanked 11,555 Times in 7,479 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by LBPHeretic View Post
A friend of mine has just started getting into Android and he was wondering where HBOOT, itself, is stored amongst the partitions on the NAND chip. In the original post it says that the /boot partition has the bootloader and the kernel. He thought that HBOOT might reside there but I told him it could not be because you would be wiping that every time you flash a new ROM or chose "format boot" in recovery. The boot.img file that a Nandroid backup creates is derived from that partition as well.

Anyway, I did some digging around and it seems that HBOOT has a partition table stored in the /misc partition, however that may or may not be where it, itself, is stored. I was looking at the hexadecimal numbers of the HBOOT partition table it and it seems like HBOOT is perhaps stored in a hidden partition above the /misc partition starting at 0x00000000. Does anyone know if this is true? I am mostly asking for my friend's edification because he became concerned that formatting the /boot partition would obliterate his HBOOT, which I think is untrue. I, myself, am almost 100% sure that there is no easy way to format or clear HBOOT. So, if anyone knows the true location of HBOOT, I would love to hear from them
well i know that it is not in the misc partition. the new rooting methods requires that you update the misc partition so that you can downgrade the hboot. so i know it is not there.
ocnbrze is offline  
Reply With Quote
The Following User Says Thank You to ocnbrze For This Useful Post:
LBPHeretic (February 26th, 2012)
Old February 26th, 2012, 01:46 PM   #23 (permalink)
Senior Member
 
LBPHeretic's Avatar
 
Join Date: May 2010
Location: Wilmington, Delaware
Posts: 2,368
 
Device(s): Sprint HTC Hero (OEM Android 2.1) [Rooted] B&N Nook Color
Carrier: Not Provided

Thanks: 46
Thanked 507 Times in 407 Posts
Default

Quote:
Originally Posted by ocnbrze View Post
well i know that it is not in the misc partition. the new rooting methods requires that you update the misc partition so that you can downgrade the hboot. so i know it is not there.
I totally agree with you. I think that the /misc partition contains, among a few other things, the HBOOT partition table which is what sets the sizes for the various partitions on the NAND chip of the device.

I just wonder if there is a hidden /HBOOT partition above the /misc partition as I stated earlier. I am sure that someone has figured this out. I did an extensive amount of research into it last night and learned a lot, but it was not conclusive as to where the location of HBOOT is on the NAND chip. I hate not knowing how something works or where it is located.
LBPHeretic is offline  
Reply With Quote
Old May 17th, 2012, 07:45 AM   #24 (permalink)
Junior Member
 
Join Date: May 2012
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 9
Thanked 13 Times in 9 Posts
Default

When you flash a ROM it says you are modifying /boot and /system, but I don't think you need s-off to do this.
Flashing a ROM with a recovery, e.g. clockwork, work whether you have s=on or s=off, right?

Quote:
During the rooting process, a critical piece of the process is disabling a security system built into the bootloader that protects these partitions from accidental (or intentional) modification. This is what's referred to as "unlocking NAND." The security system can be set to active or inactive. S-ON means the security is in place (NAND locked). S-OFF means the security is off (NAND unlocked). When S-OFF, you have the ability to modify all partitions. With S-ON, you only have write access to /cache and /data. Everything else is read-only.

When you flash a custom ROM, that ROM typically includes a kernel and an OS. That means the /boot and /system partitions will be modified at a minimum. Some ROMs require a clean install, so a format of the /data and /cache partitions is sometimes built into the .zip that you flash. This is essentially doing a factory reset. See next paragraph.
dogshed is offline  
Reply With Quote
Old May 17th, 2012, 09:07 AM   #25 (permalink)
Stand Back!
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Posts: 12,161
 
Device(s): EVO 4g, EVO 4G LTE, Nexus S, Galaxy Nexus, S3, Nexus 7
Carrier: Not Provided

Thanks: 9,304
Thanked 9,270 Times in 5,275 Posts
Default

With the new HTC DEV method to unlock your bootloader you do not need S-OFF to get a custom recovery on the device and flash ROMS & Kernels.

Before this, you needed S-off to get a custom recovery on the device in order to do anything. You can still flash ROMS & kernels with S-ON as long as you have a custom recovery on the device.


The S-OFF S-ON status signifies whether or not you can update things NOT signed by HTC in the bootloader.
Rxpert83 is online now  
Last edited by Rxpert83; May 17th, 2012 at 09:11 AM.
Reply With Quote
The Following User Says Thank You to Rxpert83 For This Useful Post:
ocnbrze (May 17th, 2012)
Old October 29th, 2012, 12:35 AM   #26 (permalink)
New Member
 
Join Date: Oct 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 1 Post
Wink Thanks

That was excellent! I had to register just to let you know that this was the best explaination I have see yet!
gslope is offline  
Reply With Quote
The Following 2 Users Say Thank You to gslope For This Useful Post:
ocnbrze (October 29th, 2012), Rxpert83 (October 29th, 2012)
Old October 29th, 2012, 12:44 AM   #27 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 19,131
 
Device(s): HTC Evo 4g LTE, HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 21,746
Thanked 11,555 Times in 7,479 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by gslope View Post
That was excellent! I had to register just to let you know that this was the best explaination I have see yet!
welcome to the forums!!!!!!!!

if you like that one then you will also like the follow up by akazabam as well:
More information about Android partitions
ocnbrze is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > HTC EVO 4G > EVO 4G - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:33 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.