J7 Prime (G610F) TWRP Micro SDcard 0MB problem - Samsung Galaxy J7 Prime / J7 On NXT (Exynos7870)

Hi,
My J7 Prime G610F (Android 6.0.1) has a "Micro SDcard: 0MB" problem in TWRP (3.2.2). It's working fine in normal system but not in recovery.
My device is rooted, no-verity-opt.....6.0zip loaded. I checked the "last_log"
xxxxxxxxxxx
278. /external_sd | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: can_be_mounted can_be_wiped wipe_available_in_GUI Removable Is_Storage
primary_block_device: /dev/block/mmcblk1p1
Alternate_block_device: /dev/block/mmcblk1
display_name: Micro SDcard
storage_name: Micro SDcard
backup_path: /external_sd
backup_name: /external_sd
Backup_Display_Name: Micro SDcard
storage_path: /external_sd
Current_File_System: vfat
Fstab_file_System: vfat
Backup_Method: files
291. MTP_Storage_ID: 65538
xxxxxxxxxxx
Why TWRP think the SD Card is 0MB? In fact I don't think the problem is TWRP. Stock Recovery wasn't reach SD Card also.
note: My PC runing on XP Home Edition. The device system was Android 8.0 but downgraded to 7.0 and next 6.0.1.
Formatting the SD card to another format and back to fat32 didn't help.
Diskpart clean and format trick didn't help.
Please help. I'm tired.

Dude, If you had carefully checked the xda thread for G610x TWRP, you'd have known that this is a bug actually.
It's written as, Bug: Cannot mount External SD Card in TWRP.
So Use your internal storage to flash zips, files or the better option use OTG.

Thank you friend. I know that. But It was written that this was a bug of TWRP. At least in my case, maybe it's different. Because my phone cannot connect to SD card even without TWRP. The stock recovery giving "E:failed to mount /sdcard (No such file or directory)". This is not a TWRP bug. Isn't it?

SenTiKo said:
Thank you friend. I know that. But It was written that this was a bug of TWRP. At least in my case, maybe it's different. Because my phone cannot connect to SD card even without TWRP. The stock recovery giving "E:failed to mount /sdcard (No such file or directory)". This is not a TWRP bug. Isn't it?
Click to expand...
Click to collapse
I don't know about stock recovery but in G610f, all custom recoveries be it Orange fox , SHRP ,TWRP, etc has a SDCard bug.

Related

[Q][I9305T] 10.2 Upgrade Boot never stops/Unable to format /Data

When I tried updating from CyanogenMod Official Nightly 10.1 (13/8/13) to 10.2 (14/8/13) I did a full wipe trying to negate any of the problems some people were having upgrading from 10.1.
Unfortunately this didn't work. I ended up with the CyanogenMod 10.2 Boot Screen, but it didn't go any further. So I did another full wipe and tried just the normal upgrade from 10.1. Same thing happened there to though so I booted back into 10.1 and found out my baseband was unknown. Luckily I had a backup.
So I opened QPST and did the steps to Restore but it kept coming up with no phone. Realizing I forgot to flash Stock Rom I did so and it still didn't work so looking up on the forums I found people who flashed Perseus Kernel were able to get IMEI back.
This worked so I did another full wipe and flashed 10.2 again. Same thing as before, stuck on boot. So I flashed TWRP 2.6.0.0 with odin and tried another full wipe. All looked good so I tried manual wipe and it looked good to and then copied log to sdcard.
I then went to mount so I could copy my log to my computer to read, I'm not sure if I have the right drivers (SAMSUNG USB Driver for Mobile Phones) and it didn't appear in "My Computer". I checked device manager and it came up with SAMSUNG Android ADB Interface.
I couldn't find the drivers to let it open or either Recovery wasn't mounting it properly. So I booted to Download Mode and flashed Philsz Touch Recovery 5.08.5 i9305 because I knew it mounted my sdcard and installing another ROM would take to long for just a log.
I Mounted USB Storage, my log wasn't there so I opened Aroma File Manager and opened /data/media where its usually stored. Nope not there either and this was beginning to get even more frustrating.
So after a little brake I came back and used Odin to flash:
I9305TDVBME2_I9305TTELBME1_I9305TDVBME1_HOME.tar
No log so going back to my backups folder on my computer I searched the logs and found this:
Code:
Starting TWRP 2.6.0.0 on Thu Aug 15 03:20:36 2013
BOARD_HAS_NO_REAL_SDCARD := true
I:Internal path defined: '/data/media'
I:External path defined: '/external_sd'
I:Mount: Unable to find partition for path '/data'
SP1_NAME := efs
TW_NO_REBOOT_BOOTLOADER := true
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
Starting the UI...Pixel format: 720x1280 @ 32bpp
Pixel format: BGR_565
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
=> Processing recovery.fstab
I:Processing '/efs'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/modem'
I:Processing '/cache'
I:Processing '/system'
I:Processing '/data'
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/42f7a60d16cc8f35'
I:Settings storage is '/data/media/0'
I:Processing '/preload'
I:Processing '/external_sd'
I:Created '/external_sd' folder.
Updating partition details...
I:Data backup size is 194MB, size: 11303MB, used: 655MB, free: 10491MB, in data/media: 460MB.
I:Unmounting main partitions...
Partition Logs:
/efs | /dev/block/mmcblk0p3 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: EFS
Storage_Name: EFS
Backup_Path: /efs
Backup_Name: efs
Backup_Display_Name: EFS
Storage_Path: /efs
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/boot | /dev/block/mmcblk0p8 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p9 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/modem | /dev/block/mmcblk0p10 | Size: 88MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: modem
Storage_Name: modem
Backup_Path: /modem
Backup_Name: modem
Backup_Display_Name: modem
Storage_Path: /modem
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/cache | /dev/block/mmcblk0p12 | Size: 1007MB Used: 17MB Free: 990MB Backup Size: 17MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system | /dev/block/mmcblk0p13 | Size: 1511MB Used: 1074MB Free: 437MB Backup Size: 1074MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/data | /dev/block/mmcblk0p16 | Size: 11303MB Used: 655MB Free: 10491MB Backup Size: 194MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p16
Length: -32768
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: auto
Backup_Method: files
/preload | /dev/block/mmcblk0p14 | Size: 551MB Used: 460MB Free: 90MB Backup Size: 460MB
Flags: Can_Be_Mounted Can_Be_Wiped IsPresent
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: preload
Storage_Name: preload
Backup_Path: /preload
Backup_Name: preload
Backup_Display_Name: preload
Storage_Path: /preload
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/external_sd | /dev/block/mmcblk1p1 | Size: 6945MB Used: 1967MB Free: 4977MB Backup Size: 1967MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: Micro SDcard
Storage_Name: Micro SDcard
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Micro SDcard
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/42f7a60d16cc8f35'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Loading page fixsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76L
ro.build.display.id=cm_i9305T-eng 4.0.4 IMM76L eng.dees_troy.20130708.153027 test-keys
ro.build.version.incremental=eng.dees_troy.20130708.153027
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Mon Jul 8 15:30:38 UTC 2013
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=dees_troy
ro.build.host=ded1.ktechnology.net
ro.build.tags=test-keys
ro.product.model=GT-I9305T
ro.product.brand=samsung
ro.product.name=m3dv
ro.product.device=m3
ro.product.board=smdk4x12
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=exynos4
ro.build.product=m3
ro.build.description=m3dv-user 4.1.2 JZO54K I9305XXBMA6 release-keys
ro.build.fingerprint=samsung/m3dv/m3:4.1.2/JZO54K/I9305XXBMA6:user/release-keys
ro.build.characteristics=default
ro.cm.device=i9305T
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=9.0.0-RC0-i9305T-UNOFFICIAL
ro.modversion=9.0.0-RC0-i9305T-UNOFFICIAL
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=42f7a60d16cc8f35
ro.bootmode=unknown
ro.baseband=mdm
ro.carrier=unknown
ro.bootloader=I9305TDVBME2
ro.hardware=smdk4x12
ro.revision=2
ro.emmc=0
init.svc.recovery=running
init.svc.adbd=restarting
adb.recovery=1
service.adb.root=1
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Settings file '/data/media/0/TWRP/.twrps' not found.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Switching packages (TWRP)
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'wipe'
I:Set page: 'action_page'
Formatting Cache using make_ext4fs...
I:make_ext4fs command: make_ext4fs /dev/block/mmcblk0p12
I:Creating filesystem with parameters:
Size: 1073741824
Block size: 4096
Blocks per group: 32768
Inodes per grou
I:: 8192
Inode size: 256
Journal blocks: 4096
Label:
Blocks: 262144
Block groups: 8
Reserved block grou
I: size: 63
Created filesystem with 11/65536 inodes and 8536/262144 blocks
Done.
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
Wiping data without wiping /data/media ...
I:Unable to unlink '/data/.psm.info'
I:Unable to unlink '/data/.socket_stream'
I:Unable to unlink '/data/.pcsync_stream'
I:Unable to unlink '/data/.npswifi_stream'
I:Unable to unlink '/data/.cid.info'
I:Unable to unlink '/data/.rev'
I:Unable to unlink '/data/TMAudioSocketServer'
I:Unable to unlink '/data/TMAudioSocketClient'
I:Unable to unlink '/data/hidden_volume.txt'
Done.
Updating partition details...
I:Data backup size is 0MB, size: 11303MB, used: 460MB, free: 10685MB, in data/media: 460MB.
I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'wipe'
I:Set page: 'formatdata'
I:Set page: 'formatdata_confirm'
I:Set page: 'action_page'
E:Unable to wipe '/data' -- unknown file system 'auto'
E:Unable to format to remove encryption.
Updating partition details...
I:Data backup size is 0MB, size: 11303MB, used: 460MB, free: 10685MB, in data/media: 460MB.
I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'formatdata'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Smaller Log:
Code:
E:Cannot load volume /misc!
E:Cannot load volume /misc!
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
Wiping data without wiping /data/media ...
I:Unable to unlink '/data/.psm.info'
I:Unable to unlink '/data/.socket_stream'
I:Unable to unlink '/data/.pcsync_stream'
I:Unable to unlink '/data/.npswifi_stream'
I:Unable to unlink '/data/.cid.info'
I:Unable to unlink '/data/.rev'
I:Unable to unlink '/data/TMAudioSocketServer'
I:Unable to unlink '/data/TMAudioSocketClient'
I:Unable to unlink '/data/hidden_volume.txt'
Done.
E:Unable to wipe '/data' -- unknown file system 'auto'
E:Unable to format to remove encryption.
It looks like the /data partition is encrypted. I once tried it, but found it to annoying and got rid of it so I'm unsure why it won't format. I'm leaning towards Re-Partitioning in Odin but I don't have a PIT file for the Australian i9305t Telstra version and I'm unsure if it even needs to be that specific.
Links and some help would be appreciated.
I kept trying to to fix this issue today and came up with another logcat.
View attachment logcat_recovery.zip
Seems the encryption is still there and won't let me format or flash anything properly and would explain my problems in 10.1. All was I was doing was dirty flashing when I updated.
If anyone knows of a way to remove encryption on i9305(t) it would help.
I'm going to have a look through Google search and see if there's a way to fix this issue.
So after some looking around I found a way to format /data using this:
(You need to be in the Recovery)
Code:
adb shell
umount -l /data
Then leave Mount/Storage and go back in it was unmounted and I was able to format it and it took a while so it obviously did something.
But my Baseband is still gone and using QPST to recover IMEI using Software Download keeps coming up with no phone. The only way I can get it back is to go back to Stock and install the Perseus Kernel again.
I'm going to try flashing 10.2 after a backup and see if it still boot loops.
Pheoxy said:
But my Baseband is still gone and using QPST to recover IMEI using Software Download keeps coming up with no phone. The only way I can get it back is to go back to Stock and install the Perseus Kernel again.
I'm going to try flashing 10.2 after a backup and see if it still boot loops.
Click to expand...
Click to collapse
Confirmed 10.2 gives me an endless boot again.
Had another go today and used Odin to flash TWRP 2.6.0.0 again. Went format /Data, typed in yes to the prompt and failed with something like this
Code:
unable to wipe data -- unknown file system
unable to format to remove encryption
Advice would be appreciated and if anyone knows how I could go about it better or has any suggestions, they would be appreciated.
OK, found the problem. Turns out my /data partition somehow became corrupted or it really is somehow stuck in encrypted. But then if it was still encrypted I should be able to format it.
Anyone know how to completely erase the phone and re partition it and then be able to re install stock?
same problem
Pheoxy said:
OK, found the problem. Turns out my /data partition somehow became corrupted or it really is somehow stuck in encrypted. But then if it was still encrypted I should be able to format it.
Anyone know how to completely erase the phone and re partition it and then be able to re install stock?
Click to expand...
Click to collapse
Have you had any luck with it?? I am pretty much facing the same problem... thing is I can't even access recovery...
Sanchini said:
Have you had any luck with it?? I am pretty much facing the same problem... thing is I can't even access recovery...
Click to expand...
Click to collapse
Sorry about the late reply.
But yes, I haven't been able to fix it and I'm stuck with stock and Perseus Kernel to keep it working.
solved encryption block
Pheoxy said:
Sorry about the late reply.
But yes, I haven't been able to fix it and I'm stuck with stock and Perseus Kernel to keep it working.
Click to expand...
Click to collapse
Hello!
I have just been able to fix my phone which was stuck in encryption and it would not accept the password. I also had problems accessing recovery.
I have posted the whole story here: http://forum.xda-developers.com/showthread.php?t=2482143
In a nutshell:
1. Flashed stock ROM (got it in SamMobile)
2.Odin flashed Philz recovery (http://forum.xda-developers.com/showthread.php?t=2002953)
3. went to Mounts and Storage -> format /data and /data media
4. did wipe data/factory
5. re-flashed stock ROM
6. it still asked for password on boot but now from Stock recovery wipe data/factory and cache
7. Re-boot and encryption was gone with a perfectly working phone
The fundamental step here was number 3 with Philz recovery because after that it could finally mount /data and access internal memory.
good luck and let me know if you need details on any of the steps.
I'll give it a try, but I might have to wait. Waiting for prospective jobs to ring back so I need the phone working most of the day.
Sent from my GT-I9305T using Tapatalk
Sanchini said:
Hello!
I have just been able to fix my phone which was stuck in encryption and it would not accept the password. I also had problems accessing recovery.
I have posted the whole story here: http://forum.xda-developers.com/showthread.php?t=2482143
In a nutshell:
1. Flashed stock ROM (got it in SamMobile)
2.Odin flashed Philz recovery (http://forum.xda-developers.com/showthread.php?t=2002953)
3. went to Mounts and Storage -> format /data and /data media
4. did wipe data/factory
5. re-flashed stock ROM
6. it still asked for password on boot but now from Stock recovery wipe data/factory and cache
7. Re-boot and encryption was gone with a perfectly working phone
The fundamental step here was number 3 with Philz recovery because after that it could finally mount /data and access internal memory.
good luck and let me know if you need details on any of the steps.
Click to expand...
Click to collapse
Sorry about the lateness but this didn't work for me, this is more of a IMEI problem, I'll post more logs next.
Pheoxy said:
Sorry about the lateness but this didn't work for me, this is more of a IMEI problem, I'll post more logs next.
Click to expand...
Click to collapse
IF u find a solution pls help i am in pretty much the same situation.
---------- Post added at 06:47 PM ---------- Previous post was at 06:34 PM ----------
AMoizK said:
IF u find a solution pls help i am in pretty much the same situation.
Click to expand...
Click to collapse
This is how I got into this mess
http://forum.xda-developers.com/showthread.php?t=2572432
Also if u are not afraid of losing data the try kies emergency frimware restore method
1 go to frimware and intillition in tools
2 enter model no the S/N no it written on phones back
3 reboot into download mode and connect and follow instructions
This will work if u are at 4.1.2 but if u have upgraded and are stuck at knox bootloader then kies wont flash
Also it will delete all data and upgrade your phone to the latest version available
Also if u are not afraid of losing data the try kies emergency frimware restore method
1 go to frimware and intillition in tools
2 enter model no the S/N no it written on phones back
3 reboot into download mode and connect and follow instructions
This will work if u are at 4.1.2 but if u have upgraded and are stuck at knox bootloader then kies wont flash
Also it will delete all data and upgrade your phone to the latest version available
Click to expand...
Click to collapse
For starters I use titanium backup and backup the ROM for extra insurance.
Secondly I installed http://forum.xda-developers.com/showthread.php?t=2501393 V2 of this because its the latest Samsung based Rom (4.3 but Not AOSP Cyangenmod), I've had few problems since and why not?
However I've only had it running 2 days but its already brought back my phone.
Through research this is apparently relayed to the eMMC dying.
So this may be a hard ware issue as well.
Try the ROM though, make sure you backup BEFORE you do and tell me if it helped.
PS
Also I've yet to check Bluetooth, so that might not work and it doesn't fix the problem were having. Its more like a bandaid, it works well though. I was able to get my mobile network connected and its way faster than 4.1.2 which I suffered a lot of lag due to the error were facing.
Pheoxy said:
For starters I use titanium backup and backup the ROM for extra insurance.
Secondly I installed http://forum.xda-developers.com/showthread.php?t=2501393 V2 of this because its the latest Samsung based Rom (4.3 but Not AOSP Cyangenmod), I've had few problems since and why not?
However I've only had it running 2 days but its already brought back my phone.
Through research this is apparently relayed to the eMMC dying.
So this may be a hard ware issue as well.
Try the ROM though, make sure you backup BEFORE you do and tell me if it helped.
PS
Also I've yet to check Bluetooth, so that might not work and it doesn't fix the problem were having. Its more like a bandaid, it works well though. I was able to get my mobile network connected and its way faster than 4.1.2 which I suffered a lot of lag due to the error were facing.
Click to expand...
Click to collapse
for me the rom stucks at boot logo as stated in the given link
Sanchini said:
Hello!
I have just been able to fix my phone which was stuck in encryption and it would not accept the password. I also had problems accessing recovery.
I have posted the whole story here: http://forum.xda-developers.com/showthread.php?t=2482143
In a nutshell:
1. Flashed stock ROM (got it in SamMobile)
2.Odin flashed Philz recovery (http://forum.xda-developers.com/showthread.php?t=2002953)
3. went to Mounts and Storage -> format /data and /data media
4. did wipe data/factory
5. re-flashed stock ROM
6. it still asked for password on boot but now from Stock recovery wipe data/factory and cache
7. Re-boot and encryption was gone with a perfectly working phone
The fundamental step here was number 3 with Philz recovery because after that it could finally mount /data and access internal memory.
good luck and let me know if you need details on any of the steps.
Click to expand...
Click to collapse
I was in encryption hell and philz recovery was able to delete my /data where CWM recovery and TWRP weren't.
BoiledWater said:
I was in encryption hell and philz recovery was able to delete my /data where CWM recovery and TWRP weren't.
Click to expand...
Click to collapse
I did that, had to do it everytime with philz though as nothing else works.
Did you ever find a solution to this?

[Q] HTC One 802w - Stuck in Bootloader / Recovery

Hi guys,
I have been checking most threads for the past two days and have tried quite a lot of stuff finally leading me back to this post.
I have a HTC 802w which I bought when I was living in China. I was happily on Sense 5.5 with the 4.4.2 update and thought I would atleast root the phone and remove all the Chinese bloatware.
My phone is S-ON with an unlocked bootloader. I then flashed on a CWM 6.0.3. But after the flash ( which was successful),whenever I boot, I was always redirected to the bootloader screen (FASTBOOT)
I've tried the following options:
a) fastboot erase cache - Reboot
b) Flashed TWRP (for 802w) and then flashed Maximus HD 2.0.0 (which is one of the few ROMs that the HTC One 802w supports)
TWRP : http://forum.xda-developers.com/showthread.php?t=2467536
After these two, nothing happened. I was still stuck at bootloader and able to go through TWRP recovery as well.
c) I flashed stock recovery, relocked the bootloader (fastboot oem lock) and attempted to install the 4.4.2 RUU for 802w
fastboot oem rebootRUU
fastboot flash zip <zipfile>
Stock Recovery from : http://forum.xda-developers.com/showthread.php?t=2617159
RUU : http://forum.xda-developers.com/showpost.php?p=43177948&postcount=369 ( 4.4.2 RUU for Chinese Version)
-> Same result.
C:\Users\Downloads\HTC1_802W Root>fastboot flash zip latestfirmware.zip
target reported max download size of 1542111232 bytes
sending 'zip' (1128400 KB)...
OKAY [ 53.647s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 152.042s
This is the getvar of my device:
C:\Users\Downloads\HTC1_802W Root>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.49.0000
(bootloader) version-baseband: U3.14.3509.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.21.1402.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: H*******************
(bootloader) imei: 3********************
(bootloader) meid: 00000000000000
(bootloader) product: m7cdug
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0771000
(bootloader) cidnum: HTCCN703
(bootloader) battery-status: good
(bootloader) battery-voltage: 4301mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-f6d46eca
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 4.013s
I am still researching other posts ( I know how most of you hate the same question being asked. I don't like it too) . But I vastly underestimated the resource base of the 802w phones. So if anyone of you guys out there is able to give me a few pointers, you got a beer waiting for you next time you visit the Bay Area..
Cheers!
UPDATE:
I flashed on Maximus HD again (with unlocked bootloader and same TWRP as above) -> Stilll on the same problem. I tried checking the file system contents. Here, I saw the messages:
E: Unable to mount '/data'
E: Unable to mount ''cache'
E: Unable to mouth internal storage.
Your not S-Off. .You are S-On. You need to unlock your bootloader.. and then regain S-Off. Once S-Off there is no need to lock your bootloader to flash an RUU.
Sent from my GT-I9505 using XDA Premium 4 mobile app
bored_stupid said:
Your not S-Off. .You are S-On. You need to unlock your bootloader.. and then regain S-Off. Once S-Off there is no need to lock your bootloader to flash an RUU.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
My bad. I am on S-ON. However, With me not being able to go anywhere except bootloader/recovery, should I go for S-OFF now?
I tried again to flash Maximus HD Rom (4.4.2). The AROMA installer completed its work and i tried rebooting. Same result. Back to Bootloader.
I saved the recovery log though. I've attached it here. But what was worrying is that it showed my /data and /external_sd as 0. Is that normal?
Any pointers here would be good.
Apart from help on that, I have one question: Would it be possible for me to achieve firewater S-OFF in this state?
The first step in firewater is to adb reboot. Seeing that I have no ROM to reboot into, would it work if I was doing it from recovery instead?
I don't know what other options I have.
Partition Logs:
/boot | /dev/block/mmcblk0p36 | Size: 16MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p36
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p37 | Size: 15MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p37
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/system | /dev/block/mmcblk0p38 | Size: 2330MB Used: 1225MB Free: 1105MB Backup Size: 1225MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p38
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/cache | /dev/block/mmcblk0p39 | Size: 377MB Used: 6MB Free: 371MB Backup Size: 6MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p39
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/data | /dev/block/mmcblk0p40 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p40
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/external_sd | /dev/block/mmcblk1 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: SD Card
Storage_Name: SD Card
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: SD Card
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
I:Loading package: TWRP (/script/ui.xml)
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p40
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p40', current file system: 'ext4'
E:Unable to mount /data/media during GUI startup.
YAAY! I did it.
I think changing recoveries did the trick.
I switched to CWM Touch from here : http://d-h.st/qls. Flashed on just the recovery.img
Then flashed SuperSu-1.94 (Just to make sure)
Installed Maximus HD 4.4.2 . And when I rebooted, I was welcomed with the HTC One logo!
PHEW.. I'm so glad that it started working again.

[Q] Original partition settings

Hello,
I installed some ROMs and I believe I destroyed some partitions.
It would be great if someone could post their partitions info. This can be done by saving the recovery.log in TWRP to the sdcard. At the beginning there is a section "Partition Logs".
Mine currently looks like this:
Code:
Partition Logs:
/data | /dev/block/mmcblk0p38 | Size: 5637MB Used: 34MB Free: 2907MB Backup Size: 34MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p38
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: f2fs
Fstab_File_System: f2fs
Backup_Method: files
Mount_Flags=0x 0, Mount_Options=inline_xattr
MTP_Storage_ID: 65537
/cache | /dev/block/mmcblk0p35 | Size: 525MB Used: 8MB Free: 516MB Backup Size: 8MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p35
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system | /dev/block/mmcblk0p36 | Size: 1086MB Used: 1054MB Free: 32MB Backup Size: 1054MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p36
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/boot | /dev/block/mmcblk0p31 | Size: 9MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p31
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p32 | Size: 10MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p32
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/pds | /dev/block/mmcblk0p26 | Size: 3MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p26
Display_Name: PDS
Storage_Name: PDS
Backup_Path: /pds
Backup_Name: pds
Backup_Display_Name: PDS
Storage_Path: /pds
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538
/sdcard1 | /dev/block/mmcblk1p1 | Size: 3360MB Used: 0MB Free: 3360MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: External SDCard
Storage_Name: External SDCard
Backup_Path: /sdcard1
Backup_Name: sdcard1
Backup_Display_Name: External SDCard
Storage_Path: /sdcard1
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539
I believe I messed something up here. I can't install any ROM. Because it can't mount /dev/block/platform/msm_sdcc.1/by-name/system and I get an error like this:
Code:
ioctl failure. errno 5
Code:
Installing '/sdcard/TitanPrimeROMv1.0.2-XT1068-69.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
installing gptupgrade updater extensions
format system
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 2387968 not a multiple of io_buffer_size 524288
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 1077248 not a multiple of io_buffer_size 524288
blk: partition "" size 10444800 not a multiple of io_buffer_size 524288
blk: partition "" size 10526720 not a multiple of io_buffer_size 524288
blk: partition "" size 560070656 not a multiple of io_buffer_size 524288
blk: partition "" size 5912788992 not a multiple of io_buffer_size 524288
blk: partition "" size 3530999808 not a multiple of io_buffer_size 524288
blk: partition "" size 512000000 not a multiple of io_buffer_size 524288
blk: partition "" size 32289792 not a multiple of io_buffer_size 524288
Attempting to mount /dev/block/platform/msm_sdcc.1/by-name/userdata as ext4
Failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data error Device or resource busy
Can't mount userdata partition for validating erase
Formatting partition /dev/block/platform/msm_sdcc.1/by-name/system of length 45000000 starting at 2a100000
Aligning offset to 400000 boundary by moving 300000 bytes
Failed to wipe /dev/block/platform/msm_sdcc.1/by-name/system partition. ioctl failure. errno 5
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/system failed
script aborted: assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/TitanPrimeROMv1.0.2-XT1068-69.zip'
Error flashing zip '/sdcard/TitanPrimeROMv1.0.2-XT1068-69.zip'
Updating partition details...
I:Data backup size is 34MB, free: 2907MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
It would be great if somebody could post a valid partition info
Code:
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=428000k,nr_inodes=107000,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=428000k,nr_inodes=107000)
/dev/block/mmcblk0p38 on /data type f2fs (ro,seclabel,relatime,background_gc=off,user_xattr,inline_xattr,acl,errors=continue,active_logs=6)
/dev/block/mmcblk0p38 on /sdcard type f2fs (ro,seclabel,relatime,background_gc=off,user_xattr,inline_xattr,acl,errors=continue,active_logs=6)
/dev/block/mmcblk0p35 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (ro,seclabel,nodev,noatime,nodiratime,data=ordered)
XT1068 [5.0.2][OFFICIAL][XT1068]Lollipop Indian OTA Captured
Except data, system and sdcard1 (it is clear) is exactly what you got
Code:
Partition Logs:
/data | /dev/block/mmcblk0p38 | Size: 5637MB Used: 2730MB Free: 2425MB Backup Size: 2730MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p38
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: f2fs
Fstab_File_System: f2fs
Backup_Method: files
Mount_Flags=0x 0, Mount_Options=inline_xattr
MTP_Storage_ID: 65537
/cache | /dev/block/mmcblk0p35 | Size: 525MB Used: 8MB Free: 516MB Backup Size: 8MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p35
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/system | /dev/block/mmcblk0p36 | Size: 1086MB Used: 1049MB Free: 37MB Backup Size: 1049MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p36
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/boot | /dev/block/mmcblk0p31 | Size: 9MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p31
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/recovery | /dev/block/mmcblk0p32 | Size: 10MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p32
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/pds | /dev/block/mmcblk0p26 | Size: 3MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p26
Display_Name: PDS
Storage_Name: PDS
Backup_Path: /pds
Backup_Name: pds
Backup_Display_Name: PDS
Storage_Path: /pds
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538
/sdcard1 | /dev/block/mmcblk1p1 | Size: 7648MB Used: 4803MB Free: 2845MB Backup Size: 4803MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: External SDCard
Storage_Name: External SDCard
Backup_Path: /sdcard1
Backup_Name: sdcard1
Backup_Display_Name: External SDCard
Storage_Path: /sdcard1
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539

confirm the size and filetype of 128gb 3t data/system/cache partitions in twrp?

/system>>> 2913mb, ext4, backup size: 4mb
/data >>>> 115934mb, f2fs, backup size: 0mb
/cache>>>> 247mb, ext4, backup size: 0mb
can you confirm for me please, do yours match? if not, what are you seeing?

(K013 ME176C/X) Duplicate Mac Addresses

Hi,
I have a bunch of ME176CX Asus Memopad 7's that I wanted to be identical with their settings, apps, etc. and also have a base "image" of that for if I needed to restore it over time.
I rooted them all (Android 5.0.), installed TWRP on them all and then customized one to be exactly what I wanted - removed bloatware, got the settings to what they needed to be, etc.
I then backed up that tablet and restored it on the rest. They are working fine and everything is as expected except with wifi.
The tablets now all have the same identical MAC address and because of that are all attempting to grab the same DHCP ip address and are constantly knocking each other off by duplicating the IP.
I looked around and found that the mac address on other android devices is defined in nvram.txt in /data/misc/wifi however that does not exist on these.
I'm assuming it has to be defined somewhere as otherwise they wouldn't all have the same Mac... and essentially wherever that is being defined is where it could be changed to either revert back to their old Macs or just create new ones.
(Setting them to static ip's is not an option, I need their macs to be different)
Anyone have any insight to fixing this?
So while the tablet is running with wifi off I can change /config/wifi/mac.txt to a be a new mac, and turn wifi on and it will change it. However upon reboot this gets reset back to that original mac address.
Further development...
It was copied by the backup accidently having boot checked off in TWRP and then restoring with that. The serial/mac appear to be contained in the boot partition.
Recovery log for the boot:
I:Reading '/dev/block/mmcblk0p4', writing '/external_sd/TWRP/BACKUPS/01234567890123456789/zzz/boot.emmc.win'
/boot | /dev/block/mmcblk0p4 | Size: 16MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p4
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd
So now I guess the only way to fix that would be to somehow edit that boot.emmc.win
or
edit the mac, and re-backup the boot with the new mac address to restore it on the other devices

Categories

Resources