Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
RomBox
Old
#1  
Senior Member - OP
Thanks Meter 15
Posts: 117
Join Date: Nov 2011
Location: singapore
Default Which partition is equal to /recovery in other android devices?

I am new to Android, want to customize the system follow the tutorials, but found the Note is different to other Android phones:
for other phone, there will be a /proc/mtd and list all the partitions with mount point, but on Note I can only found /proc/fs, with 3 folders: ext4 jbd2 nfsd
and the mount table is like this:

rootfs on / type rootfs (ro,relatime)
...
/dev/block/mmcblk0p9 on /system type ext4
/dev/block/mmcblk0p7 on /cache type ext4
/dev/block/mmcblk0p1 on /efs type ext4

for other devices, e.g., HTC Wildfire, the partition will like below:
mtd1: recovery
mtd3: system"
...

I downloaded the CF-Root flasher, by Chainfire, found basiclly it's flashing a zImage into /dev/block/mmcblk0p5. I mount the partition before flash and seems there is only some picture files there. how can we know the machine will boot to this partition in recovery mode?
 
RomBox
Old
#2  
Senior Member - OP
Thanks Meter 15
Posts: 117
Join Date: Nov 2011
Location: singapore
nobody knows? so far what I get seems that the phone do not use the /recovery partition, but use same kernel to handle the recovery state. during boot it will search for /system/etc/install-recovery.sh, maybe that will trigger the recovery process?
 
Chainfire
Old
#3  
Chainfire's Avatar
Senior Moderator / Elite Recognized Developer
Thanks Meter 31393
Posts: 7,980
Join Date: Oct 2007

 
DONATE TO ME
The Note, like many other Samsung phones, does not use or follow the mtd layout - at all.

Indeed there is a single kernel for both normal boot and recovery. Normal boot uses init.rc script, recovery boot uses recovery.rc script.

There is a "spare" partition that is both called recovery and available, but it isn't used.
I AM ON VACATION
I know, I still had lots of PMs and emails to answer, problems to debug, features to implement, updates to release, people to help, etc, but it'll just have to wait. But do not despair, I will return soon to procrastinate some more.

BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

Android
HTC G1, Hero
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following User Says Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...