One step closer to the no app preferences solution...maybe - Galaxy S I9000 General

So here is the thing that might happened to you, after some usage time on all firmwares that i used so far it reaches a point (suddenly) where applications can no longer get to their own preferences.
This post here talks about the same problem http://forum.xda-developers.com/showthread.php?t=978012 and Dark3n here http://forum.xda-developers.com/showthread.php?t=1013063 developed a app thinking about that problem, but it wont solve it although it makes a wonderful job getting rid of unnecessary files.
The thing is i never care too much about the problem because by the time it happens a new firmware is already released and it just encourages me to install it, even so this is a major problem...let me rephrase...MAJOR PROBLEM.
So right now i am using 2.2.1 XXJQ1 and i was thinking about installing the new 2.3 firmware that is out for some days and, guess what...suddenly the "no shared preferences for you" problem appeared. Grrr now it's confirmed until the current firmware this problem exists and i haven't seen any cause or fix for the problem after digging around the web. (of course factory reset works but it is not a valid solution to the problem)
Since the problem is with the apps preferences i went and checked the folders /dbdata/databases/ and /data/data/ and the permissions on those were quite low especially everything inside /data/data/ (sorry don't remember the actual permissions by the time). Then i just thought well if this is a permissions thing let me chmod -R 777 * on those, i went ahead and did just that and...ttaddamm problem solved the preferences don't go to default screen no more and they got their preferences right were i left em
Now doing chmod -R 777 * on those folders might not be the securest thing to do but so far (like 1hour ago) and 2 reboots after the apps have their preferences as they should.
The thing is .... does the permissions on those folders changed suddenly? If so what could be the origin of that change?
If anyone currently with that problem could try and change permissions on those folders and report back if it worked for them would be awesome.
Another request i make, if possible is if anyone not having the problem would be kind enough to post the default permissions on those folders.

Errrr...anyone?

DsMobile said:
Errrr...anyone?
Click to expand...
Click to collapse
Me no understand .
jje

/dbdata/databases/ drwxrwxrwx
/data/data/ drwxrwx--x
Sorry I tend to forget how to evaluate the number.
Your problem did not happen to me, up till know.

thanks hlaube, any chance you or anyone can tell me the permissions for the package folders inside those?are they the same?

I just flashed stock JVB, flashed CF-root kernel, and then flashed the rom "Simply Honey". Haven't done much installation and setting, so access rights are as they where set up by the maker of the FW.
And now you have a list of my favorit App's as well
# ls -l /dbdata/databases
total 168
drwxrwx--x 3 1000 1000 4096 Apr 23 05:51 android
drwxrwx--x 3 10033 10033 4096 Apr 23 05:51 com.android.calendar
drwxrwx--x 3 10014 10014 4096 Apr 23 06:02 com.android.contacts
drwxrwx--x 3 10059 10059 4096 Apr 23 05:51 com.android.email
drwxrwx--x 3 10003 10003 4096 Apr 23 05:51 com.android.mms
drwxrwx--x 3 1001 1001 4096 Apr 23 05:51 com.android.phone
drwxrwx--x 3 10033 10033 4096 Apr 23 05:51 com.android.providers.calendar
drwxrwx--x 3 10014 10014 4096 Apr 23 06:49 com.android.providers.contacts
drwxrwx--x 2 10000 10000 4096 Apr 23 05:51 com.android.providers.downloads
drwxrwx--x 2 10000 10000 4096 Apr 23 05:52 com.android.providers.media
drwxrwx--x 2 1000 1000 4096 Apr 23 05:51 com.android.providers.settings
drwxrwx--x 3 1001 1001 4096 Apr 23 05:51 com.android.providers.telephony
drwxrwx--x 3 1000 1000 4096 Apr 23 06:13 com.android.settings
drwxrwx--x 3 10034 10034 4096 Apr 23 06:05 com.android.vending
drwxrwx--x 3 10107 10107 4096 Apr 23 06:45 com.aurorasoftworks.quadrant.ui.standard
drwxrwx--x 2 10060 10060 4096 Apr 23 05:51 com.cooliris.media
drwxrwx--x 3 10102 10102 4096 Apr 23 06:47 com.estrongs.android.pop
drwxrwx--x 3 10103 10103 4096 Apr 23 06:50 com.facebook.katana
drwxrwx--x 2 10002 10002 4096 Apr 23 06:26 com.google.android.apps.maps
drwxrwx--x 3 1000 1000 4096 Apr 23 05:51 com.google.android.backup
drwxrwx--x 3 10037 10037 4096 Apr 23 06:13 com.google.android.feedback
drwxrwx--x 3 10017 10017 4096 Apr 23 05:53 com.google.android.gm
drwxrwx--x 3 10036 10036 4096 Apr 23 06:01 com.google.android.gsf
drwxrwx--x 3 10043 10043 4096 Apr 23 05:51 com.google.android.voicesearch
drwxrwx--x 3 10026 10026 4096 Apr 23 05:52 com.google.android.youtube
drwxrwx--x 3 10112 10112 4096 Apr 23 06:12 com.keramidas.TitaniumBackup
drwxrwx--x 3 10007 10007 4096 Apr 23 06:01 com.layar
drwxrwx--x 3 10087 10087 4096 Apr 23 06:00 com.mobilityflow.animatedweather.free
drwxrwx--x 3 10005 10005 4096 Apr 23 05:54 com.noshufou.android.su
drwxrwx--x 3 10097 10097 4096 Apr 23 06:31 com.quoord.tapatalkahilfe.activity
drwxrwx--x 3 10118 10118 4096 Apr 23 06:34 com.quoord.tapatalkxda.activity
drwxrwx--x 3 10044 10044 4096 Apr 23 05:51 com.sec.android.app.samsungapps.una
drwxrwx--x 3 10031 10031 4096 Apr 23 05:51 com.sec.android.app.sns
drwxrwx--x 2 10014 10014 4096 Apr 23 05:51 com.sec.android.provider.logsprovider
drwxrwx--x 2 10018 10018 4096 Apr 23 05:51 com.sec.android.providers.downloads
drwxrwxrwx 3 1000 1000 4096 Apr 23 05:51 com.sec.android.providers.drm
drwxrwx--x 3 10006 10006 4096 Apr 23 06:32 com.swype.android.inputmethod
drwxrwx--x 3 10113 10113 4096 Apr 23 06:50 com.thedeck.android.app
drwxrwx--x 2 1000 1000 4096 Apr 23 05:51 com.wssyncmldm
drwxrwx--x 3 10030 10030 4096 Apr 23 05:59 eu.chainfire.cfroot.cwmmanager
drwxrwx--x 3 10096 10096 4096 Apr 23 06:46 lysesoft.andexplorer
drwxrwx--x 3 10015 10015 4096 Apr 23 05:51 net.thinkindifferent.inputmethod.latin
# ls -l /data/data
total 692
drwxr-x--x 3 10019 10019 4096 Apr 23 05:50 android.tts
drwxr-x--x 3 10100 10100 4096 Apr 23 06:06 ch.ethz.im.codecheck
drwxr-x--x 3 10086 10086 4096 Apr 23 05:51 com.Double.FasterFix
drwxr-x--x 3 10063 10063 4096 Apr 23 05:51 com.adobe.flashplayer
drwxr-x--x 3 10075 10075 4096 Apr 23 05:51 com.aldiko.android.samsung
drwxr-x--x 3 1000 1000 4096 Apr 23 05:49 com.android.MtpApplication
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.android.Preconfig
drwxr-x--x 3 10039 10039 4096 Apr 23 05:50 com.android.angryGps
drwxr-x--x 3 10024 10024 4096 Apr 23 05:50 com.android.bluetooth
drwxr-x--x 3 10080 10080 4096 Apr 23 05:51 com.android.bluetooth.bpp
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.android.bluetoothtest
drwxr-x--x 3 10010 10010 4096 Apr 23 05:50 com.android.browser
drwxr-x--x 3 10033 10033 4096 Apr 23 05:50 com.android.calendar
drwxr-x--x 3 10082 10082 4096 Apr 23 05:51 com.android.cardock
drwxr-x--x 3 10045 10045 4096 Apr 23 05:50 com.android.certinstaller
drwxr-x--x 3 10014 10014 4096 Apr 23 05:51 com.android.contacts
drwxr-x--x 3 10052 10052 4096 Apr 23 05:50 com.android.defcontainer
drwxr-x--x 6 10059 10059 4096 Apr 23 05:51 com.android.email
drwxr-x--x 3 10056 10056 4096 Apr 23 05:50 com.android.htmlviewer
drwxr-x--x 3 10032 10032 4096 Apr 23 05:50 com.android.inputmethod.latin
drwxr-x--x 3 10038 10038 4096 Apr 23 05:50 com.android.magicsmoke
drwxr-x--x 3 10003 10003 4096 Apr 23 05:50 com.android.mms
drwxr-x--x 3 10023 10023 4096 Apr 23 05:50 com.android.music
drwxr-x--x 3 10028 10028 4096 Apr 23 05:50 com.android.musicvis
drwxr-x--x 3 10090 10090 4096 Apr 23 05:51 com.android.nexuss
drwxr-x--x 3 10065 10065 4096 Apr 23 05:51 com.android.packageinstaller
drwxr-x--x 4 1001 1001 4096 Apr 23 05:51 com.android.phone
drwxr-x--x 3 10068 10068 4096 Apr 23 05:51 com.android.protips
drwxr-x--x 3 10014 10014 4096 Apr 23 05:50 com.android.providers.applications
drwxr-x--x 3 10033 10033 4096 Apr 23 05:51 com.android.providers.calendar
drwxr-x--x 3 10014 10014 4096 Apr 23 05:51 com.android.providers.contacts
drwxr-x--x 4 10000 10000 4096 Apr 23 06:01 com.android.providers.downloads
drwxr-x--x 3 10000 10000 4096 Apr 23 05:49 com.android.providers.downloads.ui
drwxr-x--x 4 10000 10000 4096 Apr 23 06:13 com.android.providers.drm
drwxr-x--x 3 10000 10000 4096 Apr 23 05:51 com.android.providers.media
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.android.providers.security
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.android.providers.settings
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.android.providers.subscribedfeeds
drwxr-x--x 3 1001 1001 4096 Apr 23 05:54 com.android.providers.telephony
drwxr-x--x 4 10014 10014 4096 Apr 23 05:51 com.android.providers.userdictionary
drwxr-x--x 3 1001 1001 4096 Apr 23 05:51 com.android.samsungtest.DataCreate
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.android.server.vpn
drwxr-x--x 4 1000 1000 4096 Apr 23 05:51 com.android.settings
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.android.settings.mt
drwxr-x--x 3 10069 10069 4096 Apr 23 05:51 com.android.setupwizard
drwxr-x--x 3 1001 1001 4096 Apr 23 05:50 com.android.stk
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.android.systemui
drwxr-x--x 5 10034 10034 4096 Apr 23 05:53 com.android.vending
drwxr-x--x 3 10011 10011 4096 Apr 23 05:50 com.android.vending.updater
drwxr-x--x 4 10081 10081 4096 Apr 23 05:51 com.android.voicedialer
drwxr-x--x 3 10012 10012 4096 Apr 23 05:50 com.android.wallpaper
drwxr-x--x 3 10049 10049 4096 Apr 23 05:50 com.android.wallpaper.livepicker
drwxr-x--x 3 10084 10084 4096 Apr 23 05:51 com.androidapps.spare_parts
drwxr-x--x 6 10107 10107 4096 Apr 23 06:45 com.aurorasoftworks.quadrant.ui.standard
drwxr-x--x 3 10062 10062 4096 Apr 23 05:51 com.boombuler.system.appwidgetpicker
drwxr-x--x 3 10053 10053 4096 Apr 23 05:50 com.broadcom.bt.app.pbap
drwxr-x--x 3 1002 1002 4096 Apr 23 05:51 com.broadcom.bt.app.system
drwxr-x--x 3 10088 10088 4096 Apr 23 05:51 com.bryanowens.Camcorder
drwxr-x--x 3 10060 10060 4096 Apr 23 05:50 com.cooliris.media
drwxr-x--x 5 10085 10085 4096 Apr 23 05:53 com.ebproductions.android.launcher
drwxr-x--x 3 10102 10102 4096 Apr 23 06:07 com.estrongs.android.pop
drwxr-x--x 6 10103 10103 4096 Apr 23 06:49 com.facebook.katana
drwxr-x--x 4 10002 10002 4096 Apr 23 06:08 com.google.android.apps.maps
drwxr-x--x 3 10029 10029 4096 Apr 23 05:50 com.google.android.apps.uploader
drwxr-x--x 4 1000 1000 4096 Apr 23 05:51 com.google.android.backup
drwxr-x--x 3 10094 10094 4096 Apr 23 05:51 com.google.android.carhome
drwxr-x--x 7 10037 10037 4096 Apr 23 06:13 com.google.android.feedback
drwxr-x--x 6 10017 10017 4096 Apr 23 05:53 com.google.android.gm
drwxr-x--x 4 10050 10050 4096 Apr 23 06:01 com.google.android.googlequicksearchbox
drwxr-x--x 5 10036 10036 4096 Apr 23 05:51 com.google.android.gsf
drwxr-x--x 4 10036 10036 4096 Apr 23 05:51 com.google.android.location
drwxr-x--x 3 10009 10009 4096 Apr 23 05:50 com.google.android.partnersetup
drwxr-x--x 3 10077 10077 4096 Apr 23 05:51 com.google.android.street
drwxr-x--x 4 10036 10036 4096 Apr 23 05:53 com.google.android.syncadapters.calendar
drwxr-x--x 4 10036 10036 4096 Apr 23 05:53 com.google.android.syncadapters.contacts
drwxr-x--x 3 10074 10074 4096 Apr 23 05:51 com.google.android.talk
drwxr-x--x 3 10043 10043 4096 Apr 23 05:50 com.google.android.voicesearch
drwxr-x--x 5 10026 10026 4096 Apr 23 05:52 com.google.android.youtube
drwxr-x--x 3 10105 10105 4096 Apr 23 06:08 com.google.earth
drwxr-xr-x 5 10112 10112 4096 Apr 23 06:12 com.keramidas.TitaniumBackup
drwxr-x--x 3 10114 10114 4096 Apr 23 06:12 com.keramidas.TitaniumBackupPro
drwxr-x--x 3 10109 10109 4096 Apr 23 06:08 com.kmagic.solitaire
drwxr-x--x 4 10007 10007 4096 Apr 23 06:01 com.layar
drwxr-x--x 3 10104 10104 4096 Apr 23 06:07 com.mictale.gpsessentials
drwxr-x--x 4 10087 10087 4096 Apr 23 06:01 com.mobilityflow.animatedweather.free
drwxr-x--x 3 10057 10057 4096 Apr 23 05:50 com.monotype.android.font.chococooky
drwxr-x--x 3 10016 10016 4096 Apr 23 05:50 com.monotype.android.font.cooljazz
drwxr-x--x 3 10079 10079 4096 Apr 23 05:51 com.monotype.android.font.rosemary
drwxr-x--x 3 10046 10046 4096 Apr 23 05:50 com.newspaperdirect.pressreader.android.samsung
drwxr-x--x 5 10005 10005 4096 Apr 23 05:53 com.noshufou.android.su
drwxr-x--x 3 10110 10110 4096 Apr 23 06:09 com.onegravity.sudoku.sudoku10kfree
drwxr-x--x 4 1001 1001 4096 Apr 23 05:51 com.osp.app.signin
drwxr-x--x 3 10095 10095 4096 Apr 23 06:05 com.punsoftware.backup
drwxr-x--x 5 10097 10097 4096 Apr 23 06:33 com.quoord.tapatalkahilfe.activity
drwxr-x--x 5 10118 10118 4096 Apr 23 06:34 com.quoord.tapatalkxda.activity
drwxr-x--x 3 10093 10093 4096 Apr 23 05:51 com.rechild.advancedtaskkillerfroyo
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.samsung.InputEventApp
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.samsung.android.app.divx
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.samsung.mobileTracker.ui
drwxr-x--x 3 1001 1001 4096 Apr 23 05:51 com.samsung.sec.android.application.csc
drwxr-x--x 3 1001 1001 4096 Apr 23 05:50 com.samsung.simdetachnotifier
drwxr-x--x 3 10021 10021 4096 Apr 23 05:50 com.sec.android.app.MmsProvision
drwxr-x--x 3 10042 10042 4096 Apr 23 05:50 com.sec.android.app.calculator
drwxr-x--x 3 1001 1001 4096 Apr 23 05:50 com.sec.android.app.callsetting
drwxr-x--x 3 10073 10073 4096 Apr 23 05:51 com.sec.android.app.camera
drwxr-x--x 3 10001 10001 4096 Apr 23 05:49 com.sec.android.app.camerafirmware
drwxr-x--x 4 10076 10076 4096 Apr 23 05:51 com.sec.android.app.clockpackage
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.sec.android.app.controlpanel
drwxr-x--x 3 10014 10014 4096 Apr 23 05:51 com.sec.android.app.dialertab
drwxr-x--x 3 10070 10070 4096 Apr 23 05:51 com.sec.android.app.dlna
drwxr-x--x 3 10008 10008 4096 Apr 23 05:50 com.sec.android.app.drmua
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.sec.android.app.encrypt
drwxr-x--x 3 1000 1000 4096 Apr 23 05:49 com.sec.android.app.factorytest
drwxr-x--x 3 10061 10061 4096 Apr 23 05:51 com.sec.android.app.fm
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.lcdtest
drwxr-x--x 3 10078 10078 4096 Apr 23 05:51 com.sec.android.app.memo
drwxr-x--x 3 10066 10066 4096 Apr 23 05:51 com.sec.android.app.minidiary
drwxr-x--x 3 10058 10058 4096 Apr 23 05:50 com.sec.android.app.myfiles
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.personalization
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.phonesetupwizard
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.sec.android.app.phoneutil
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.popupuireceiver
drwxr-x--x 3 10025 10025 4096 Apr 23 05:50 com.sec.android.app.samsungapps
drwxr-x--x 4 10044 10044 4096 Apr 23 05:51 com.sec.android.app.samsungapps.una
drwxr-x--x 3 1003 1003 4096 Apr 23 05:50 com.sec.android.app.screencapture
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.selftestmode
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.servicemodeapp
drwxr-x--x 3 10051 10051 4096 Apr 23 05:50 com.sec.android.app.shutdown
drwxr-x--x 4 10031 10031 4096 Apr 23 05:51 com.sec.android.app.sns
drwxr-x--x 3 10055 10055 4096 Apr 23 05:50 com.sec.android.app.snsaccount
drwxr-x--x 3 10004 10004 4096 Apr 23 05:50 com.sec.android.app.soundplayer
drwxr-x--x 3 10014 10014 4096 Apr 23 05:50 com.sec.android.app.twlauncher
drwxr-x--x 3 10035 10035 4096 Apr 23 05:50 com.sec.android.app.twwallpaperchooser
drwxr-x--x 3 10072 10072 4096 Apr 23 05:51 com.sec.android.app.unifiedinbox
drwxr-x--x 3 10071 10071 4096 Apr 23 05:51 com.sec.android.app.videoplayer
drwxr-x--x 3 10048 10048 4096 Apr 23 05:50 com.sec.android.app.voicerecorder
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.sec.android.app.wlantest
drwxr-x--x 3 10022 10022 4096 Apr 23 05:50 com.sec.android.inputmethod.axt9
drwxr-x--x 4 10067 10067 4096 Apr 23 05:51 com.sec.android.provider.badge
drwxr-x--x 3 10014 10014 4096 Apr 23 05:50 com.sec.android.provider.logsprovider
drwxr-x--x 3 10018 10018 4096 Apr 23 05:50 com.sec.android.providers.downloads
drwxr-x--x 3 1000 1000 4096 Apr 23 05:49 com.sec.android.providers.drm
drwxr-x--x 3 10014 10014 4096 Apr 23 05:50 com.sec.android.widgetapp.programmonitorwidget
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.sec.app.RilErrorNotifier
drwxr-x--x 3 10092 10092 4096 Apr 23 05:51 com.siriusapplications.quickboot
drwxr-x--x 3 10041 10041 4096 Apr 23 05:50 com.smlds
drwxr-x--x 3 10040 10040 4096 Apr 23 05:50 com.svox.pico
drwxr-x--x 6 10006 10006 4096 Apr 23 06:33 com.swype.android.inputmethod
drwxr-x--x 3 10013 10013 4096 Apr 23 05:50 com.tat.livewallpaper.aurora
drwxr-x--x 3 10047 10047 4096 Apr 23 05:50 com.tat.livewallpaper.beach
drwxr-x--x 3 10064 10064 4096 Apr 23 05:51 com.tat.livewallpaper.bluesea
drwxr-x--x 3 10027 10027 4096 Apr 23 05:50 com.tf.thinkdroid.samsung
drwxr-x--x 6 10113 10113 4096 Apr 23 06:53 com.thedeck.android.app
drwxr-x--x 3 1001 1001 4096 Apr 23 05:50 com.wipereceiver
drwxr-x--x 3 10020 10020 4096 Apr 23 05:50 com.wsomacp
drwxr-x--x 3 1000 1000 4096 Apr 23 05:51 com.wssnps
drwxr-x--x 3 1000 1000 4096 Apr 23 05:50 com.wssyncmldm
drwxr-x--x 4 10108 10108 4096 Apr 23 06:57 com.zegoggles.smssync
drwxr-x--x 3 10091 10091 4096 Apr 23 05:51 de.Fr4gg0r.SGS.Tools
drwxr-x--x 3 10115 10115 4096 Apr 23 06:09 de.barcoo.android
drwxr-x--x 3 10116 10116 4096 Apr 23 06:09 de.heise.android.heiseonlineapp
drwxr-x--x 3 10117 10117 4096 Apr 23 06:10 de.schildbach.oeffi
drwxr-x--x 3 10030 10030 4096 Apr 23 05:50 eu.chainfire.cfroot.cwmmanager
drwxr-x--x 4 10089 10089 4096 Apr 23 05:54 eu.chainfire.cfroot.ext4manager
drwxr-x--x 3 10054 10054 4096 Apr 23 05:50 eu.chainfire.cfroot.tweakmanager
drwxr-x--x 3 10111 10111 4096 Apr 23 06:09 jackpal.androidterm
drwxr-x--x 3 10096 10096 4096 Apr 23 06:06 lysesoft.andexplorer
drwxr-x--x 3 10101 10101 4096 Apr 23 06:07 mobi.mgeek.TunnyBrowser
drwxr-x--x 3 10098 10098 4096 Apr 23 06:06 net.jimblackler.newswidget
drwxr-x--x 4 10015 10015 4096 Apr 23 05:51 net.thinkindifferent.inputmethod.latin
drwxr-x--x 3 10106 10106 4096 Apr 23 06:08 org.leo.android.dict
drwxr-x--x 3 10099 10099 4096 Apr 23 06:06 ru.org.amip.ClockSync
drwxr-x--x 3 10083 10083 4096 Apr 23 05:51 ymst.android.homeswitcherfroyo

Related

[help neded] I need a dump of a /dev/ on a stock captivate rooted

Hello guys,
Can you please post a ls -al /dev/block/
and if you can provide a .tar.gz of the entire thing.
Thanks!
how do I do this on droid explorer, I tried opening the folder with usb debug on, but it won't open.
Hello,
You need root.
Code:
adb shell
su
cd /dev/block/
ls -al
I already did this somewhere around the forum, likely in one of the lagfix threads...
max_warheads said:
I already did this somewhere around the forum, likely in one of the lagfix threads...
Click to expand...
Click to collapse
I did a quick search. Please post here.
Thanks!
Code:
bash-4.1# ls -al /dev/block
total 0
drwxr-xr-x 3 0 0 1360 Aug 21 06:48 .
drwxr-xr-x 10 0 0 13580 Aug 21 06:48 ..
brw------- 1 0 0 137, 0 Aug 21 06:48 bml0!c
brw------- 1 0 0 137, 1 Aug 21 06:48 bml1
brw------- 1 0 0 137, 10 Aug 21 06:48 bml10
brw------- 1 0 0 137, 11 Aug 21 06:48 bml11
brw-r--r-- 1 0 0 137, 12 Aug 21 06:48 bml12
brw------- 1 0 0 137, 2 Aug 21 06:48 bml2
brw------- 1 0 0 137, 3 Aug 21 06:48 bml3
brw------- 1 0 0 137, 4 Aug 21 06:48 bml4
brw------- 1 0 0 137, 5 Aug 21 06:48 bml5
brw------- 1 0 0 137, 6 Aug 21 06:48 bml6
brw------- 1 0 0 137, 7 Aug 21 06:48 bml7
brw------- 1 0 0 137, 8 Aug 21 06:48 bml8
brw------- 1 0 0 137, 9 Aug 21 06:48 bml9
brw------- 1 0 0 7, 0 Aug 21 06:48 loop0
brw------- 1 0 0 7, 1 Aug 21 06:48 loop1
brw------- 1 0 0 7, 2 Aug 21 06:48 loop2
brw------- 1 0 0 7, 3 Aug 21 06:48 loop3
brw------- 1 0 0 7, 4 Aug 21 06:48 loop4
brw------- 1 0 0 7, 5 Aug 21 06:48 loop5
brw------- 1 0 0 7, 6 Aug 21 06:48 loop6
brw------- 1 0 0 7, 7 Aug 21 06:48 loop7
brw------- 1 0 0 179, 0 Aug 21 06:48 mmcblk0
brw------- 1 0 0 179, 1 Aug 21 06:48 mmcblk0p1
brw------- 1 0 0 179, 2 Aug 21 06:48 mmcblk0p2
brw------- 1 0 0 1, 0 Aug 21 06:48 ram0
brw------- 1 0 0 1, 1 Aug 21 06:48 ram1
brw------- 1 0 0 1, 10 Aug 21 06:48 ram10
brw------- 1 0 0 1, 11 Aug 21 06:48 ram11
brw------- 1 0 0 1, 12 Aug 21 06:48 ram12
brw------- 1 0 0 1, 13 Aug 21 06:48 ram13
brw------- 1 0 0 1, 14 Aug 21 06:48 ram14
brw------- 1 0 0 1, 15 Aug 21 06:48 ram15
brw------- 1 0 0 1, 2 Aug 21 06:48 ram2
brw------- 1 0 0 1, 3 Aug 21 06:48 ram3
brw------- 1 0 0 1, 4 Aug 21 06:48 ram4
brw------- 1 0 0 1, 5 Aug 21 06:48 ram5
brw------- 1 0 0 1, 6 Aug 21 06:48 ram6
brw------- 1 0 0 1, 7 Aug 21 06:48 ram7
brw------- 1 0 0 1, 8 Aug 21 06:48 ram8
brw------- 1 0 0 1, 9 Aug 21 06:48 ram9
brw------- 1 0 0 138, 1 Aug 21 06:48 stl1
brw------- 1 0 0 138, 10 Aug 21 06:48 stl10
brw------- 1 0 0 138, 11 Aug 21 06:48 stl11
brw------- 1 0 0 138, 12 Aug 21 06:48 stl12
brw------- 1 0 0 138, 2 Aug 21 06:48 stl2
brw------- 1 0 0 138, 3 Aug 21 06:48 stl3
brw------- 1 0 0 138, 4 Aug 21 06:48 stl4
brw------- 1 0 0 138, 5 Aug 21 06:48 stl5
brw------- 1 0 0 138, 6 Aug 21 06:48 stl6
brw------- 1 0 0 138, 7 Aug 21 06:48 stl7
brw------- 1 0 0 138, 8 Aug 21 06:48 stl8
brw------- 1 0 0 138, 9 Aug 21 06:48 stl9
brw------- 1 0 0 139, 0 Aug 21 06:48 tfsr0!c
brw------- 1 0 0 139, 1 Aug 21 06:48 tfsr1
brw------- 1 0 0 139, 10 Aug 21 06:48 tfsr10
brw------- 1 0 0 139, 11 Aug 21 06:48 tfsr11
brw------- 1 0 0 139, 12 Aug 21 06:48 tfsr12
brw------- 1 0 0 139, 2 Aug 21 06:48 tfsr2
brw------- 1 0 0 139, 3 Aug 21 06:48 tfsr3
brw------- 1 0 0 139, 4 Aug 21 06:48 tfsr4
brw------- 1 0 0 139, 5 Aug 21 06:48 tfsr5
brw------- 1 0 0 139, 6 Aug 21 06:48 tfsr6
brw------- 1 0 0 139, 7 Aug 21 06:48 tfsr7
brw------- 1 0 0 139, 8 Aug 21 06:48 tfsr8
brw------- 1 0 0 139, 9 Aug 21 06:48 tfsr9
drwxr-xr-x 2 0 0 100 Aug 21 06:48 vold
bash-4.1#
Actually, sorry, that was for the JH2 ROM.

[Q] Phone does not boot after symbolic link fonts files

When I symbolic linked /system/fonts/DroidSans-Bold.ttf and /system/fonts/DroidSans.ttf to /HWUserData/fonts/simsun.ttc, the phone can reboot successfully, and I can see the default fonts are changed as expected:
Code:
# This one is still working
sh-4.2# ls -l
ls -l
total 5536
-rw-r--r-- 1 0 0 6880 Dec 3 10:11 Clockopia.ttf
lrwxrwxrwx 1 0 0 28 Dec 22 01:48 DroidSans-Bold.ttf -> /HWUserData/fonts/simsun.ttc
-rw-r--r-- 1 0 0 194488 Dec 3 10:11 DroidSans-Bold.ttf.bak
lrwxrwxrwx 1 0 0 28 Dec 22 01:43 DroidSans.ttf -> /HWUserData/fonts/simsun.ttc
-rw-r--r-- 1 0 0 190776 Dec 3 10:11 DroidSans.ttf.bak
-rw-r--r-- 1 0 0 622280 Dec 3 10:11 DroidSansArabic.ttf
-rw-r--r-- 1 0 0 3725920 Dec 3 10:11 DroidSansFallback.ttf
-rw-r--r-- 1 0 0 23076 Dec 3 10:11 DroidSansHebrew.ttf
-rw-r--r-- 1 0 0 119380 Dec 3 10:11 DroidSansMono.ttf
-rw-r--r-- 1 0 0 36028 Dec 3 10:11 DroidSansThai.ttf
-rw-r--r-- 1 0 0 185228 Dec 3 10:11 DroidSerif-Bold.ttf
-rw-r--r-- 1 0 0 190304 Dec 3 10:11 DroidSerif-BoldItalic.ttf
-rw-r--r-- 1 0 0 177560 Dec 3 10:11 DroidSerif-Italic.ttf
-rw-r--r-- 1 0 0 172916 Dec 3 10:11 DroidSerif-Regular.ttf
lrwxrwxrwx 1 0 0 26 Dec 21 10:31 msyh.ttc -> /HWUserData/fonts/msyh.ttc
lrwxrwxrwx 1 0 0 28 Dec 21 10:31 msyhbd.ttc -> /HWUserData/fonts/msyhbd.ttc
lrwxrwxrwx 1 0 0 28 Dec 21 10:31 simhei.ttf -> /HWUserData/fonts/simhei.ttf
lrwxrwxrwx 1 0 0 28 Dec 21 10:31 simsun.ttc -> /HWUserData/fonts/simsun.ttc
Then, I symbolic linked all fonts to /HWUserData/fonts/***, reboot, phone is stucked at Huawei logo screen:
Code:
sh-4.2# ls -l
# This one make the phone can't boot
ls -l
total 5536
-rw-r--r-- 1 0 0 6880 Dec 3 10:11 Clockopia.ttf
lrwxrwxrwx 1 0 0 10 Dec 22 02:16 DroidSans-Bold.ttf -> simsun.ttc
-rw-r--r-- 1 0 0 194488 Dec 3 10:11 DroidSans-Bold.ttf.bak
lrwxrwxrwx 1 0 0 10 Dec 22 02:16 DroidSans.ttf -> simsun.ttc
-rw-r--r-- 1 0 0 190776 Dec 3 10:11 DroidSans.ttf.bak
lrwxrwxrwx 1 0 0 8 Dec 22 02:17 DroidSansArabic.ttf -> msyh.ttc
-rw-r--r-- 1 0 0 622280 Dec 3 10:11 DroidSansArabic.ttf.bak
lrwxrwxrwx 1 0 0 8 Dec 22 02:19 DroidSansFallback.ttf -> msyh.ttc
-rw-r--r-- 1 0 0 3725920 Dec 3 10:11 DroidSansFallback.ttf.bak
lrwxrwxrwx 1 0 0 8 Dec 22 02:19 DroidSansHebrew.ttf -> msyh.ttc
-rw-r--r-- 1 0 0 23076 Dec 3 10:11 DroidSansHebrew.ttf.bak
lrwxrwxrwx 1 0 0 8 Dec 22 02:19 DroidSansMono.ttf -> msyh.ttc
-rw-r--r-- 1 0 0 119380 Dec 3 10:11 DroidSansMono.ttf.bak
lrwxrwxrwx 1 0 0 8 Dec 22 02:19 DroidSansThai.ttf -> msyh.ttc
-rw-r--r-- 1 0 0 36028 Dec 3 10:11 DroidSansThai.ttf.bak
lrwxrwxrwx 1 0 0 10 Dec 22 02:14 DroidSerif-Bold.ttf -> simsun.ttc
-rw-r--r-- 1 0 0 185228 Dec 3 10:11 DroidSerif-Bold.ttf.bak
lrwxrwxrwx 1 0 0 10 Dec 22 02:14 DroidSerif-BoldItalic.ttf -> simsun.ttc
-rw-r--r-- 1 0 0 190304 Dec 3 10:11 DroidSerif-BoldItalic.ttf.bak
lrwxrwxrwx 1 0 0 10 Dec 22 02:15 DroidSerif-Italic.ttf -> simsun.ttc
-rw-r--r-- 1 0 0 177560 Dec 3 10:11 DroidSerif-Italic.ttf.bak
lrwxrwxrwx 1 0 0 10 Dec 22 02:13 DroidSerif-Regular.ttf -> simsun.ttc
-rw-r--r-- 1 0 0 172916 Dec 3 10:11 DroidSerif-Regular.ttf.bak
lrwxrwxrwx 1 0 0 26 Dec 21 10:31 msyh.ttc -> /HWUserData/fonts/msyh.ttc
lrwxrwxrwx 1 0 0 28 Dec 21 10:31 msyhbd.ttc -> /HWUserData/fonts/msyhbd.ttc
lrwxrwxrwx 1 0 0 28 Dec 21 10:31 simhei.ttf -> /HWUserData/fonts/simhei.ttf
lrwxrwxrwx 1 0 0 28 Dec 21 10:31 simsun.ttc -> /HWUserData/fonts/simsun.ttc
I can use 'adb' to get shell, but 'su' command failed with "Segmentation fault", so I can't undo these symbolic links.
'adb logcat' show a lot of logs which I don't understand it: pastebin.com/a3Ar1XvK
Any chance to revive this phone?
well,i have to reupgrade ROM to bring it back, some data are lost
Sent from my U8800 using XDA App
You should make backup before you do something major to your device.
Recovery backup saves your time.

[HELP] I need pds.img Backup

Hello Everyone,
I found the way to make adb run on a Defy with screwed /pds partition. But of course the OS is not booting. Can somebody help me uploading a backup of your /pds partiton?. I can't found it anywhere Thanks in advance to anyone
EDIT: I don't need anymore ALL the /pds file content, but only the content of opprof folder
TheElix said:
Hello Everyone,
I found the way to make adb run on a Defy with screwed /pds partition. But of course the OS is not booting. Can somebody help me uploading a backup of your /pds partiton?. I can't found it anywhere Thanks in advance to anyone
Click to expand...
Click to collapse
Do you have a reference for what is contained in the /pds partition? Doesn't the /pds partition contain device specific information, maybe including the IMEI which we certainly don't want to share.
See this thread: http://forum.xda-developers.com/showthread.php?t=2675326
craig_comstock said:
Do you have a reference for what is contained in the /pds partition? Doesn't the /pds partition contain device specific information, maybe including the IMEI which we certainly don't want to share.
See this thread: http://forum.xda-developers.com/showthread.php?t=2675326
Click to expand...
Click to collapse
I looked at that thread but I didn't found anything useful.
BTW I found a backup online and now my Defy is booting :laugh: But, of course, the IMEI shows as 0000000000000000000 and doesn't connect to the network
There's the content of my /pds
Code:
[email protected]:/ # ls -lR /pds
/pds:
drwxrwx--- radio radio 2015-10-30 05:17 bp_nvm
drwxrwx--- radio radio 2015-10-28 06:26 comm_drv
drwxr-xr-x root root 1981-12-31 13:00 config
drwxr----- root root 2012-08-29 07:51 factory
-rw-r--r-- root root 507504 2015-10-27 06:11 hijack
drwxrwx--- root root 2015-07-05 05:41 lost+found
drwxr-xr-x root root 2015-10-28 04:21 opprof
drwxrwxr-x system shell 2015-10-27 04:42 public
drwxr-xr-x root radio 2015-07-05 05:41 scim
drwxrwx--- 9007 9007 2015-10-27 06:15 security
-rw-r--r-- root root 260184 2015-10-27 06:11 update-binary
-rw-r--r-- root root 1335532 2015-10-27 06:11 update-recovery.zip
drwxrwx--x wifi wifi 2015-10-27 06:15 wifi
drwxrwxr-x 9003 9003 2015-10-27 06:15 wmdrm
/pds/bp_nvm:
-rw-r--r-- root root 3604 2015-10-27 06:11 FILE_PDS5
-rw-r--r-- root root 1970 2015-10-27 06:11 FILE_PDS_SUBSIDY_LOCK_DBK_1
-rw-r--r-- root root 2406 2015-10-27 06:11 FILE_PDS_SUBSIDY_LOCK_DBK_2
-rw-r--r-- root root 3197 2015-10-28 04:21 File_PDS1
-rw-r--r-- root root 2276 2015-10-27 06:11 File_PDS2
-rw-r--r-- root root 4387 2015-10-28 04:21 File_PDS3
-rw-r--r-- root root 4032 2015-10-28 04:21 File_PDS4
-rw-r--r-- root root 2602 2015-10-27 06:11 File_PDS_IMEI
-rw-r--r-- root root 4482 2015-10-27 06:11 File_PDS_LTE1
-rw-r--r-- root root 6722 2015-10-27 06:11 File_PDS_LTE2
-rw-r--r-- root root 320 2015-10-28 04:21 File_PDS_SBCM
-rw-r--r-- root root 1330 2015-10-30 05:18 File_PDS_Subsidy_Lock
-rw-r--r-- root root 312 2015-10-27 06:11 NVM_Daemon_Log.txt
-rw-rw-rw- root radio 1512 2015-10-28 06:21 NVM_Daemon_MD5
-rw------- root root 32 2012-12-06 08:42 md5
/pds/comm_drv:
-rw-r--r-- root root 1 2015-10-27 06:11 cat_log_control.cfg
-rw-r--r-- root root 1 2015-10-27 06:11 cat_routing_path_control.cfg
-rw-rw-rw- root radio 2704 2015-10-28 06:26 mmins_settings.cfg
-rw-r--r-- root root 1 2015-10-27 06:11 ms_log_control.cfg
-rw-r--r-- root root 61 2015-10-27 06:11 opprof.txt
/pds/config:
-rw-r----- root root 0 1981-12-31 13:00 barcode
-rw-r----- root root 0 1981-12-31 13:00 baseband
-rw-r----- root root 0 2012-12-06 08:41 bootmode
-rw-r----- root root 1 1981-12-31 13:00 boslogcat
-rw-r----- root root 0 1981-12-31 13:00 carrier
-rw-r----- root root 0 1981-12-31 13:00 console
-rw-r----- root root 0 1981-12-31 13:00 display
-rw-r----- root root 0 1981-12-31 13:00 dtname
-rw-r----- root root 0 1981-12-31 13:00 fti
-rw-r----- root root 0 1981-12-31 13:00 hwrev
-rw-r----- root root 0 1981-12-31 13:00 model
-rw-r----- root root 0 1981-12-31 13:00 msn
/pds/factory:
-rw-r----- root root 128 2012-08-29 08:55 fti
/pds/lost+found:
/pds/opprof:
/pds/public:
drwxrwxr-x root root 1981-12-31 13:04 atvc
drwxr-x--- 9000 9000 2015-10-27 06:15 battd
-rw------- root root 5 2012-12-06 08:13 cur.locale
-rw-r--r-- root root 2 2012-08-29 07:58 tcxo.bin
/pds/public/atvc:
/pds/public/battd:
-rw-rw---- root root 10 2015-10-27 06:11 batt_offset_data
-rw-rw---- root root 12 2015-10-27 06:11 batt_phasing_data
-rw-rw---- root root 256 2015-10-27 06:11 batt_tuning_data
/pds/scim:
/pds/security:
-rw-r--r-- root 9007 4096 2015-10-27 06:11 counter.bin
-rw-r--r-- root 9007 5086 2015-10-27 06:11 janusDeviceCert.dat
-rw-rw-r-- root 9007 608 2012-09-24 17:14 keymaptable.dat
-rw-rw-r-- root 9007 110 1981-12-31 13:04 keyring.dat
-rw-r--r-- root 9007 22528 2015-10-27 06:11 system.bin
/pds/wifi:
-rw-r--r-- root root 468 2015-10-27 06:11 nvs_map.bin
-rw-rw---- root root 1113 2012-09-19 07:33 nvs_map_mac80211.bin
/pds/wmdrm:
-rw-r--r-- root root 32 2015-10-27 06:11 hashsdidmap.dat
Are some files missing?
TheElix said:
I looked at that thread but I didn't found anything useful.
BTW I found a backup online and now my Defy is booting :laugh: But, of course, the IMEI shows as 0000000000000000000 and doesn't connect to the network
There's the content of my /pds
Code:
[email protected]:/ # ls -lR /pds
/pds:
drwxrwx--- radio radio 2015-10-30 05:17 bp_nvm
drwxrwx--- radio radio 2015-10-28 06:26 comm_drv
drwxr-xr-x root root 1981-12-31 13:00 config
drwxr----- root root 2012-08-29 07:51 factory
-rw-r--r-- root root 507504 2015-10-27 06:11 hijack
drwxrwx--- root root 2015-07-05 05:41 lost+found
drwxr-xr-x root root 2015-10-28 04:21 opprof
drwxrwxr-x system shell 2015-10-27 04:42 public
drwxr-xr-x root radio 2015-07-05 05:41 scim
drwxrwx--- 9007 9007 2015-10-27 06:15 security
-rw-r--r-- root root 260184 2015-10-27 06:11 update-binary
-rw-r--r-- root root 1335532 2015-10-27 06:11 update-recovery.zip
drwxrwx--x wifi wifi 2015-10-27 06:15 wifi
drwxrwxr-x 9003 9003 2015-10-27 06:15 wmdrm
/pds/bp_nvm:
-rw-r--r-- root root 3604 2015-10-27 06:11 FILE_PDS5
-rw-r--r-- root root 1970 2015-10-27 06:11 FILE_PDS_SUBSIDY_LOCK_DBK_1
-rw-r--r-- root root 2406 2015-10-27 06:11 FILE_PDS_SUBSIDY_LOCK_DBK_2
-rw-r--r-- root root 3197 2015-10-28 04:21 File_PDS1
-rw-r--r-- root root 2276 2015-10-27 06:11 File_PDS2
-rw-r--r-- root root 4387 2015-10-28 04:21 File_PDS3
-rw-r--r-- root root 4032 2015-10-28 04:21 File_PDS4
-rw-r--r-- root root 2602 2015-10-27 06:11 File_PDS_IMEI
-rw-r--r-- root root 4482 2015-10-27 06:11 File_PDS_LTE1
-rw-r--r-- root root 6722 2015-10-27 06:11 File_PDS_LTE2
-rw-r--r-- root root 320 2015-10-28 04:21 File_PDS_SBCM
-rw-r--r-- root root 1330 2015-10-30 05:18 File_PDS_Subsidy_Lock
-rw-r--r-- root root 312 2015-10-27 06:11 NVM_Daemon_Log.txt
-rw-rw-rw- root radio 1512 2015-10-28 06:21 NVM_Daemon_MD5
-rw------- root root 32 2012-12-06 08:42 md5
/pds/comm_drv:
-rw-r--r-- root root 1 2015-10-27 06:11 cat_log_control.cfg
-rw-r--r-- root root 1 2015-10-27 06:11 cat_routing_path_control.cfg
-rw-rw-rw- root radio 2704 2015-10-28 06:26 mmins_settings.cfg
-rw-r--r-- root root 1 2015-10-27 06:11 ms_log_control.cfg
-rw-r--r-- root root 61 2015-10-27 06:11 opprof.txt
/pds/config:
-rw-r----- root root 0 1981-12-31 13:00 barcode
-rw-r----- root root 0 1981-12-31 13:00 baseband
-rw-r----- root root 0 2012-12-06 08:41 bootmode
-rw-r----- root root 1 1981-12-31 13:00 boslogcat
-rw-r----- root root 0 1981-12-31 13:00 carrier
-rw-r----- root root 0 1981-12-31 13:00 console
-rw-r----- root root 0 1981-12-31 13:00 display
-rw-r----- root root 0 1981-12-31 13:00 dtname
-rw-r----- root root 0 1981-12-31 13:00 fti
-rw-r----- root root 0 1981-12-31 13:00 hwrev
-rw-r----- root root 0 1981-12-31 13:00 model
-rw-r----- root root 0 1981-12-31 13:00 msn
/pds/factory:
-rw-r----- root root 128 2012-08-29 08:55 fti
/pds/lost+found:
/pds/opprof:
/pds/public:
drwxrwxr-x root root 1981-12-31 13:04 atvc
drwxr-x--- 9000 9000 2015-10-27 06:15 battd
-rw------- root root 5 2012-12-06 08:13 cur.locale
-rw-r--r-- root root 2 2012-08-29 07:58 tcxo.bin
/pds/public/atvc:
/pds/public/battd:
-rw-rw---- root root 10 2015-10-27 06:11 batt_offset_data
-rw-rw---- root root 12 2015-10-27 06:11 batt_phasing_data
-rw-rw---- root root 256 2015-10-27 06:11 batt_tuning_data
/pds/scim:
/pds/security:
-rw-r--r-- root 9007 4096 2015-10-27 06:11 counter.bin
-rw-r--r-- root 9007 5086 2015-10-27 06:11 janusDeviceCert.dat
-rw-rw-r-- root 9007 608 2012-09-24 17:14 keymaptable.dat
-rw-rw-r-- root 9007 110 1981-12-31 13:04 keyring.dat
-rw-r--r-- root 9007 22528 2015-10-27 06:11 system.bin
/pds/wifi:
-rw-r--r-- root root 468 2015-10-27 06:11 nvs_map.bin
-rw-rw---- root root 1113 2012-09-19 07:33 nvs_map_mac80211.bin
/pds/wmdrm:
-rw-r--r-- root root 32 2015-10-27 06:11 hashsdidmap.dat
Are some files missing?
Click to expand...
Click to collapse
This is what I have
Code:
# cd /pds
# ls -lR
.:
drwxrwx--- 2 radio radio 1024 Oct 30 09:09 bp_nvm
drwxrwx--- 2 radio radio 1024 Oct 30 08:35 comm_drv
drwxrwx--- 2 root root 1024 Sep 22 2010 lost+found
drwxrwx--- 2 radio shell 1024 Dec 26 2012 opprof
drwxrwxr-x 3 system shell 1024 Dec 31 1969 public
drwxrwx--- 2 root radio 1024 Dec 31 1969 scim
drwxrws--- 2 system system 1024 Nov 10 2010 security
drwxrwx--x 2 wifi wifi 1024 Dec 31 1969 wifi
drwxrwxr-x 2 9003 9003 1024 Jan 16 2011 wmdrm
./bp_nvm:
-rw-rw---- 1 radio radio 3604 Dec 31 1969 FILE_PDS5
-rw-rw---- 1 radio radio 1970 Dec 31 1969 FILE_PDS_SUBSIDY_LOCK_DBK_1
-rw-rw---- 1 radio radio 2406 Dec 31 1969 FILE_PDS_SUBSIDY_LOCK_DBK_2
-rw-rw---- 1 radio radio 3197 Oct 28 16:44 File_PDS1
-rw-rw---- 1 radio radio 2276 Dec 31 1969 File_PDS2
-rw-rw---- 1 radio radio 4387 Dec 25 2012 File_PDS3
-rw-rw---- 1 radio radio 4032 Dec 25 2012 File_PDS4
-rw-rw---- 1 radio radio 2602 Dec 31 1969 File_PDS_IMEI
-rw-rw---- 1 radio radio 4482 Dec 31 1969 File_PDS_LTE1
-rw-rw---- 1 radio radio 6722 Dec 31 1969 File_PDS_LTE2
-rw-rw---- 1 radio radio 320 Dec 25 2012 File_PDS_SBCM
-rw------- 1 radio radio 1330 Oct 30 11:09 File_PDS_Subsidy_Lock
-rw-rw-rw- 1 radio radio 1599 Dec 25 2012 NVM_Daemon_MD5
./comm_drv:
-rw-rw-rw- 1 root radio 1 Dec 31 1969 cat_log_control.cfg
-rw-rw-rw- 1 root radio 1 Dec 31 1969 cat_routing_path_control.cfg
-rw-rw-rw- 1 root radio 2990 Oct 30 08:35 mmins_settings.cfg
-rw-rw-rw- 1 root radio 1 Dec 31 1969 ms_log_control.cfg
-rw-rw-rw- 1 root radio 61 Oct 29 17:38 opprof.txt
./lost+found:
./opprof:
-rw-rw-r-- 1 root radio 15996 Oct 30 06:36 2G_CALL_DROP_2g_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_csd_t_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_csv_nt_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_psd_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 MMINS_cc_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 304 Oct 30 06:36 MMINS_count_file.bin
-rw-rw-r-- 1 root radio 228 Oct 30 06:36 MMINS_timer_file.bin
-rw-rw-r-- 1 root radio 588 Oct 30 06:36 RRC_MM_CM_count_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 STACK_PROFILING_stack_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 STACK_RECOVERY_engine_recovery_debug_info_generic_file.bin
-rw-rw-r-- 1 root radio 2016 Oct 30 06:36 opprof_error_log.bin
-rw-rw-r-- 1 root radio 208 Oct 30 06:36 opprof_info_file.bin
./public:
drwxr-x--- 2 9000 9000 1024 Dec 31 1969 battd
-rw-r--r-- 1 root radio 2 Dec 31 1969 tcxo.bin
./public/battd:
-rw-rw---- 1 9000 9000 10 Dec 31 1969 batt_offset_data
-rw-rw---- 1 9000 9000 12 Dec 31 1969 batt_phasing_data
-rw-rw---- 1 9000 9000 256 Dec 31 1969 batt_tuning_data
./scim:
./security:
-rw------- 1 root 9007 4096 Nov 10 2010 counter.bin
-rw-rw-r-- 1 9004 9007 5086 Nov 10 2010 janusDeviceCert.dat
-rw-rw-r-- 1 root 9007 333 Nov 10 2010 keymaptable.dat
-rw------- 1 root 9007 22528 Nov 10 2010 system.bin
./wifi:
-rw-rw-rw- 1 9004 9004 468 Dec 31 1969 nvs_map.bin
./wmdrm:
-rw-rw-rw- 1 app_46 9003 32 Sep 5 2012 hashsdidmap.dat
---------- Post added at 11:49 AM ---------- Previous post was at 11:33 AM ----------
There is some info about pds and IMEI here:
http://forum.xda-developers.com/moto-x-2014/help/wip-frequently-questions-moto-x-2014-t2876769
and here:
http://forum.xda-developers.com/showthread.php?p=52648789#post52648789
working solution from that last one is this... have you tried something like it?
3. working solution (at least for me):
Remove sim, flash stock firmware using standard methods, boot to home screen, power off, insert sim, reboot and your IMEI should be back!
Click to expand...
Click to collapse
craig_comstock said:
This is what I have
Code:
# cd /pds
# ls -lR
.:
drwxrwx--- 2 radio radio 1024 Oct 30 09:09 bp_nvm
drwxrwx--- 2 radio radio 1024 Oct 30 08:35 comm_drv
drwxrwx--- 2 root root 1024 Sep 22 2010 lost+found
drwxrwx--- 2 radio shell 1024 Dec 26 2012 opprof
drwxrwxr-x 3 system shell 1024 Dec 31 1969 public
drwxrwx--- 2 root radio 1024 Dec 31 1969 scim
drwxrws--- 2 system system 1024 Nov 10 2010 security
drwxrwx--x 2 wifi wifi 1024 Dec 31 1969 wifi
drwxrwxr-x 2 9003 9003 1024 Jan 16 2011 wmdrm
./bp_nvm:
-rw-rw---- 1 radio radio 3604 Dec 31 1969 FILE_PDS5
-rw-rw---- 1 radio radio 1970 Dec 31 1969 FILE_PDS_SUBSIDY_LOCK_DBK_1
-rw-rw---- 1 radio radio 2406 Dec 31 1969 FILE_PDS_SUBSIDY_LOCK_DBK_2
-rw-rw---- 1 radio radio 3197 Oct 28 16:44 File_PDS1
-rw-rw---- 1 radio radio 2276 Dec 31 1969 File_PDS2
-rw-rw---- 1 radio radio 4387 Dec 25 2012 File_PDS3
-rw-rw---- 1 radio radio 4032 Dec 25 2012 File_PDS4
-rw-rw---- 1 radio radio 2602 Dec 31 1969 File_PDS_IMEI
-rw-rw---- 1 radio radio 4482 Dec 31 1969 File_PDS_LTE1
-rw-rw---- 1 radio radio 6722 Dec 31 1969 File_PDS_LTE2
-rw-rw---- 1 radio radio 320 Dec 25 2012 File_PDS_SBCM
-rw------- 1 radio radio 1330 Oct 30 11:09 File_PDS_Subsidy_Lock
-rw-rw-rw- 1 radio radio 1599 Dec 25 2012 NVM_Daemon_MD5
./comm_drv:
-rw-rw-rw- 1 root radio 1 Dec 31 1969 cat_log_control.cfg
-rw-rw-rw- 1 root radio 1 Dec 31 1969 cat_routing_path_control.cfg
-rw-rw-rw- 1 root radio 2990 Oct 30 08:35 mmins_settings.cfg
-rw-rw-rw- 1 root radio 1 Dec 31 1969 ms_log_control.cfg
-rw-rw-rw- 1 root radio 61 Oct 29 17:38 opprof.txt
./lost+found:
./opprof:
-rw-rw-r-- 1 root radio 15996 Oct 30 06:36 2G_CALL_DROP_2g_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_csd_t_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_csv_nt_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 3G_CALL_DROP_3g_psd_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 MMINS_cc_call_drop_generic_file.bin
-rw-rw-r-- 1 root radio 304 Oct 30 06:36 MMINS_count_file.bin
-rw-rw-r-- 1 root radio 228 Oct 30 06:36 MMINS_timer_file.bin
-rw-rw-r-- 1 root radio 588 Oct 30 06:36 RRC_MM_CM_count_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 STACK_PROFILING_stack_generic_file.bin
-rw-rw-r-- 1 root radio 224 Oct 30 06:36 STACK_RECOVERY_engine_recovery_debug_info_generic_file.bin
-rw-rw-r-- 1 root radio 2016 Oct 30 06:36 opprof_error_log.bin
-rw-rw-r-- 1 root radio 208 Oct 30 06:36 opprof_info_file.bin
./public:
drwxr-x--- 2 9000 9000 1024 Dec 31 1969 battd
-rw-r--r-- 1 root radio 2 Dec 31 1969 tcxo.bin
./public/battd:
-rw-rw---- 1 9000 9000 10 Dec 31 1969 batt_offset_data
-rw-rw---- 1 9000 9000 12 Dec 31 1969 batt_phasing_data
-rw-rw---- 1 9000 9000 256 Dec 31 1969 batt_tuning_data
./scim:
./security:
-rw------- 1 root 9007 4096 Nov 10 2010 counter.bin
-rw-rw-r-- 1 9004 9007 5086 Nov 10 2010 janusDeviceCert.dat
-rw-rw-r-- 1 root 9007 333 Nov 10 2010 keymaptable.dat
-rw------- 1 root 9007 22528 Nov 10 2010 system.bin
./wifi:
-rw-rw-rw- 1 9004 9004 468 Dec 31 1969 nvs_map.bin
./wmdrm:
-rw-rw-rw- 1 app_46 9003 32 Sep 5 2012 hashsdidmap.dat
---------- Post added at 11:49 AM ---------- Previous post was at 11:33 AM ----------
There is some info about pds and IMEI here:
http://forum.xda-developers.com/moto-x-2014/help/wip-frequently-questions-moto-x-2014-t2876769
and here:
http://forum.xda-developers.com/showthread.php?p=52648789#post52648789
working solution from that last one is this... have you tried something like it?
Click to expand...
Click to collapse
I tried it but it didn't worked BTW I think that the problem may be the missing opprof folder....

What are these?

https://github.com/OnePlusOSS/OpenSourceReleases/wiki
Contained in the 6T 9.0.12 archive are
Code:
[[email protected] external]$ ls -alFrt
total 244
drwxr-xr-x 2 xstefen xstefen 4096 Feb 11 20:14 abi-dumper/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:14 abi-compliance-checker/
drwxr-xr-x 16 xstefen xstefen 4096 Feb 11 20:14 aac/
drwxr-xr-x 3 xstefen xstefen 4096 Feb 11 20:14 ant-glob/
drwxr-xr-x 21 xstefen xstefen 4096 Feb 11 20:14 autotest/
drwxr-xr-x 5 xstefen xstefen 4096 Feb 11 20:14 blktrace/
drwxr-xr-x 3 xstefen xstefen 4096 Feb 11 20:15 dnsmasq/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:15 dtc/
drwxr-xr-x 18 xstefen xstefen 4096 Feb 11 20:15 e2fsprogs/
drwxr-xr-x 14 xstefen xstefen 4096 Feb 11 20:15 eigen/
drwxr-xr-x 19 xstefen xstefen 4096 Feb 11 20:15 elfutils/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:15 error_prone/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:15 emma/
drwxr-xr-x 3 xstefen xstefen 4096 Feb 11 20:15 esd/
drwxr-xr-x 10 xstefen xstefen 4096 Feb 11 20:15 f2fs-tools/
drwxr-xr-x 16 xstefen xstefen 4096 Feb 11 20:15 fio/
drwxr-xr-x 2 xstefen xstefen 4096 Feb 11 20:15 fec/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:15 fonttools/
drwxr-xr-x 5 xstefen xstefen 4096 Feb 11 20:15 google-styleguide/
drwxr-xr-x 2 xstefen xstefen 4096 Feb 11 20:15 gptfdisk/
drwxr-xr-x 38 xstefen xstefen 4096 Feb 11 20:15 hyphenation-patterns/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:15 icu/
drwxr-xr-x 20 xstefen xstefen 4096 Feb 11 20:15 iproute2/
drwxr-xr-x 11 xstefen xstefen 4096 Feb 11 20:15 iptables/
drwxr-xr-x 24 xstefen xstefen 4096 Feb 11 20:15 jacoco/
drwxr-xr-x 5 xstefen xstefen 4096 Feb 11 20:15 javassist/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:15 jdiff/
drwxr-xr-x 3 xstefen xstefen 4096 Feb 11 20:15 junit/
drwxr-xr-x 10 xstefen xstefen 4096 Feb 11 20:15 kmod/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:15 kernel-headers/
drwxr-xr-x 5 xstefen xstefen 4096 Feb 11 20:15 kotlinc/
drwxr-xr-x 3 xstefen xstefen 4096 Feb 11 20:16 libcap-ng/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:16 libcups/
drwxr-xr-x 10 xstefen xstefen 4096 Feb 11 20:16 libexif/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:16 libmicrohttpd/
drwxr-xr-x 11 xstefen xstefen 4096 Feb 11 20:16 libnl/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:16 libnfnetlink/
drwxr-xr-x 9 xstefen xstefen 4096 Feb 11 20:16 libnetfilter_conntrack/
drwxr-xr-x 8 xstefen xstefen 4096 Feb 11 20:16 libmtp/
drwxr-xr-x 14 xstefen xstefen 4096 Feb 11 20:16 libusb/
drwxr-xr-x 13 xstefen xstefen 4096 Feb 11 20:16 libvncserver/
drwxr-xr-x 6 xstefen xstefen 4096 Feb 11 20:16 libusb-compat/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:16 linux-kselftest/
drwxr-xr-x 9 xstefen xstefen 4096 Feb 11 20:16 lz4/
drwxr-xr-x 15 xstefen xstefen 4096 Feb 11 20:16 ltp/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:16 mmc-utils/
drwxr-xr-x 5 xstefen xstefen 4096 Feb 11 20:16 netperf/
drwxr-xr-x 2 xstefen xstefen 4096 Feb 11 20:16 nfacct/
drwxr-xr-x 7 xstefen xstefen 4096 Feb 11 20:16 noto-fonts/
drwxr-xr-x 5 xstefen xstefen 4096 Feb 11 20:16 oj-libjdwp/
drwxr-xr-x 8 xstefen xstefen 4096 Feb 11 20:17 proguard/
drwxr-xr-x 17 xstefen xstefen 4096 Feb 11 20:17 selinux/
drwxr-xr-x 3 xstefen xstefen 4096 Feb 11 20:17 seccomp-tests/
drwxr-xr-x 6 xstefen xstefen 4096 Feb 11 20:17 squashfs-tools/
drwxr-xr-x 33 xstefen xstefen 4096 Feb 11 20:17 syslinux/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:17 unicode/
drwxr-xr-x 25 xstefen xstefen 4096 Feb 11 20:17 valgrind/
drwxr-xr-x 2 xstefen xstefen 4096 Feb 11 20:18 x264/
drwxr-xr-x 4 xstefen xstefen 4096 Feb 11 20:18 xmlrpcpp/
drwxr-xr-x 4 xstefen xstefen 4096 Mar 6 16:25 ../
drwxr-xr-x 61 xstefen xstefen 4096 Mar 6 16:25 ./
[[email protected] external]$ ls -alFrt abi-
abi-compliance-checker/ abi-dumper/
[[email protected] external]$ ls -alFrt abi-dumper/
total 248
-rw-r--r-- 1 xstefen xstefen 638 Feb 11 20:14 README.google
-rw-r--r-- 1 xstefen xstefen 1182 Feb 11 20:14 README
-rw-r--r-- 1 xstefen xstefen 22 Feb 11 20:14 OWNERS
-rw-r--r-- 1 xstefen xstefen 185 Feb 11 20:14 NOTICE
-rw-r--r-- 1 xstefen xstefen 0 Feb 11 20:14 MODULE_LICENSE_GPL
-rw-r--r-- 1 xstefen xstefen 6515 Feb 11 20:14 Makefile.pl
-rw-r--r-- 1 xstefen xstefen 146 Feb 11 20:14 Makefile
-rw-r--r-- 1 xstefen xstefen 185 Feb 11 20:14 LICENSE
-rw-r--r-- 1 xstefen xstefen 26530 Feb 11 20:14 LGPL-2.1
-rw-r--r-- 1 xstefen xstefen 1088 Feb 11 20:14 INSTALL
-rw-r--r-- 1 xstefen xstefen 18092 Feb 11 20:14 GPL-2.0
-rwxr-xr-x 1 xstefen xstefen 156223 Feb 11 20:14 abi-dumper.pl*
drwxr-xr-x 2 xstefen xstefen 4096 Feb 11 20:14 ./
drwxr-xr-x 61 xstefen xstefen 4096 Mar 6 16:25 ../
Yes, its source code. Yes its various packages. But in what way does this relate to our device and is it useful?

Samsung A205 FMP error

My samsung A205 fails to initialize FMP, the smatphone with the bootloader unlocked.
I tried various kernels like Rippler, Eureka and physwizz versions in TWRP.
And several Roms
I can always see the same error in dmesg:
Code:
[ 2560.206443] [2: mmc-cmdqd/0: 1799] exynos-fmp fmp: exynos_fmp_config: Fail to work fmp config due to fips in error.
[ 2560.206474] [2: mmc-cmdqd/0: 1799] mmc0: cmdq_prep_tran_desc: failed to configure crypto engine. ret(-1)
[ 2560.206485] [2: mmc-cmdqd/0: 1799] mmc0: cmdq_request: failed to setup tx desc: -1
[ 2560.206535] I[2: ksoftirqd/2: 22] mmc0: mmc_blk_cmdq_complete_rq: txfr error: -1
[ 2560.206630] [2: kworker/2:2: 3612]
[ 2560.206630] [2: kworker/2:2: 3612]
[ 2560.206630] [2: kworker/2:2: 3612] =============== CQ RECOVERY START ======================
[ 2560.206630] [2: kworker/2:2: 3612]
[ 2560.206784] [2: kworker/2:2: 3612] [CQ] mmc0: SW RESET: 250
[ 2560.206794] [2: kworker/2:2: 3612] ----- cnt_recovery: 2743
[ 2560.206803] [2: kworker/2:2: 3612] ----- cnt_recovery_halt_pass: 2743
[ 2560.206812] [2: kworker/2:2: 3612] ----- cnt_recovery_halt_fail: 0
[ 2560.207055] [2: kworker/2:2: 3612] [CQ] mmc0:----- REQUEUE: tag 0 sector 32770, nr 2, retries 1
[ 2560.207181] [2: kworker/2:2: 3612] [CQ] mmc0: Enable after SW RESET
[ 2560.207198] [2: kworker/2:2: 3612]
While a well-functioning team shows:
Code:
[ 2.047718] [7: swapper/0: 1] exynos-fmp fmp: Exynos FMP Version: 1.3.2
[ 2.048316] [7: swapper/0: 1] exynos-fmp fmp: Found partno 32 for FMP test
[ 2.053900] [7: swapper/0: 1] exynos-fmp fmp: FIPS: self-tests for FMP aes-xts passed
[ 2.058193] [7: swapper/0: 1] exynos-fmp fmp: FIPS: self-tests for FMP aes-cbc passed
[ 2.058212] [7: swapper/0: 1] exynos-fmp fmp: FIPS: self-tests for FMP sha256 passed
[ 2.058246] [6: kworker/u16:3: 251] [SENSOR] stk3x3x_prox_cal: read_value = 10, (0xc0)
[ 2.058263] [7: swapper/0: 1] exynos-fmp fmp: FIPS: self-tests for UFSFMP hmac(sha256) passed
[ 2.058269] [7: swapper/0: 1] exynos-fmp fmp: exynos_fmp_fips_init: self-tests for FMP passed
[ 2.058751] [7: swapper/0: 1] FIPS(do_fmp_integrity_check): Integrity Check Passed
[ 2.058758] [7: swapper/0: 1] exynos-fmp fmp: exynos_fmp_fips_init: integrity check for FMP passed
[ 2.058868] [7: swapper/0: 1] exynos-fmp fmp: exynos_fmp_probe: Exynos FMP driver is proved
Documentation about FMP and FIPS:
Document 2016
Document 2020
What could i try?
because of that mistake cannot access the flash memory properly so it cannot start a full android system just start in TWRP.
tried compiling a kernel with FIPS options disabled, and it works I can see the capabilities of all partitions by starting TWRP in read-only mode. when I do it in read write mode it works unstable and restarts.
Exploring in the kernel source code I could see
arch/arm64/boot/dts/exynos/dtbo/exynos7885.dts
Code:
fmp_0: fmp {
compatible = "samsung,exynos-fmp";
exynos,host-type = "mmc";
exynos-host = <&dwmmc_0>;
exynos,block-type = "mmcblk0p";
exynos,fips-block_offset = <5>;
Mount the partition mmcblk0p5 (CPEFS) and I found it to be of type ext4 and empty.
Could someone give me a copy of that partition or show me what files it originally has inside?
Upgrade:
I discovered that the partition mmcblk0p4 (SEC EFS) is corrupt.
In mmcblk0p5 (CPEFS) I have these two hidden files:
Code:
.nv_core.bak
.nv_core.bak.md5
In mmcblk0p4 (SEC EFS) I have:
Code:
Battery
FactoryApp
TEE
adp_token
afc
cpk
imei
lost+found
lpm
lpm_boot.log
nfc
nxp
pfw_data
prov
prov_data
recovery
sec_efs
ssm
tee
umc
wv.keys
./Battery:
batt_capacity_max
./FactoryApp:
Sensorinfo
asoc
batt_after_manufactured
batt_cable_count
batt_discharge_level
batt_temp_charge
cisd_data
cisd_wc_data
factorymode
fdata
gyro_cal_data
hist_nv
keystr
max_current
max_temp
rtc_status
test_nv
./FactoryApp/Sensorinfo:
Accelerometer
Barometer
Gyroscope
Light
Magnetometer
Proximity
./TEE:
./adp_token:
./afc:
./cpk:
./imei:
factory.prop
mps_code.dat
omcnw_code.dat
./lost+found:
#27
#28
#29
#30
#31
#32
#33
#35
#36
#39
#40
#41
#42
#43
#44
#45
#46
#48
#49
#50
#51
#52
#53
#54
#55
#56
#57
#58
#59
#60
#61
#62
#63
#64
#65
#66
#67
#72
#74
#75
#76
#81
#82
#92
#93
#94
#95
#98
./lost+found/#40:
./lpm:
./nfc:
./nxp:
./pfw_data:
./prov:
issued.log
libdevkm.lock
./prov_data:
./recovery:
extra_history
history
prev_tmp_recovery.log
./sec_efs:
!SVC
SVC
SettingsBackup.json
nfc
skpm_FACTORY_OCF_ECC_P256
skpm_OTA_WB_TA_Downloader_RSA_2048
skpm_sk.dat
skpm_supported_list
ucm_ca_cert
./sec_efs/nfc:
./sec_efs/ucm_ca_cert:
./ssm:
./tee:
./umc:
BulkEnrollmentProfile
From what I see in lost+found I know I have lost files.
Unfortunately e2fsck does not repair my partition. I made a copy using dd and tried to repair that image from my Salckware on my desktop pc but without success.
It would be great if someone published a complete backup of the partitions obviously without MAC, IMEI, Serial Number, and Bluethoo address.
Who can help me:
I need a copy of the sec_efs partition
To do this, I had to run:
Code:
dd if=/dev/block/mmcblk0p4 of=/external_sd/secefs.img bs=4096
or at least the listing
Code:
ls -R -l > /external_sd/secefs.lst
I've been looking for a backup on the web for days but I haven't been successful so far. If you see any dumps of that paticion on the web, the download link will do me good.
Thanks
Cant you just install stock firmware using odin
physwizz said:
Cant you just install stock firmware using odin
Click to expand...
Click to collapse
Hello,
do not
This phone came with an error in which when turning on it showed a blue screen where it said update, then it failed and it was on screen:
Code:
E:[libfs_mgr]
E:[PDP] lstat /c____/pdp_b__ : 0 - No PDP scenario
and entered the recovery stock. where it said it couldn't mount / cache
if I put wipe cache it threw other errors and it was not corrected.
If I chose to start from the system it would be in a loop.
Initially it was with BIT 1 I updated it to BIT 8 using odin but the error persisted, I continued with the loop but (from what I search the web nobody solved it)
After a week of testing with different roms. On February 4, immediately took advantage of activating oem and unlocking the bootloader. When rebooting it did not turn on again but I was able to finish unlocking the bootloader and install TWRP 3.5 from physwizz.
When entering TWRP it does not allow multidisabler-samsung-3.1.zip
giving me an error. I could not mount the vendor partition nor any other. What's more, everything accused 0 MB
Using TWRP 3.3 in combination with the Eureka kernel I am able to mount some partitions.
After that I started to read the system logs to explore dmesg and there I realized that what is wrong is the FMP system
Reading the source code of the linux kernel I see that this works using the partition mmcblk0p5 (CPEFS).
Regarding CPEFS, note that in the PIT file it does not declare which file should be written to that partition.
Checking the other partitions I discover broken SEC_EFS.
I made a backup of what I could using tar and another with dd
and I tried to repair it using e2fsck but it was badly damaged
format it with the same original parameters and restore the files you rescue from backups.
Currently if I install an original rom with odin I get the same scenario.
loop and if I started I recovered the error:
Code:
E:[PDP] lstat /c____/pdp_b__ : 0 - No PDP scenario
NOTE: Now I am looking for a merge file. I understand what the factory uses. but I only found up to BIT 7 and my phone is in BIT 8.
Thank you
Excuse my english
sercari said:
Hello,
do not
This phone came with an error in which when turning on it showed a blue screen where it said update, then it failed and it showed on the screen:
Code:
E:[libfs_mgr]
E:[PDP] lstat /c____/pdp_b__ : 0 - No PDP scenario
and entered the recovery stock. where it said it couldn't mount / cache
if I put wipe cache it threw other errors and it was not corrected.
If I chose to start from the system it would be in a loop.
Initially it was with BIT 1 I updated it to BIT 8 using odin but the error persisted, I continued with the loop but (from what I search the web nobody solved it)
After a week of trying different roms. on february 4 it turned on immediately take advantage of activating oem and unlocking the bootloader. When rebooting it did not turn on again but I was able to finish unlocking the bootloader and install TWRP 3.5 from physwizz.
When entering TWRP it does not allow multidisabler-samsung-3.1.zip
giving me an error. I could not mount the vendor partition nor any other. What's more, everything accused 0 MB
Using TWRP 3.3 in combination with the Eureka kernel I managed to mount some partitions.
After that I started reading the system logs to explore dmesg and there I realized that what is wrong is the FMP system
Reading the source code of the linux kernel I see that this works using the partition mmcblk0p5 (CPEFS).
Regarding CPEFS, note that in the PIT file it does not declare which file should be written to that partition.
checking the other partitions I discover broken SEC_EFS.
I made a backup of what I pure using tar and another with dd
and I tried to repair it using e2fsck but it was badly damaged
Format it with the same original parameters and restore the files you rescue from the backups.
Currently if I install an original rom with odin I get the same scenario.
loop and if I started I recovered the error:
Code:
E:[PDP] lstat /c____/pdp_b__ : 0 - No PDP scenario
NOTE: Now I am looking for a merge file. I understand what the factory uses. but I only found up to BIT 7 and my phone is in BIT 8.
Thank you
Excuse my english
Click to expand...
Click to collapse
Go here
Crash Recovery for the Samsung Galaxy A20
Crash Recovery for the Samsung Galaxy A20 1. Be Prepared Most of us will suffer from a crash at some time. If you know how to fix it, you will have a lot less stress. There are certain files you need to keep in readiness. Always backup boot...
forum.xda-developers.com
physwizz said:
Go here
Crash Recovery for the Samsung Galaxy A20
Crash Recovery for the Samsung Galaxy A20 1. Be Prepared Most of us will suffer from a crash at some time. If you know how to fix it, you will have a lot less stress. There are certain files you need to keep in readiness. Always backup boot...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you, this guide is very good, unfortunately it does not solve my case. Disable_Dm-Verity_ForceEncrypt didn't work either.
The problem of my phone is with FMP = Flash Memory Protector
It fails to start FIPS because a file is probably missing or corrupt. I think that what would help me would be to see the list of files of those partitions to know their name and weight.
It would help me if you can create a text file on your external memory card and paste this content inside:
Code:
mkdir /secefs
mount /dev/block/mmcblk0p4 /secefs -o ro
cd /secefs
ls -a -R -l > /external_sd/secefs.lst
mkdir /efs
mount /dev/block/mmcblk0p3 /efs -o ro
cd /efs
ls -a -R -l > /external_sd/efs.lst
mkdir /cpefs
mount /dev/block/mmcblk0p5 /cpefs -o ro
cd /cpefs
ls -a -R -l > /external_sd/cpefs.lst
Or with this other you can make a backup:
Code:
dd if=/dev/block/mmcblk0p4 of=/external_sd/secefs.img
dd if=/dev/block/mmcblk0p3 of=/external_sd/efs.img
dd if=/dev/block/mmcblk0p5 of=/external_sd/cpefs.img
(suppose the file is called mkbl.txt)
finally run it from the TWRP terminal:
Code:
/external_sd/mkbl.txt
with that I would generate files in /external_sd/
NOTE: If you generate backup files, keep in mind that they contain IMEIs and addresses that are private to you. You could make a copy of the .img file, mount it from linux in a folder and edit the files that contain personal information. Or you can trust me and I can erase that personal information to make the files public.
On the other hand, in the case of the lists with ls, it does not include any personal information, only file names and weights
sercari said:
In mmcblk0p5 (CPEFS) I have these two hidden files:
Code:
.nv_core.bak
.nv_core.bak.md5
Click to expand...
Click to collapse
Confirmed cpefs that is mounted in / vendor / cpefs contains only these two files normally.
Code:
-rwx------ 1 radio radio 546304 feb 4 20:51 .nv_core.bak
-rwx------ 1 radio radio 32 feb 4 20:51 .nv_core.bak.md5
drwx------ 2 radio radio 4096 ene 1 2019 lost+found
I would only need to find out the content of the partition /dev/mccblk0p4 (sec_efs) which I think is not mounted anywhere when the system is running. for which it is necessary to mount it to be able to list its content. I wait if someone can help me.
Thanks to TBM13 from the telegram @Galaxy_A20_official group who shared with me the list of files and directories on their sec_efs partition.
Thanks to TOP who shared the list of files on his cpefs partition. Thanks to this I can continue investigating.
mmcblk0p4 (sec_efs):
Code:
.:
total 180
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 .
drwxr-xr-x 30 root root 0 2021-02-24 17:24 ..
drwxrwxr-x 2 radio system 4096 2019-01-01 12:00 Battery
drwxrwxr-x 3 system system 4096 2019-08-31 03:09 FactoryApp
drwxrwx--- 2 radio system 4096 2019-01-01 12:00 TEE
drwxr--r-- 2 system system 4096 2019-01-01 12:00 adp_token
drwx------ 2 system system 4096 2019-01-01 12:00 afc
drwxrwx--x 2 radio system 4096 2019-06-29 17:29 cpk
drwxrwxr-x 2 root radio 4096 2020-04-29 04:04 imei
drwx------ 2 root root 16384 2008-12-31 15:00 lost+found
drwxrwxr-x 2 system system 4096 2020-12-15 23:19 lpm
-rw-rw---- 1 root system 256 2020-12-15 23:19 lpm_boot.log
drwx------ 2 nfc nfc 4096 2019-01-01 12:00 nfc
drwxrwx--- 2 system audio 4096 2019-01-01 12:00 nxp
drwxrw---- 2 oem_5279 oem_5279 4096 2019-01-01 12:00 pfw_data
drwxrwx--- 2 system system 4096 2019-06-29 17:22 prov
drwxrwx--- 2 radio system 4096 2019-01-01 12:00 prov_data
drwxrwx--x 2 radio system 4096 2020-12-15 23:25 recovery
drwxrwxr-x 4 radio system 4096 2020-12-15 23:32 sec_efs
drwxrwx--- 2 system system 4096 2019-01-01 12:00 ssm
drwx------ 2 system system 4096 2019-01-01 12:00 tee
drwx------ 2 system system 4096 2019-08-31 01:46 umc
-rw-r--r-- 1 system system 168 2019-06-29 17:22 wv.keys
./Battery:
total 20
drwxrwxr-x 2 radio system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw-rw---- 1 system system 4 2021-02-21 02:58 batt_capacity_max
./FactoryApp:
total 132
drwxrwxr-x 3 system system 4096 2019-08-31 03:09 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw------- 1 system system 28 2019-06-29 08:37 HwParamBattQR
-rw------- 1 system system 4876 2019-06-29 17:22 HwParamData
-rw------- 1 system system 824 2019-06-29 17:22 HwPartInform
drwx------ 2 system system 4096 2019-01-01 12:00 Sensorinfo
-rw-r----- 1 system log 3 2019-01-01 12:00 asoc
-rwxr--r-- 1 system system 1 2019-01-01 12:00 baro_delta
-rw-r----- 1 system system 2 2020-12-15 22:43 batt_after_manufactured
-rw------- 1 system system 4 2021-02-23 14:39 batt_cable_count
-rw-r----- 1 system system 6 2020-12-15 22:57 batt_discharge_level
-rw------- 1 system system 62 2021-02-24 17:10 batt_temp_charge
-rw------- 1 system system 1 2019-01-01 12:00 cable_detect_count_octa
-rw-rw---- 1 system system 195 2021-02-23 15:31 cisd_data
-rw-rw---- 1 system system 20 2019-01-01 12:00 cisd_wc_data
-rwxr--r-- 1 system system 13 2019-01-01 12:00 control_no
-rw------- 1 system system 2 2020-11-28 14:37 earjack_count
-rwxr--r-- 1 system system 2 2019-06-29 17:22 factorymode
-rwxrwxr-x 1 system radio 4 2019-01-01 12:00 fdata
-rw------- 1 system system 30 2021-02-24 13:06 gyro_cal_data
-rwxrwxr-x 1 system radio 0 2018-12-31 17:00 hist_nv
-rwxr--r-- 1 system system 2 2019-06-29 17:22 keystr
-rw------- 1 system system 5 2019-10-12 21:38 max_current
-rw------- 1 system system 4 2020-01-19 20:53 max_temp
-rwxr--r-- 1 system system 5 2019-06-29 17:29 mdnie
-rw------- 1 system system 1 2019-06-29 17:29 mdnie_ver
-rwxr--r-- 1 system system 5 2019-01-01 12:00 prepay
-rw------- 1 system system 1 2019-06-29 17:22 rtc_status
-rwxr--r-- 1 system system 11 2019-06-29 17:22 serial_no
-rwxrwxr-x 1 system radio 2000 2018-12-31 17:00 test_nv
./FactoryApp/Sensorinfo:
total 40
drwx------ 2 system system 4096 2019-01-01 12:00 .
drwxrwxr-x 3 system system 4096 2019-08-31 03:09 ..
-rw------- 1 system system 21 2019-01-01 12:00 Accelerometer
-rw------- 1 system system 4 2019-01-01 12:00 Barometer
-rw------- 1 system system 17 2019-01-01 12:00 Gyroscope
-rw------- 1 system system 4 2019-01-01 12:00 Light
-rw------- 1 system system 19 2019-01-01 12:00 Magnetometer
-rw------- 1 system system 31 2019-01-01 12:00 Proximity
./TEE:
total 16
drwxrwx--- 2 radio system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./adp_token:
total 16
drwxr--r-- 2 system system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./afc:
total 16
drwx------ 2 system system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./cpk:
total 20
drwxrwx--x 2 radio system 4096 2019-06-29 17:29 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw-r--r-- 1 radio radio 920 2019-06-29 17:29 h2k.dat
./imei:
total 40
drwxrwxr-x 2 root radio 4096 2020-04-29 04:04 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw------- 1 root root 96 2021-02-21 03:41 factory.prop
-rwxrwxr-x 1 radio system 3 2020-12-15 23:26 mps_code.dat
-rw-rw-r-- 1 radio root 3 2020-12-15 23:26 omcnw_code.dat
-rw-rw-r-- 1 radio root 3 2020-12-15 23:26 omcnw_code2.dat
-rwxrwxr-x 1 system radio 14 2019-06-29 17:22 prodcode.dat
-rw-rw-r-- 1 system system 4 2019-12-29 20:07 total_call_time
./lost+found:
total 28
drwx------ 2 root root 16384 2008-12-31 15:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./lpm:
total 20
drwxrwxr-x 2 system system 4096 2020-12-15 23:19 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw-rw---- 1 root system 85 2020-12-15 23:19 lpm_info.log
./nfc:
total 16
drwx------ 2 nfc nfc 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./nxp:
total 16
drwxrwx--- 2 system audio 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./pfw_data:
total 16
drwxrw---- 2 oem_5279 oem_5279 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./prov:
total 20
drwxrwx--- 2 system system 4096 2019-06-29 17:22 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw----r-- 1 system system 559 2019-09-01 00:28 issued.log
-rw-rw---- 1 system system 0 2019-01-01 12:00 libdevkm.lock
./prov_data:
total 16
drwxrwx--- 2 radio system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./recovery:
total 24
drwxrwx--x 2 radio system 4096 2020-12-15 23:25 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw------- 1 root root 257 2020-12-15 23:25 extra_history
-rw------- 1 root root 2529 2020-12-15 23:25 history
./sec_efs:
total 76
-rw------- 1 system system 569 2020-12-15 23:12 !SVC
drwxrwxr-x 4 radio system 4096 2020-12-15 23:32 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rwx------ 1 root radio 0 2019-06-29 17:07 .ffw
-rw------- 1 system system 569 2020-12-15 23:12 SVC
-rw------- 1 system system 6655 2020-12-15 23:32 SettingsBackup.json
drwx------ 2 nfc nfc 4096 2019-01-01 12:00 nfc
-rw------- 1 system system 1517 2019-06-29 17:22 skpm_FACTORY_OCF_ECC_P256
-rw------- 1 system system 983 2019-09-01 00:29 skpm_OTA_WB_FIDO_Bound_FP_ECC_P256
-rw------- 1 system system 4104 2019-08-31 02:43 skpm_OTA_WB_TA_Downloader_RSA_2048
-rw------- 1 system system 3941 2019-08-31 02:43 skpm_sk.dat
-rw------- 1 system system 4711 2019-09-01 00:29 skpm_supported_list
drwx------ 2 system system 4096 2019-01-01 12:00 ucm_ca_cert
./sec_efs/nfc:
total 16
drwx------ 2 nfc nfc 4096 2019-01-01 12:00 .
drwxrwxr-x 4 radio system 4096 2020-12-15 23:32 ..
./sec_efs/ucm_ca_cert:
total 16
drwx------ 2 system system 4096 2019-01-01 12:00 .
drwxrwxr-x 4 radio system 4096 2020-12-15 23:32 ..
./ssm:
total 16
drwxrwx--- 2 system system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./tee:
total 16
drwx------ 2 system system 4096 2019-01-01 12:00 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
./umc:
total 20
drwx------ 2 system system 4096 2019-08-31 01:46 .
drwxrwx--x 21 system radio 4096 2019-08-31 01:46 ..
-rw------- 1 system system 1 2019-08-31 01:46 BulkEnrollmentProfile
Observing the list compare weight, permissions, owner and group of each file in /lost+found and I was able to deduce which file was and give it the corresponding location and name.
The only file I am missing is: /sec_efs/skpm_OTA_WB_FIDO_Bound_FP_ECC_P256
Someone has any idea about this file, apparently it is a key but I don't know if the phone should generate it automatically or how to get it.
I add that you do not know that the skpm_sk.dat file is blank. if I have it with a hex editor it is full of zeros
Thanks
Finally and mysteriously I boot into twrp allowing me to see all the partitions. (Only TWRP with full memory access would not start the system) Take advantage and I made a copy from partition 1 to 25 to and 31. Unfortunately I discovered that I have the partitions boot0, boot1, boot3, m9kefs, m9kefs2, m9kefs3, nad_fw, nad_refer blank.
UPDATE:
1- Get a copy of m9kefs1, 2 and 3 and I have them ok.

Categories

Resources