GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering


GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-25-2016, 12:38   #1 (permalink)
No Life Poster
 
zishhaider's Avatar
 
Join Date: Jan 2009
Location: Root tunnel
Age: 36
Posts: 2,250
Member: 952111
Status: Offline
Sonork: I'm not using now.
Thanks Meter: 713
How to wipe efs by adb rooted


hi i got sm e700f(5.1.1), i need to write cert, z3x octoplus both failed on bypass msl and wiping efs.. so I decided to give it a shot,, here is some info

Code:
drwxr-xr-x    2 0        0              580 Mar 19  2015 ←[1;34m.←[0m
drwxr-xr-x    4 0        0              660 Mar 19  2015 ←[1;34m..←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36maboot←[0m -> ←[1
;35m/dev/block/mmcblk0p5←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mapnhlos←[0m -> ←
[1;35m/dev/block/mmcblk0p1←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mbackup←[0m -> ←[
1;35m/dev/block/mmcblk0p19←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mboot←[0m -> ←[1;
35m/dev/block/mmcblk0p16←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mcache←[0m -> ←[1
;35m/dev/block/mmcblk0p25←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mddr←[0m -> ←[1;3
5m/dev/block/mmcblk0p4←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mefs←[0m -> ←[1;3
5m/dev/block/mmcblk0p13←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mfota←[0m -> ←[1;
35m/dev/block/mmcblk0p18←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mfsc←[0m -> ←[1;3
5m/dev/block/mmcblk0p20←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mfsg←[0m -> ←[1;3
5m/dev/block/mmcblk0p9←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mhidden←[0m -> ←[
1;35m/dev/block/mmcblk0p26←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mmodem←[0m -> ←[1
;35m/dev/block/mmcblk0p2←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mmodemst1←[0m ->
←[1;35m/dev/block/mmcblk0p14←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mmodemst2←[0m ->
←[1;35m/dev/block/mmcblk0p15←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mpad←[0m -> ←[1;3
5m/dev/block/mmcblk0p11←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mparam←[0m -> ←[1
;35m/dev/block/mmcblk0p12←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mpersdata←[0m ->
←[1;35m/dev/block/mmcblk0p23←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mpersist←[0m -> ←
[1;35m/dev/block/mmcblk0p22←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mqhee←[0m -> ←[1;
35m/dev/block/mmcblk0p8←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mqsee←[0m -> ←[1;
35m/dev/block/mmcblk0p7←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mrecovery←[0m ->
←[1;35m/dev/block/mmcblk0p17←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36mrpm←[0m -> ←[1;3
5m/dev/block/mmcblk0p6←[0m
lrwxrwxrwx    1 0        0               20 Mar 19  2015 ←[1;36msbl1←[0m -> ←[1;
35m/dev/block/mmcblk0p3←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36msec←[0m -> ←[1;3
5m/dev/block/mmcblk0p10←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36mssd←[0m -> ←[1;3
5m/dev/block/mmcblk0p21←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36msystem←[0m -> ←[
1;35m/dev/block/mmcblk0p24←[0m
lrwxrwxrwx    1 0        0               21 Mar 19  2015 ←[1;36muserdata←[0m ->
←[1;35m/dev/block/mmcblk0p27←[0m
uid=2000 gid=2000 groups=1003,1004,1007,1011,1015,1028,3001,3002,3003,3006@e7lte
:/ $
Code:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=958432k,nr_inod
146,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,size=958432k,nr_in
56146,mode=750,gid=1000)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,size=958432k,nr_inod
146,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,size=958432k,nr_inodes
6,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,size=958432k,nr_inodes=
,mode=755,gid=1000)
/dev/block/bootdevice/by-name/apnhlos on /firmware type vfat (ro,context=u
t_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,code
37,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/bootdevice/by-name/modem on /firmware-modem type vfat (ro,conte
bject_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,
ge=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/bootdevice/by-name/system on /system type ext4 (ro,seclabel,rel
norecovery)
/dev/block/bootdevice/by-name/userdata on /data type ext4 (rw,seclabel,nos
dev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,
rdered)
/dev/block/bootdevice/by-name/cache on /cache type ext4 (rw,seclabel,nosui
v,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,er
anic,data=ordered)
/dev/block/bootdevice/by-name/persist on /persist type ext4 (rw,seclabel,n
nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_allo
=ordered)
/dev/block/bootdevice/by-name/efs on /efs type ext4 (rw,seclabel,nosuid,no
atime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=o
)
/dev/block/bootdevice/by-name/persdata on /persdata/absolute type ext4 (rw
bel,nosuid,nodev,relatime,data=ordered)
/dev/block/bootdevice/by-name/hidden on /preload type ext4 (ro,seclabel,no
odev,relatime,data=ordered)
/data/privatemode on /mnt/shell/privatemode type sdcardfs (rw,seclabel,nos
dev,relatime,uid=1000,gid=1000,derive=none,reserved=20MB)
/data/knox/secure_fs/enc_media on /mnt/shell/enc_media type sdcardfs (rw,s
l,nosuid,nodev,relatime,uid=1000,gid=1000,derive=none,reserved=20MB)
/data/knox/sdcard on /mnt/shell/knox-emulated type sdcardfs (rw,seclabel,n
nodev,relatime,uid=1000,gid=1000,derive=none)
/data/media on /mnt/shell/emulated type sdcardfs (rw,seclabel,nosuid,nodev
ime,uid=1023,gid=1023,derive=legacy,reserved=20MB)
/dev/block/loop0 on /su type ext4 (rw,seclabel,noatime,data=ordered)
/data/media on /storage/emulated/0 type sdcardfs (rw,seclabel,nosuid,nodev
ime,uid=1023,gid=1023,derive=legacy,reserved=20MB)
/dev/block/vold/179:65 on /mnt/media_rw/extSdCard type vfat (rw,dirsync,se
,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask
allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,err
mount-ro)
/mnt/media_rw/extSdCard on /storage/extSdCard type sdcardfs (rw,seclabel,n
nodev,relatime,uid=1023,gid=1023,derive=unified)
root@e7lte:/ #

Anyhelp would be much appreciated
  Reply With Quote
Old 02-25-2016, 12:55   #2 (permalink)
Junior Member
 
Join Date: Mar 2011
Posts: 34
Member: 1535147
Status: Offline
Thanks Meter: 7
If that's certificate of imei. so mean you already know where is block the certificate will be store.
  Reply With Quote
Old 02-25-2016, 13:09   #3 (permalink)
No Life Poster
 
zishhaider's Avatar
 
Join Date: Jan 2009
Location: Root tunnel
Age: 36
Posts: 2,250
Member: 952111
Status: Offline
Sonork: I'm not using now.
Thanks Meter: 713
Quote:
Originally Posted by adhitya_1978 View Post
If that's certificate of imei. so mean you already know where is block the certificate will be store.
it is just a dump log, I will use box for write cert...
  Reply With Quote
Old 02-25-2016, 13:10   #4 (permalink)
Freak Poster
 
Join Date: May 2011
Location: United Kingdom
Posts: 203
Member: 1574069
Status: Offline
Thanks Meter: 32
Root with CF-Auto root and flash recovery.img from original firmware again, then wipe cache from recovery and proceed.
  Reply With Quote
Old 02-25-2016, 13:17   #5 (permalink)
No Life Poster
 
zishhaider's Avatar
 
Join Date: Jan 2009
Location: Root tunnel
Age: 36
Posts: 2,250
Member: 952111
Status: Offline
Sonork: I'm not using now.
Thanks Meter: 713
Quote:
Originally Posted by iMoG View Post
Root with CF-Auto root and flash recovery.img from original firmware again, then wipe cache from recovery and proceed.
I have already tried restored cache+recovery = same
  Reply With Quote
Old 02-26-2016, 10:27   #6 (permalink)
No Life Poster
 
Join Date: Jan 2004
Location: Unknown
Age: 39
Posts: 9,227
Member: 49752
Status: Offline
Sonork: QQ:1474246528
Thanks Meter: 6,085
@zishhaider
Hello
If software say msl bypass error that's not mean its MSL error.
New samsung firmware rejecting MSL authorization if warranty is void. i posted this many month go.

You do not need reset efs on most qualcomm just to write cert or unlock. but on security corruption such as null imei or reboot after boot complete need to reset security..

2 solution for such phone.
1 try your luck downgrade baseband and write cert if ur lucky it will accept even if its show null then update baseband back.
2 find samsung combination flash which use for testing internal stuff which ignore all security check made by baseband.
  Reply With Quote
The Following 4 Users Say Thank You to stanner_austin For This Useful Post:
Show/Hide list of the thanked
Old 02-26-2016, 12:48   #7 (permalink)
No Life Poster
 
zishhaider's Avatar
 
Join Date: Jan 2009
Location: Root tunnel
Age: 36
Posts: 2,250
Member: 952111
Status: Offline
Sonork: I'm not using now.
Thanks Meter: 713
Quote:
Originally Posted by stanner_austin View Post
@zishhaider
Hello
If software say msl bypass error that's not mean its MSL error.
New samsung firmware rejecting MSL authorization if warranty is void. i posted this many month go.

You do not need reset efs on most qualcomm just to write cert or unlock. but on security corruption such as null imei or reboot after boot complete need to reset security..

2 solution for such phone.
1 try your luck downgrade baseband and write cert if ur lucky it will accept even if its show null then update baseband back.
2 find samsung combination flash which use for testing internal stuff which ignore all security check made by baseband.
@stanner_austin thanks man, at least some one answered , mobile is dead now, blang said post in forum and even after 48 hours no reply, but you replied even i m not your product user, that is called support, thumbs up... here it is my thread and i hope as usually will be deleted...

http://forum.gsmhosting.com/vbb/f453...ailed-2057380/
  Reply With Quote
Old 02-26-2016, 22:31   #8 (permalink)
Freak Poster
 
Join Date: May 2014
Location: Anywhere
Posts: 267
Member: 2182001
Status: Offline
Thanks Meter: 52
The easy ways now is restore emmc (emmc direct)... write boot partiton and rom1(blank efs) after u can write easy u cert...
  Reply With Quote
The Following User Says Thank You to genhack23 For This Useful Post:
Old 03-03-2016, 15:37   #9 (permalink)
Freak Poster
 
loniryan's Avatar
 
Join Date: Oct 2014
Location: efs
Age: 33
Posts: 496
Member: 2279944
Status: Offline
Sonork: not avaliable
Thanks Meter: 167
delete efs folder..under system forlder with root and file explorer
  Reply With Quote
Old 03-03-2016, 16:07   #10 (permalink)
No Life Poster
 
dicle_gsm's Avatar
 
Join Date: Jul 2007
Location: tr
Posts: 2,219
Member: 539148
Status: Offline
Thanks Meter: 2,174
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p14"
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p15"
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p9"
  Reply With Quote
The Following 8 Users Say Thank You to dicle_gsm For This Useful Post:
Show/Hide list of the thanked
Old 03-17-2016, 02:51   #11 (permalink)
Freak Poster
 
Join Date: Aug 2011
Location: New York City
Posts: 418
Member: 1637281
Status: Offline
Sonork: 100.1657188
Thanks Meter: 95
Donate money to this user
Isn't it 20 2 and 14? Fsg modemst1 and 2?
  Reply With Quote
Old 03-17-2016, 02:56   #12 (permalink)
Freak Poster
 
Join Date: Aug 2011
Location: New York City
Posts: 418
Member: 1637281
Status: Offline
Sonork: 100.1657188
Thanks Meter: 95
Donate money to this user
My bad you were right I was looking at it wrong
  Reply With Quote
Old 12-25-2017, 14:49   #13 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 7
Member: 1301872
Status: Offline
Thanks Meter: 0
please share cert i need this cert E700f duos
  Reply With Quote
Old 12-31-2017, 14:49   #14 (permalink)
Junior Member
 
Join Date: Oct 2017
Location: Egypt
Age: 28
Posts: 10
Member: 2764515
Status: Offline
Thanks Meter: 2
try
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p14"
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p15"
  Reply With Quote
Old 01-02-2018, 07:53   #15 (permalink)
No Life Poster
 
DYNET's Avatar
 
Join Date: Jul 2006
Location: CHINA
Age: 34
Posts: 2,735
Member: 320363
Status: Offline
Sonork: 100.1578853
Thanks Meter: 3,938
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p14"
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p15"
adb shell su -c "dd if=/dev/zero of=/dev/block/mmcblk0p9"
  Reply With Quote
The Following User Says Thank You to DYNET For This Useful Post:
Reply

Bookmarks


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 +1. The time now is 21:29.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.25215 seconds with 8 queries

SEO by vBSEO