Cygwin returns an empty raw file - Please help? - Galaxy Tab S Q&A, Help & Troubleshooting
Edit. I managed to fix this and got it to work. The main problem was that my first window command had returned back with a prompt before I had time to complete the second window command. When I had the second window ready to hit return, I executed the first window command then imediately the second window command. It worked smoothly then extracting GB of data!
I have followed these instructions I found and they seem to work except the raw file resulting from them is 0 bytes. Any ideas?
I determined that my block for userdata is mmcblk0p21. All the commands in Cygwin return ok without problems. When in the second Cygwyn window and I do the nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p21.raw the line returns no output back to the window other than the $ prompt.
I will paste the screen out put below these instructions I have followed.
The model is a Tab S SM-T800
1. Turn on your phone
2. Connect the phone in ADB mode
3. Unlock the screen.
4. Open a Cygwin terminal and enter (This assumes your BusyBox installation is at [/su/bin/busybox]. It may be at [/su/xbin/busybox]):
adb forward tcp:5555 tcp:5555
adb shell
su
/su/bin/busybox nc -l -p 5555 -e /su/bin/busybox dd if=/dev/block/mmcblk0p21
5. Open another Cygwin terminal and enter:
adb forward tcp:5555 tcp:5555
cd /nexus
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p21.raw
Screen output for the first window is.
[email protected] ~
$ adb forward tcp:5555 tcp:5555
[email protected] ~
$ adb shell
[email protected]:/ $ su
xbin/busybox nc -l -p 5555 -e /su/xbin/busybox dd if=/dev/block/mmcblk0p21 <
141|[email protected]:/ #
Screen output for the second window is.
[email protected] ~
$ adb forward tcp:5555 tcp:5555
[email protected] ~
$ cd /samsung
[email protected] /samsung
$ nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p21.raw
[email protected] /samsung
$
I'm scrathcing my head as It is not finding any data.
I got the mmcblk0p21 from the following.
[email protected] ~
$ adb forward tcp:5555 tcp:5555
[email protected] ~
$ adb shell
[email protected]:/ $ mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1420076k,nr_inodes=114328,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1420076k,nr_inodes=114328,mode=750,gid=1000 0 0
tmpfs /mnt tmpfs rw,seclabel,relatime,size=1420076k,nr_inodes=114328,mode=755,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,size=1420076k,nr_inodes=114328,mode=700 0 0
tmpfs /mnt/secure/asec tmpfs rw,seclabel,relatime,size=1420076k,nr_inodes=114328,mode=700 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/dw_mmc.0/by-name/SYSTEM /system ext4 ro,seclabel,noatime,data=ordered 0 0
/dev/block/platform/dw_mmc.0/by-name/EFS /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/dw_mmc.0/by-name/CACHE /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/dw_mmc.0/by-name/USERDATA /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/dw_mmc.0/by-name/PERSDATA /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
tmpfs /storage tmpfs rw,seclabel,relatime,size=1420076k,nr_inodes=114328,mode=755,gid=1000 0 0
/dev/block/loop0 /su ext4 rw,seclabel,noatime,data=ordered 0 0
/data/knox/tmp_sdcard /mnt/knox sdcardfs rw,seclabel,nosuid,nodev,relatime,mask=0077 0 0
/data/knox/sdcard /mnt/knox/default/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=1015,multi_user,mask=0006 0 0
/data/knox/sdcard /mnt/knox/read/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,mask=0027 0 0
/data/knox/sdcard /mnt/knox/write/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,mask=0007 0 0
/data/media /mnt/runtime/default/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=1015,multi_user,mask=0006,reserved=20MB 0 0
/data/media /storage/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=1015,multi_user,mask=0006,reserved=20MB 0 0
/data/media /mnt/runtime/read/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=9997,multi_user,mask=0027,reserved=20MB 0 0
/data/media /mnt/runtime/write/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=9997,multi_user,mask=0007,reserved=20MB 0 0
1|[email protected]:/ $ ls -al /dev/block/platform/dw_mmc.0/by-name
lrwxrwxrwx root root 2017-01-28 09:13 BOOT -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2017-01-28 09:13 BOTA0 -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2017-01-28 09:13 BOTA1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2017-01-28 09:13 CACHE -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2017-01-28 09:13 CARRIER -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2017-01-28 09:13 CDMA-RADIO -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2017-01-28 09:13 EFS -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2017-01-28 09:13 HIDDEN -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2017-01-28 09:13 OTA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2017-01-28 09:13 PARAM -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2017-01-28 09:13 PERSDATA -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2017-01-28 09:13 RADIO -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2017-01-28 09:13 RECOVERY -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2017-01-28 09:13 RESERVED2 -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2017-01-28 09:13 SYSTEM -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2017-01-28 09:13 TDATA -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2017-01-28 09:13 TOMBSTONES -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2017-01-28 09:13 USERDATA -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2017-01-28 09:13 m9kefs1 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2017-01-28 09:13 m9kefs2 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2017-01-28 09:13 m9kefs3 -> /dev/block/mmcblk0p6
[email protected]:/ $
Related
I got into clockwork on the fire!!!
Here's the deal, I flashed a clockwork port for the kindle fire that I made. It was 100% useless as of now because of the one hardware button that we have to work with. I sent Koush a message on twitter asking if there is a possibility to have a long press and quick/short press differentiate between scrolling down and actually selecting the item on the menu but he hasn't gotten back to me yet but I'm sure he's working on it
Very good news! Hopefully something comes of this. I want to look at the code for TWRP 2.0 and see if that can be ported over to the fire, its touch control. Sent from my Kindle Fire
you got partition table for fire yet ? i am looking for boot partition
cat /proc/mounts.... Code: # cat /proc/mounts rootfs / rootfs ro,relatime 0 0 tmpfs /dev tmpfs rw,relatime,mode=755 0 0 devpts /dev/pts devpts rw,relatime,mode=600 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 /sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0 /dev/block/platform/mmci-omap-hs.1/by-name/system /system ext4 ro,relatime,barrier=1,data=ordered 0 0 /dev/block/platform/mmci-omap-hs.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0 /dev/block/platform/mmci-omap-hs.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0 /dev/block/platform/mmci-omap-hs.1/by-name/splash /dropbox ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0 /dev/block/vold/179:12 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/block/vold/179:12 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0 # cat /proc/partitions Code: # cat /proc/partitions major minor #blocks name 179 0 7553024 mmcblk0 179 1 128 mmcblk0p1 179 2 256 mmcblk0p2 179 3 10240 mmcblk0p3 179 4 196608 mmcblk0p4 179 5 16384 mmcblk0p5 179 6 65536 mmcblk0p6 179 7 10240 mmcblk0p7 179 8 5120 mmcblk0p8 179 9 524288 mmcblk0p9 179 10 1164288 mmcblk0p10 179 11 262144 mmcblk0p11 179 12 5254144 mmcblk0p12 # cat /proc/filesystems Code: # cat /proc/filesystems nodev sysfs nodev rootfs nodev bdev nodev proc nodev cgroup nodev tmpfs nodev devtmpfs nodev binfmt_misc nodev debugfs nodev sockfs nodev usbfs nodev pipefs nodev anon_inodefs nodev rpc_pipefs nodev devpts ext3 ext2 ext4 nodev ramfs vfat msdos nodev nfs nodev nfs4 # ls /dev/block/platform/mmci-omap-hs.1/by-name Code: # ls /dev/block/platform/mmci-omap-hs.1/by-name media cache userdata system splash boot backup recovery dfs dkernel bootloader xloader # Probably doesn't help. But I guess it was worth a shot. I'm not sure what the partitions are mapped to. :/
using root explorer i can tell that /dev/block/platform/mmci-omap-hs.1/by-name/boot is symlinked to /dev/block/platform/mmci-omap-hs.1/mmcblk0p7 so if you wanted to mount boot you could type mount -o rw,remount /boot i believe..
well i did a dd if= from the phone to the sdcard, but now we can just grab the boot.img from the update on amazon's site
Can you post pictures? This is the main reason I am not trading my fire for a nook.
http://i.imgur.com/9zWTk.jpg just gettings rid of those error messages now. had the wrong filesystem for /cache
I love you.screw the nook.
Wow JackpotCalvin! How were you able to flash the clockwork recovery? Also are you still able to load your KF as normal?
really nice work
another way to mount things as is done in the init.rc: mount [email protected]/system system so for rw..."mount -o rw,remount -t ext4 [email protected] /system" anyway mounts are as follows: backup -> mmcblk0p6 boot -> mmcblk0p7 bootloader ->mmcblk0p2 cache -> mmcblk0p11 dfs -> mmcblk0p4 dkernel -> mmcblk0p3 media -> mmcblk0p12 recovery -> mmcblk0p5 splash -> mmcblk0p8 system -> mmcblk0p9 userdata -> mmcblk0p10 xloader -> mmcblk0p1
well we're at a bit of a road block as of right now as we have no way to navigate through the menu, we can just press OK and reboot the kindle. also, pressing reboot now does not start the device normally, it just reboots into clockwork. i'm looking for the flag that the OS puts in /cache or /data to trigger a recovery reboot because pressing reboot now does not remove that flag so it will continue to reboot into clockwork unless you do a little hackery to put the stock recovery back on it and then reboot it into the stock recovery and make it fail the signature verification this fluke update.zip i made. we need to find a way to make a fail safe to reboot into recovery as well in case when we start roming, something goes wrong
Do you think something like this might work? https://market.android.com/details?id=com.koushikdutta.rommanager&hl=en
JackpotClavin said: when we start roming, Click to expand... Click to collapse Emphasis mine. I can't wait. Great work so far, this seems to be going a lot faster than I imagined at first. I wish I had the programming chops to become a dev, instead i just look on from the sidelines, and maybe monetarily support projects when and where I can.
Awesome work guys. I've got the Nook Tablet but thought I'd pop over to see how it's going. Again, awesome work. Sent from my Nook Tablet using Tapatalk
littleemp said: Do you think something like this might work? https://market.android.com/details?id=com.koushikdutta.rommanager&hl=en Click to expand... Click to collapse The official clockword mod does not support the fire yet... if that's what you're asking. That is what OP is trying to do.
JackpotClavin said: Here's the deal, I flashed a clockwork port for the kindle fire that I made. It was 100% useless as of now because of the one hardware button that we have to work with. I sent Koush a message on twitter asking if there is a possibility to have a long press and quick/short press differentiate between scrolling down and actually selecting the item on the menu but he hasn't gotten back to me yet but I'm sure he's working on it Click to expand... Click to collapse How did you boot into recovery?
well i've just made a clockwork backup of my current system. i believe ive found a way that we can manage to "navigate" through the menu, even though it's a real pain in the ass to do
JackpotClavin said: well i've just made a clockwork backup of my current system. i believe ive found a way that we can manage to "navigate" through the menu, even though it's a real pain in the ass to do Click to expand... Click to collapse Sounds like we may have to be connected to our PC to run the commands...??
[Q] [5.0] Which partition is hboot?
Since Lollipop, I can no longer access hboot via /dev/block/mmcblk0p11, and when I do # mount | grep blk, it shows: /dev/block/mmcblk0p45 /system ext4 ro,seclabel,noatime,data=ordered 0 0 /dev/block/mmcblk0p46 /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/mmcblk0p39 /devlog ext4 rw,seclabel,nosuid,nodev,relatime,errors=continue,data=ordered 0 0 /dev/block/mmcblk0p27 /fataldevlog ext4 rw,seclabel,nosuid,nodev,relatime,errors=continue,data=ordered 0 0 /dev/block/mmcblk0p37 /carrier ext4 rw,seclabel,nosuid,nodev,noatime,grpid,data=ordered 0 0 /dev/block/mmcblk0p22 /custdata ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0 During 4.4.x, I was able to access hboot via mmcblk0p22 but it was gone since 5.0.x. I wanna take away those annoying red text, can anyone point me to the right direction?
You can get it from here: http://forum.xda-developers.com/showthread.php?t=2710503
[ROM] LG G4 H815 T-mobile 10H Port tests
Here's the T-Mobile USA 10H Stock Rooted ROM that I'm porting to the H815 EU unlocked G4. I basically reversed the process of my previous port of H815 to H811. Prerequisite: **Be on H815 EU unlocked **Want to use this for T-Mobile USA or any carrier. (Might have to add apn) **Have TWRP installed to flash this. Bugs: I haven't been able to test this as I don't own the H815 EU. ***???? Installation: Step 1: Backup First Step 2: Full Wipe Step 3: Flash G4-H815-TMO-10H-STOCK-ROOTED-ROM.zip Step 4: Flash G4-H815-TMO-PATCH.zip Step 5: Reboot Important to flash Step 3 and Step back to back. Downloads: Flash 1st: G4-H815-TMO-10H-STOCK-ROOTED-ROM.zip Flash 2nd G4-H815-TMO-PATCH.zip Optional to Flash if your on T-Mobile USA or US others : G4-USA-APN.zip XDA:DevDB Information [ROM] LG G4 H815 T-mobile 10H Port, ROM for the LG G4 Contributors MicroMod777 ROM OS Version: 5.1.x Lollipop Version Information Status: Testing Created 2015-08-07 Last Updated 2015-08-06
ok thx, but why?
flooi said: ok thx, but why? Click to expand... Click to collapse It was asked for a while back for from the USA guys that bought the H815. It it works you'll be able to probaby wifi call on T-Mobile. Sent from my LG-H811 using Tapatalk
Anybody with h815 tried it? Any difference between 10c to this one? I have the international version but afraid to install this.. Thanks dev for this port..i will flash it after some feedback from other users
Has it been debloated? Also, the end result might be easier if you just create a flashable wificalling.zip that has the necessary files for using tmous wifi calling on the H815.
galza said: Anybody with h815 tried it? Any difference between 10c to this one? I have the international version but afraid to install this.. Thanks dev for this port..i will flash it after some feedback from other users Click to expand... Click to collapse Are you in the USA with T-Mobile? If so, then this is for you. barcodelinux said: Has it been debloated? Also, the end result might be easier if you just create a flashable wificalling.zip that has the necessary files for using tmous wifi calling on the H815. Click to expand... Click to collapse OP says stock rom, not debloated. Not sure if possible or what files to use for wifi calling as its integrated into settings. For me, doing whole rom is 10000x easier.
Will this work on a non-US H815? I'm in the UK currently running 10C, but if there are optimisations/ changes between 10C and 10H I'd be keen to get in on the magic
When flashing the ROM in step 3, I get: "Extracting system & Boot Updating partition details... E:Unable to mount '/system' ...done ---------- Post added at 01:30 PM ---------- Previous post was at 01:02 PM ---------- I think the partitions might be different on each device. Here's the output of df of the H815: Filesystem Size Used Free Blksize /dev 1.37G 96.00K 1.37G 4096 /sys/fs/cgroup 1.37G 12.00K 1.37G 4096 /mnt/asec 1.37G 0.00K 1.37G 4096 /mnt/obb 1.37G 0.00K 1.37G 4096 /system 3.92G 3.00G 938.40M 4096 /cache 1.17G 32.62M 1.13G 4096 /data 22.70G 21.73G 994.51M 4096 /persist 27.48M 64.00K 27.42M 4096 /firmware 85.95M 74.77M 11.19M 16384 /sns 3.86M 60.00K 3.80M 4096 /persist-lg 3.86M 584.00K 3.29M 4096 /mpt 27.48M 9.26M 18.22M 4096 /cust 247.97M 7.64M 240.33M 4096 /mnt/shell/emulated 22.70G 21.73G 994.51M 4096 /storage/emulated/legacy 22.70G 21.73G 994.51M 4096 /storage/emulated 1.38G 0.00K 1.38G 4096 /mnt/media_rw/external_SD 119.05G 51.99G 67.06G 131072 /mnt/secure/asec 119.05G 51.99G 67.06G 131072 /storage/external_SD 119.05G 51.99G 67.06G 131072 /storage/emulated/0 22.70G 21.73G 994.51M 4096 /storage/emulated/0/Android/obb 22.70G 21.73G 994.51M 4096 /storage/emulated/legacy 22.70G 21.73G 994.51M 4096 /storage/emulated/legacy/Android/obb 22.70G 21.73G 994.51M 4096 ---------- Post added at 01:37 PM ---------- Previous post was at 01:30 PM ---------- And from mount: rootfs / rootfs ro,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1437396k,nr_inodes=359349,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=750,gid=1000 0 0 pstore /sys/fs/pstore pstore rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0 /mnt/pstore /mnt/pstore pstore rw,relatime 0 0 /dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,resuid=1000,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/modem /firmware vfat ro,context=ubject_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0 /dev/block/bootdevice/by-name/sns /sns ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/drm /persist-lg ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/mpt /mpt ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/platform/f9824900.sdhci/by-name/cust /cust ext4 ro,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0 /data/media /mnt/shell/emulated sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1443540k,nr_inodes=360885,mode=050,gid=1028 0 0 /dev/block/vold/179:65 /mnt/media_rw/external_SD exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0 /dev/block/vold/179:65 /mnt/secure/asec exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0 /mnt/media_rw/external_SD /storage/external_SD sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=unified 0 0 /data/media /storage/emulated/0 sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0
barcodelinux said: When flashing the ROM in step 3, I get: "Extracting system & Boot Updating partition details... E:Unable to mount '/system' ...done ---------- Post added at 01:30 PM ---------- Previous post was at 01:02 PM ---------- I think the partitions might be different on each device. Here's the output of df of the H815: Filesystem Size Used Free Blksize /dev 1.37G 96.00K 1.37G 4096 /sys/fs/cgroup 1.37G 12.00K 1.37G 4096 /mnt/asec 1.37G 0.00K 1.37G 4096 /mnt/obb 1.37G 0.00K 1.37G 4096 /system 3.92G 3.00G 938.40M 4096 /cache 1.17G 32.62M 1.13G 4096 /data 22.70G 21.73G 994.51M 4096 /persist 27.48M 64.00K 27.42M 4096 /firmware 85.95M 74.77M 11.19M 16384 /sns 3.86M 60.00K 3.80M 4096 /persist-lg 3.86M 584.00K 3.29M 4096 /mpt 27.48M 9.26M 18.22M 4096 /cust 247.97M 7.64M 240.33M 4096 /mnt/shell/emulated 22.70G 21.73G 994.51M 4096 /storage/emulated/legacy 22.70G 21.73G 994.51M 4096 /storage/emulated 1.38G 0.00K 1.38G 4096 /mnt/media_rw/external_SD 119.05G 51.99G 67.06G 131072 /mnt/secure/asec 119.05G 51.99G 67.06G 131072 /storage/external_SD 119.05G 51.99G 67.06G 131072 /storage/emulated/0 22.70G 21.73G 994.51M 4096 /storage/emulated/0/Android/obb 22.70G 21.73G 994.51M 4096 /storage/emulated/legacy 22.70G 21.73G 994.51M 4096 /storage/emulated/legacy/Android/obb 22.70G 21.73G 994.51M 4096 ---------- Post added at 01:37 PM ---------- Previous post was at 01:30 PM ---------- And from mount: rootfs / rootfs ro,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1437396k,nr_inodes=359349,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=750,gid=1000 0 0 pstore /sys/fs/pstore pstore rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=1437396k,nr_inodes=359349,mode=755,gid=1000 0 0 /mnt/pstore /mnt/pstore pstore rw,relatime 0 0 /dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,resuid=1000,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/modem /firmware vfat ro,context=ubject_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0 /dev/block/bootdevice/by-name/sns /sns ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/drm /persist-lg ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/bootdevice/by-name/mpt /mpt ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0 /dev/block/platform/f9824900.sdhci/by-name/cust /cust ext4 ro,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0 /data/media /mnt/shell/emulated sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,size=1443540k,nr_inodes=360885,mode=050,gid=1028 0 0 /dev/block/vold/179:65 /mnt/media_rw/external_SD exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0 /dev/block/vold/179:65 /mnt/secure/asec exfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,namecase=0,errors=remount-ro,discard,readahead_kb=512 0 0 /mnt/media_rw/external_SD /storage/external_SD sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=unified 0 0 /data/media /storage/emulated/0 sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/legacy sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 /data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,relatime,uid=1023,gid=1023,derive=legacy 0 0 Click to expand... Click to collapse Can you do this and post your partition table: adb shell su ls -l /dev/block/platform/f9824900.sdhci/by-name Sent from my LG-H811 using Tapatalk
MicroMod777 said: Can you do this and post your partition table: adb shell su ls -l /dev/block/platform/f9824900.sdhci/by-name Sent from my LG-H811 using Tapatalk Click to expand... Click to collapse lrwxrwxrwx root root 2015-02-26 17:31 DDR -> /dev/block/mmcblk0p30 lrwxrwxrwx root root 2015-02-26 17:31 aboot -> /dev/block/mmcblk0p8 lrwxrwxrwx root root 2015-02-26 17:31 abootbak -> /dev/block/mmcblk0p14 lrwxrwxrwx root root 2015-02-26 17:31 apdp -> /dev/block/mmcblk0p18 lrwxrwxrwx root root 2015-02-26 17:31 boot -> /dev/block/mmcblk0p38 lrwxrwxrwx root root 2015-02-26 17:31 cache -> /dev/block/mmcblk0p49 lrwxrwxrwx root root 2015-02-26 17:31 cust -> /dev/block/mmcblk0p48 lrwxrwxrwx root root 2015-02-26 17:31 devinfo -> /dev/block/mmcblk0p17 lrwxrwxrwx root root 2015-02-26 17:31 dpo -> /dev/block/mmcblk0p20 lrwxrwxrwx root root 2015-02-26 17:31 drm -> /dev/block/mmcblk0p40 lrwxrwxrwx root root 2015-02-26 17:31 eksst -> /dev/block/mmcblk0p33 lrwxrwxrwx root root 2015-02-26 17:31 encrypt -> /dev/block/mmcblk0p32 lrwxrwxrwx root root 2015-02-26 17:31 factory -> /dev/block/mmcblk0p43 lrwxrwxrwx root root 2015-02-26 17:31 fota -> /dev/block/mmcblk0p44 lrwxrwxrwx root root 2015-02-26 17:31 fsc -> /dev/block/mmcblk0p27 lrwxrwxrwx root root 2015-02-26 17:31 fsg -> /dev/block/mmcblk0p26 lrwxrwxrwx root root 2015-02-26 17:31 grow -> /dev/block/mmcblk0p51 lrwxrwxrwx root root 2015-02-26 17:31 hyp -> /dev/block/mmcblk0p6 lrwxrwxrwx root root 2015-02-26 17:31 hypbak -> /dev/block/mmcblk0p12 lrwxrwxrwx root root 2015-02-26 17:31 keystore -> /dev/block/mmcblk0p29 lrwxrwxrwx root root 2015-02-26 17:31 laf -> /dev/block/mmcblk0p37 lrwxrwxrwx root root 2015-02-26 17:31 limits -> /dev/block/mmcblk0p16 lrwxrwxrwx root root 2015-02-26 17:31 misc -> /dev/block/mmcblk0p22 lrwxrwxrwx root root 2015-02-26 17:31 modem -> /dev/block/mmcblk0p1 lrwxrwxrwx root root 2015-02-26 17:31 modemst1 -> /dev/block/mmcblk0p24 lrwxrwxrwx root root 2015-02-26 17:31 modemst2 -> /dev/block/mmcblk0p25 lrwxrwxrwx root root 2015-02-26 17:31 mpt -> /dev/block/mmcblk0p42 lrwxrwxrwx root root 2015-02-26 17:31 msadp -> /dev/block/mmcblk0p19 lrwxrwxrwx root root 2015-02-26 17:31 persist -> /dev/block/mmcblk0p23 lrwxrwxrwx root root 2015-02-26 17:31 persistent -> /dev/block/mmcblk0p35 lrwxrwxrwx root root 2015-02-26 17:31 pmic -> /dev/block/mmcblk0p2 lrwxrwxrwx root root 2015-02-26 17:31 pmicbak -> /dev/block/mmcblk0p10 lrwxrwxrwx root root 2015-02-26 17:31 raw_resources -> /dev/block/mmcblk0p45 lrwxrwxrwx root root 2015-02-26 17:31 raw_resourcesbak -> /dev/block/mmcblk0p46 lrwxrwxrwx root root 2015-02-26 17:31 rct -> /dev/block/mmcblk0p34 lrwxrwxrwx root root 2015-02-26 17:31 recovery -> /dev/block/mmcblk0p39 lrwxrwxrwx root root 2015-02-26 17:31 rpm -> /dev/block/mmcblk0p7 lrwxrwxrwx root root 2015-02-26 17:31 rpmbak -> /dev/block/mmcblk0p13 lrwxrwxrwx root root 2015-02-26 17:31 sbl1 -> /dev/block/mmcblk0p3 lrwxrwxrwx root root 2015-02-26 17:31 sbl1bak -> /dev/block/mmcblk0p9 lrwxrwxrwx root root 2015-02-26 17:31 sdi -> /dev/block/mmcblk0p5 lrwxrwxrwx root root 2015-02-26 17:31 sdibak -> /dev/block/mmcblk0p15 lrwxrwxrwx root root 2015-02-26 17:31 sec -> /dev/block/mmcblk0p31 lrwxrwxrwx root root 2015-02-26 17:31 sns -> /dev/block/mmcblk0p41 lrwxrwxrwx root root 2015-02-26 17:31 spare1 -> /dev/block/mmcblk0p21 lrwxrwxrwx root root 2015-02-26 17:31 spare2 -> /dev/block/mmcblk0p36 lrwxrwxrwx root root 2015-02-26 17:31 ssd -> /dev/block/mmcblk0p28 lrwxrwxrwx root root 2015-02-26 17:31 system -> /dev/block/mmcblk0p47 lrwxrwxrwx root root 2015-02-26 17:31 tz -> /dev/block/mmcblk0p4 lrwxrwxrwx root root 2015-02-26 17:31 tzbak -> /dev/block/mmcblk0p11 lrwxrwxrwx root root 2015-02-26 17:31 userdata -> /dev/block/mmcblk0p50
@MicroMod777 I guess I could flash the system.img and boot.img from fastboot just to see if they will boot on the H815 later tonight when I get home. But that doesn't fix the updater-script. Thoughts??
barcodelinux said: @MicroMod777 I guess I could flash the system.img and boot.img from fastboot just to see if they will boot on the H815 later tonight when I get home. But that doesn't fix the updater-script. Thoughts?? Click to expand... Click to collapse I fixed rom but need to upload it. Sent from my LG-H811 using Tapatalk
Here's rom with fixed script thanks to barcodelinux: https://www.androidfilehost.com/?fid=24052804347793245
MicroMod777 said: Here's rom with fixed script thanks to barcodelinux: https://www.androidfilehost.com/?fid=24052804347793245 Click to expand... Click to collapse @MicroMod777 still waiting for any replies from you with regards to my post in 1 click root method... have spent 3 hours and got nowhere... any help is much appreciated....
When trying to flash the ROM, I get: Delete Old System Mounting system Formatting system Extracting System Extracting Boot E:Unable to mount '/system' ...done When installing the patch file, I get: Installing Patches... Installation complete! Updating partition details... E:Unable to mount '/system' ...done When installing the APN file, I get: Installing files... Installation complete! Updating partition details... E:Unable to mount '/system' ...done
Do get same error with camera mod? http://forum.xda-developers.com/g4/themes-apps/root-60fps-camera-100-photo-quality-t3129460 Sent from my LG-H811 using Tapatalk
MicroMod777 said: Do get same error with camera mod? http://forum.xda-developers.com/g4/themes-apps/root-60fps-camera-100-photo-quality-t3129460 Sent from my LG-H811 using Tapatalk Click to expand... Click to collapse No. I flashed the 60fps mood over the H815 stock rom a few weeks ago.
barcodelinux said: No. I flashed the 60fps mood over the H815 stock rom a few weeks ago. Click to expand... Click to collapse Odd as I used the same info in the camera script for the patch. Sent from my LG-H811 using Tapatalk
MicroMod777 said: Odd as I used the same info in the camera script for the patch. Sent from my LG-H811 using Tapatalk Click to expand... Click to collapse I looked at autoprime's updater-script from here. It uses the Code: package_extract_file("file.name", "/path/to/extract"); command instead of the Code: package_extract_dir("file.name", "/path/to/extract"); My takeaway is that since you are trying to flash system.img, which is a file, you have to use the package_extract_file command. If we had a .zip file with a compressed directory named "system", you would then use the package_extract_dir command. Since I already have the files on my Linux lappy, I will edit the updater-script and let you know how it goes.
barcodelinux said: I looked at autoprime's updater-script from here. It uses the Code: package_extract_file("file.name", "/path/to/extract"); command instead of the Code: package_extract_dir("file.name", "/path/to/extract"); My takeaway is that since you are trying to flash system.img, which is a file, you have to use the package_extract_file command. If we had a .zip file with a compressed directory named "system", you would then use the package_extract_dir command. Since I already have the files on my Linux lappy, I will edit the updater-script and let you know how it goes. Click to expand... Click to collapse Let me know if works! Thanks Sent from my LG-H811 using Tapatalk
[GUIDE][GT-I9192][stuck at splash] how to get your data back
This is how I got my data from my GT-I9192 with TWRP and CM13. I don't know if it works for the other GT-I91XX models or with other firmware, but if you are in a similar situation like me it is worth a try. Background: I installed Cyanogenmod 13 and TWRP successfully about two month ago. About a week ago my phone suddenly was black and did not want to boot at all. I convinced it to restart after pulling battery/recharge cable some times and putting them back, sometimes whilest holding power button pressed at the same time, until it gave a life sign again. Current situation: My phone stucks at samsung logo splash screen and reboots. When trying to boot into recovery (TWRP; VOL.UP+HOME(+POWER)) the TeamWinRecovery logo screen is shown but then reboots. Download mode (VOL.DOWN+HOME) works, Odin recognizes phone, but flashing TWRP successfully again does not fix anything. Fastboot and adb do not recognize phone while it is in boot loop/recovery start loop/download mode! But the interesting part is: I am able to get via adb shell onto the phone while it is offline! Pull battery, put it back again, connect the phone via USB to PC and leave it off. Battery charging screen shows up and about a minute later adb shell is possible. It is in a strange state then, neither sdcard nor any else partition besides system is mounted, but mounting sdcard and data partition manually is possible. Required: Installed Samsung drivers, downloaded ADB tools, CM13(?), root enabled for adb. make sure phone is off (pull battery/cable, put it back again) connect phone via usb to pc at pc cmd type Code: adb wait-for-device when prompt is back, type Code: adb shell use the commands below to get to your data list internal partitions by name: Code: ls -l /dev/block/platform/msm_sdcc.1/by-name output: Code: total 0 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 aboot -> /dev/block/mmcblk0p5 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 backup -> /dev/block/mmcblk0p16 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 boot -> /dev/block/mmcblk0p13 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 cache -> /dev/block/mmcblk0p22 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 efs -> /dev/block/mmcblk0p10 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 fota -> /dev/block/mmcblk0p15 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 fsg -> /dev/block/mmcblk0p17 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 hidden -> /dev/block/mmcblk0p23 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 modem -> /dev/block/mmcblk0p1 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 modemst1 -> /dev/block/mmcblk0p11 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 modemst2 -> /dev/block/mmcblk0p12 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 pad -> /dev/block/mmcblk0p8 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 param -> /dev/block/mmcblk0p9 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 persdata -> /dev/block/mmcblk0p20 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 persist -> /dev/block/mmcblk0p19 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 recovery -> /dev/block/mmcblk0p14 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 rpm -> /dev/block/mmcblk0p6 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 sbl1 -> /dev/block/mmcblk0p2 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 sbl2 -> /dev/block/mmcblk0p3 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 sbl3 -> /dev/block/mmcblk0p4 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 ssd -> /dev/block/mmcblk0p18 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 system -> /dev/block/mmcblk0p21 lrwxrwxrwx 1 root root 20 1970-01-01 00:00 tz -> /dev/block/mmcblk0p7 lrwxrwxrwx 1 root root 21 1970-01-01 00:00 userdata -> /dev/block/mmcblk0p24 [COLOR="red"]<<< there is your userdata[/COLOR] list all partitions with size: Code: cat /proc/partitions output: Code: major minor #blocks name 179 0 7634944 mmcblk0 179 1 61440 mmcblk0p1 179 2 128 mmcblk0p2 179 3 256 mmcblk0p3 179 4 512 mmcblk0p4 179 5 2048 mmcblk0p5 179 6 512 mmcblk0p6 179 7 512 mmcblk0p7 179 8 12800 mmcblk0p8 179 9 8192 mmcblk0p9 179 10 13952 mmcblk0p10 179 11 3072 mmcblk0p11 179 12 3072 mmcblk0p12 179 13 10240 mmcblk0p13 179 14 10240 mmcblk0p14 179 15 10240 mmcblk0p15 179 16 7160 mmcblk0p16 179 17 3072 mmcblk0p17 179 18 8 mmcblk0p18 179 19 8192 mmcblk0p19 179 20 12288 mmcblk0p20 179 21 1536000 mmcblk0p21 179 22 204800 mmcblk0p22 179 23 36864 mmcblk0p23 179 24 5685231 mmcblk0p24 [COLOR="red"]<<< userdata partition has about 5.7 GB size[/COLOR] 179 32 30703616 mmcblk1 179 33 30703582 mmcblk1p1 [COLOR="red"]<<< this is your external sdcard partition[/COLOR] get partition format Code: blkid output: Code: /dev/block/mmcblk0p1: SEC_TYPE="msdos" UUID="00BC-614E" TYPE="vfat" /dev/block/mmcblk0p10: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" /dev/block/mmcblk0p19: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" /dev/block/mmcblk0p20: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" /dev/block/mmcblk0p21: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" /dev/block/mmcblk0p22: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" /dev/block/mmcblk0p23: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" /dev/block/mmcblk0p24: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4" [COLOR="Red"]<<< userdata has ext4 format[/COLOR] /dev/block/mmcblk1p1: UUID="02A3-21FE" LABEL="Volume" TYPE="exfat" [COLOR="Red"]<<< external sdcard has exfat format[/COLOR] get currently mounted partitions Code: mount output: Code: rootfs on / type rootfs (rw,seclabel) tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,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) /sys/kernel/debug on /sys/kernel/debug type debugfs (rw,seclabel,relatime) none on /acct type cgroup (rw,relatime,cpuacct) none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000) none on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory) tmpfs on /mnt type tmpfs (rw,seclabel,relatime,mode=755,gid=1000) none on /dev/memcg type cgroup (rw,relatime,memory) none on /dev/cpuctl type cgroup (rw,relatime,cpu) none on /sys/fs/cgroup/bfqio type cgroup (rw,relatime,bfqio) /dev/block/mmcblk0p21 on /system type ext4 (ro,seclabel,relatime,data=ordered) neither data nor external sdcard is mounted mount your external sdcard Code: mkdir /mnt/sdext mount /dev/block/mmcblk1p1 /mnt/sdext extract your data partition as image to your sdcard Code: dd if=/dev/block/mmcblk0p24 of=/mnt/sdext/userdata.img important info: as your data partition is larger than 4GB, you can only put the whole image to your sdcard if it is in exFat or NTFS format (fat32 does not allow files larger than 4GB). You could copy the image splitted like follows: Code: dd if=/dev/block/mmcblk0p24 of=/mnt/sdext/userdata_1.img count=4000000 dd if=/dev/block/mmcblk0p24 of=/mnt/sdext/userdata_2.img skip=4000000 copy your images later to pc and put it together in windows cmd with Code: copy /B userdata_1.img + userdata_2.img userdata.img Not tested though. look if there is enough space on your external sdcard Code: df -H H=human readable sizes with 1000 based system; use no option to list number of 1k blocks; use -P do list 512byte blocks, usefull as dd uses same block size per default output: Code: Filesystem Size Used Avail Use% Mounted on tmpfs 708M 41k 708M 1% /dev none 708M 0 708M 0% /sys/fs/cgroup tmpfs 708M 0 708M 0% /mnt /dev/block/mmcblk0p21 1.5G 986M 562M 64% /system /dev/block/mmcblk0p24 [COLOR="red"]5.7G[/COLOR] 5.3G 423M 93% /mnt/userdata /dev/block/mmcblk1p1 31G 14G [COLOR="red"]18G[/COLOR] 44% /mnt/sdext or mount your internal data partition as well and copy only the data you need Code: mkdir /mnt/userdata mount /dev/block/mmcblk0p24 /mnt/userdata use cd and ls -al commands to find your desired data; in a secondary cmd at your pc copy directly to your pc via e.g. (contacts, sms, photos, TWRP backup, ...) Code: adb pull /mnt/userdata/data/com.android.providers.contacts/databases/contacts2.db adb pull /mnt/userdata/data/com.android.providers.telephony/databases/mmssms.db adb pull /mnt/userdata/media/0/DCIM adb pull /mnt/userdata/media/0/TWRP However, copying whole directories often failed and resulted in reboot of phone... So, what to do with this image? Mounting it in windows as new drive worked very well with OSFMount. As windows can not read ext4 partitions, you might want to install a ext4 driver like ext2fsd. And there is your data. Interesting folders are /media/0 where your internal sdcard data (like photos) resides and /data where all your apps store its data. You can find your contacts here /data/com.android.providers.contacts/databases/contacts2.db and your SMS here /data/com.android.providers.telephony/databases/mmssms.db. You can copy this databases to your new phone or inspect them via sqlite3.exe from your Android Development Tools. Here is a macro that could convert your contacts to vcard. Credits: Many of these information can be found at various xda threads, i do not remember all threads where I got which information from. Everything here was written from mind. Google and Wikipedia is also helpfull when it comes to command details. However this thread contains also most of the commands i showed above. This thread might give some inspirations about reading ext4 partition images under windows. If you feel that another thread has to be mentioned here, please write a message and I'll add it.
Thank you for this clarify guide. I try it even if my phone isn't bricked. GT-I9190 cihazımdan Tapatalk kullanılarak gönderildi
Asus ZenFone2 UL-Z00T-CN
Hi everyone! I've got this phone Asus ZenFone2 UL-Z00T-CN and i whant to make it WW Making it WW grants me the posibility to use every custom ROM I think I've read on every article about it and I came to the conclusion I cant change it I think the problem with this CN phone seems to be the system partition wich is partitioned a little smaller than the WW version C:\Users\Andrew>fastboot flash system D:\WW\system.img target reported max download size of 268435456 bytes erasing 'system'... OKAY [ 0.431s] sending sparse 'system' 1/12 (259338 KB)... OKAY [ 12.131s] writing 'system' 1/12... FAILED (remote: size too large) finished. total time: 12.570s Can you tell me how are your partitions fitted inside your phones to get some ideas about them? I dont know how to use those commands in this busybox of mine but i tried after some research and a little study and i came to some results and i hope are a little useful for me and for you too. Here are some things i discovered.... ~ # [6ndf -a -h (all partitions listed human) Filesystem Size Used Available Use% Mounted on tmpfs 1.3G 16.0K 1.3G 0% /dev devpts 0 0 0 0% /dev/pts proc 0 0 0 0% /proc sysfs 0 0 0 0% /sys selinuxfs 0 0 0 0% /sys/fs/selinux tmpfs 1.3G 20.0K 1.3G 0% /tmp pstore 0 0 0 0% /sys/fs/pstore adb 0 0 0 0% /dev/usb-ffs/adb /dev/block/mmcblk0p46 25.7G 155.9M 25.5G 1% /data /dev/block/mmcblk0p46 25.7G 155.9M 25.5G 1% /sdcard /dev/block/mmcblk0p44 27.5M 180.0K 26.7M 1% /cache /dev/block/mmcblk1p1 7.4G 3.1G 4.3G 42% /sdcard1 (this is my 8Gig SDcard) ------------------------------------------------------------------------------------------------------- ~ # [6ndf -h (all mounted partitions listed human) Filesystem Size Used Available Use% Mounted on tmpfs 1.3G 16.0K 1.3G 0% /dev tmpfs 1.3G 20.0K 1.3G 0% /tmp /dev/block/mmcblk0p46 25.7G 144.5M 25.5G 1% /data /dev/block/mmcblk0p46 25.7G 144.5M 25.5G 1% /sdcard /dev/block/mmcblk0p44 27.5M 468.0K 26.4M 2% /cache ------------------------------------------------------------------------------------------------------- mount rootfs on / type rootfs (rw,seclabel) tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1403968k,nr_inodes=350992,mode=755) tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=1403968k,nr_inodes=350992) 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) pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime) adb on /dev/usb-ffs/adb type functionfs (rw,relatime) /dev/block/mmcblk0p46 on /data type ext4 (rw,seclabel,relatime,data=ordered) /dev/block/mmcblk0p46 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered) /dev/block/mmcblk0p44 on /cache type ext4 (rw,seclabel,relatime,data=ordered) ------------------------------------------------------------------------------------------------------- du -h (Display the total size of all the files in a given directory and its subdirectories) / ./sdcard (internal storage partition showed on computer as a drive) 4.0K ./sdcard/ASUS/Calllog/Backup (4.0K Backup each empty directory) 8.0K ./sdcard/ASUS/Calllog (4.0K empty directory inside of the + 4.0K Calllog = 8.0K) 12.0K ./sdcard/ASUS (4.0K empty directory inside of the + 4.0K Calllog = 8.0K + 4.0K ASUS) etc. 0 ./usb-otg (empty 0KB) 0 ./sdcard1 (MMC memory card partition showed on computer after restart as drive when flash is inserted) 0 ./persist 0 ./firmware 0 ./factory 4.0K ./asdf 0 ./sideload 4.0K ./cache 0 ./recovery 0 ./boot 48.0K ./vendor 1.4M ./twres 20.0K ./tmp 0 ./system 0 ./sys/fs/f2fs 0 ./sys/fs/ext4/features 0 ./sys/fs/ext4/mmcblk0p44 0 ./sys/fs/ext4/mmcblk0p46 0 ./sys/fs/ext4 0 ./sys/fs/fuse/connections 0 ./sys/fs/fuse 0 ./sys/fs/selinux/policy_capabilities etc. 0 ./sys/fs/selinux 0 ./sys/fs/cgroup 0 ./sys/fs/pstore 0 ./sys/fs etc. 0 ./sys/bus/cpu 0 ./sys/bus/cpu etc. 0 ./sys/bus/iio/drivers 0 ./sys/bus/iio 0 ./sys/bus/mmc/devices 0 ./sys/bus/mmc/drivers/mmcblk 0 ./sys/bus/mmc/drivers 0 ./sys/bus/mmc 0 ./sys/bus/soc/devices etc. 0 ./sys 460.0K ./supersu 11.5M ./sbin 0 ./res/images 4.0K ./res 0 ./proc/msm_otg 0 ./proc/uid_stat etc. 0 ./proc 0 ./oem 4.0K ./license/openaes 4.0K ./license 12.0K ./etc 4.0K ./data/lost+found etc. 54.6M ./data/data 4.0K ./data/dalvik-cache/profiles 33.0M ./data/dalvik-cache/arm 6.3M ./data/dalvik-cache/arm64 39.2M ./data/dalvik-cache etc. 4.0K ./data/system/job 2.2M ./data/system 4.0K ./data/shared 4.0K ./data/fota 4.0K ./data/hostapd 44.0K ./data/time 4.0K ./data/audio 4.0K ./data/camera 4.0K ./data/nfc/param 8.0K ./data/nfc 4.0K ./data/tombstones/modem etc. 100.3M ./data 0 ./root 16.0K ./dev 115.6M . ------------------------------------------------------------------------------------------------------- i found a script about how to partitioning but is for other phone I think Samsung #!/sbin/sh OUTFD=$2 ui_print() { echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD } ui_print "" ui_print "###########################" ui_print "# audahadi #" ui_print "# modded from forumber2's #" ui_print "# Repartition script #" ui_print "# Mi 3W /system 1.2G #" ui_print "# only! #" ui_print "###########################" ui_print "" ui_print "Unmounting systems partiton..." umount -l /system umount -l /system1 umount -l /dev/block/mmcblk0p25 umount -l /dev/block/mmcblk0p26 ui_print "" ui_print "WARNING! System is ready, repartitioning will start in 2 seconds" sleep 2 ui_print "" ui_print "Removing partitions..." parted /dev/block/mmcblk0 rm 25 parted /dev/block/mmcblk0 rm 26 ui_print "Removing partitions...COMPLETED" ui_print "" ui_print "Creating new partitions..." parted /dev/block/mmcblk0 mkpart primary 403MB 1074MB parted /dev/block/mmcblk0 mkpart primary 1074MB 1745MB parted /dev/block/mmcblk0 name 25 system parted /dev/block/mmcblk0 name 26 system1 ui_print "Creating new partitions...COMPLETED" ui_print "" ui_print "Unmounting systems partitions again..." umount -l /system umount -l /system1 umount -l /dev/block/mmcblk0p25 umount -l /dev/block/mmcblk0p26 ui_print "Unmounting systems partitions again...COMPLETED" ui_print "" ui_print "Formatting new partitions..." mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p25 mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p26 ui_print "Formatting new partitions...COMPLETED." ui_print "" ui_print "ALL DONE!..." ui_print "" ui_print "Rebooting to recovery in 5 seconds..." ui_print "Thanks to forumber2 for his original GT-i9300 repartition script" sleep 5 reboot recovery SO in conclusion I want to redistribute partitions so i can install any ROM or WW IMG I want NOT the CN version. Is there a way to do that? Can you help me? If this chalanging problem is solved I would like to make it sticky if it's possible