Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] how to get mount points ?

OP aliquzwini

11th March 2014, 04:52 PM   |  #1  
aliquzwini's Avatar
OP Senior Member
Flag baghdad
Thanks Meter: 53
 
226 posts
Join Date:Joined: Jul 2013
More
Hello guys !!
I want build my own rom for sm-t210 , I learnt dxdia kitchen , apktool etc .., but I really need good way to get mount points

أرسلت من SM-T210R بإستخدام تاباتلك
14th March 2014, 02:04 AM   |  #2  
mdiaz33685's Avatar
Senior Member
Flag Tampa, FL
Thanks Meter: 531
 
1,053 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by aliquzwini

Hello guys !!
I want build my own rom for sm-t210 , I learnt dxdia kitchen , apktool etc .., but I really need good way to get mount points

أرسلت من SM-T210R بإستخدام تاباتلك

The way I get the mounting points is downloading a custom rom... look at the updater script... I used benny..

this is sm-217S.. just noticed u were looking for t210... probably the same... not sure..

format("ext4", "EMMC", "/dev/block/mmcblk0p21", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/data");


assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p13"),
delete("/tmp/boot.img"));
The Following User Says Thank You to mdiaz33685 For This Useful Post: [ View ]
14th March 2014, 06:45 AM   |  #3  
aliquzwini's Avatar
OP Senior Member
Flag baghdad
Thanks Meter: 53
 
226 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by mdiaz33685

The way I get the mounting points is downloading a custom rom... look at the updater script... I used benny..

this is sm-217S.. just noticed u were looking for t210... probably the same... not sure..

format("ext4", "EMMC", "/dev/block/mmcblk0p21", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/data");


assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p13"),
delete("/tmp/boot.img"));

Good thank you , no not same I noticed different points , anyway it is Awesome way , you can decombile recovery.img, boot.img then look for etc- recovery. Fstb it is included all mounts points , but your way good too and easy

أرسلت من SM-T210R بإستخدام تاباتلك
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes