Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,370 Members 37,326 Now Online
XDA Developers Android and Mobile Development Forum

[Q] how to get mount points ?

Tip us?
 
aliquzwini
Old
#1  
aliquzwini's Avatar
Senior Member - OP
Thanks Meter 51
Posts: 218
Join Date: Jul 2013
Location: baghdad
Default [Q] how to get mount points ?

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 بإستخدام تاباتلك
Device:Galaxy tab3.7.0 (wifi)
Rom:stock rom "4.1.2" rooted
Recovery :cwm 6.0xxx
 
mdiaz33685
Old
#2  
mdiaz33685's Avatar
Senior Member
Thanks Meter 471
Posts: 961
Join Date: Feb 2009
Location: Tampa, FL

 
DONATE TO ME
Quote:
Originally Posted by aliquzwini View Post
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"));
Black - SG Note 3 T-Mo USA - SM-N900T | TWRP 2720 | My Stock Rooted 4.4.2 | 64gb Samsung | N900TUVUDNF4
White - SG Note 3 T-Mo USA - SM-N900T | TWRP 2720 | My Stock Rooted 4.4.2 | N900TUVUDNF4
Sprint SG TAB3 7in - SM-T217S | TWRP 2700 | My Stock Rooted 4.4.2 - T217SVPUBNE7
SG TAB2 10.1 = GT-P5113 < | > SG TAB2 7in GT-P3113 = Not Rooted 4.2.2
My Threads - T-Mo SG Note 3 | SG Note 3 | SG Tab 3 7in T217S | My Stock ODEX Roms and Firmware's Web Site...
The Following User Says Thank You to mdiaz33685 For This Useful Post: [ Click to Expand ]
 
aliquzwini
Old
#3  
aliquzwini's Avatar
Senior Member - OP
Thanks Meter 51
Posts: 218
Join Date: Jul 2013
Location: baghdad
Quote:
Originally Posted by mdiaz33685 View Post
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 بإستخدام تاباتلك
Device:Galaxy tab3.7.0 (wifi)
Rom:stock rom "4.1.2" rooted
Recovery :cwm 6.0xxx
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes