Hey Guys.
Help! I Accidentally deleted my vacation photos I am planning to use the method described here. For that I need to know /dev/block userdata partition.
Any other method too is welcome.
Any help will be massively appreciated :good:
Thanks.
Try this, might still work. http://forum.xda-developers.com/showthread.php?t=1514286
nowetdio said:
Try this, might still work. http://forum.xda-developers.com/showthread.php?t=1514286
Click to expand...
Click to collapse
The link I posted in the OP uses Recuva too..Just that to make it work, u need to make a VHD or a RAW image of ur data partition and I am not sure what the data partition block on the G2 is. If our phones were to appear as a drive letter, not as MTP there are tons of recovery tools I can use but from ICS onwards, this is no longer possible.
Related
Hi guys.
I know that the z4mod can successfully patch a Tab kernel, without any problems (I did it myself, flashed it, and ran it just fine for a few days).
But when I tried to run one of the zip files to switch the file system, everything went nuts and I had to reflash my Tab from scratch.
So I did a little investigating, and as far as I can tell, all that needs to be done to make the whole thing successful is to modify the script in the zip file to correct the mount point names (as they are different from the SGS).
So if anyone around here knows anything about this sort of business, please take a look at it and let me/us all know, cuz it would be GREAT to get z4mod working on the Tab.
Here's the web site if anyone's interested;
http://www.sgscompilebox.dreamhosters.com/
Hi, did you tell ryanZA what results you got? I'm sure he'll be interested to help.
However, thank you for trying, I was about to do the same.
Noob question. What's the benefit of running ext2/3 for the internal partitions versus rfs?
knightnz said:
Noob question. What's the benefit of running ext2/3 for the internal partitions versus rfs?
Click to expand...
Click to collapse
RFS is Samsung's partition format (FAT + journal) that is supposed to be better for flash devices. Apparently it is not so good, and very laggy. Therefore people are switching partitions to ext2/3 or moving and linking stuff to SD card with ext2/3 or jffs2 partition.
jeebspawnshop said:
So I did a little investigating, and as far as I can tell, all that needs to be done to make the whole thing successful is to modify the script in the zip file to correct the mount point names (as they are different from the SGS).
Click to expand...
Click to collapse
Could you explain how you came to that conclusion ?
I was not able to locate my mount points to compare with what you did observe, but i guess we should start with that, then ask ryanZA his thought about what you've found.
Fyi: http://forum.xda-developers.com/showthread.php?p=9629477#post9629477
doloop said:
Could you explain how you came to that conclusion ?
I was not able to locate my mount points to compare with what you did observe, but i guess we should start with that, then ask ryanZA his thought about what you've found.
Click to expand...
Click to collapse
It has been tested by many Galaxy S users. Go to their forum and you will know
evermick said:
It has been tested by many Galaxy S users. Go to their forum and you will know
Click to expand...
Click to collapse
I'm really newb on linux, but i've read a little since last post.
What if we:
1 - dump mount list from a working SGT (terminal or adb shell -> mount ?)
2 - apply Z4mod then SGT won't boot (i assume it creates /etc/.fstab)
3 - edit /etc/fstab to match the dump in step 1
But, how do we read/write /etc/fstab once the sgt is locked ? using some kind of update.zip, or is there some shell service we could connect to, even if some mounts aren't in the right place ?
Unfortunately, everything I could contribute to this idea was in my first post. I know absolutely nothing about Android development, sadly...
But after reading what Deodexed said about volumes not mounting properly during recovery (he's the guy trying to get CWM to work for our Tabs) it seems that maybe that's the reason that z4mod may not work... If the volumes aren't mounted correctly, it can't convert the filesystems.
Maybe what doloop said might work? I hope so. An SGT running on ext2 would rock the socks off anything else out there. God I want it
Noob here, I was not allowed to post on the development forum so I had to put this here:
I recently managed to flash the ported CM6.1 with 2708+ kernel following this thread http://forum.xda-developers.com/showthread.php?p=9055790#post9055790 and this http://forum.cyanogenmod.com/topic/11548-cm61-2708port-for-new-radiospl/
Everything works atm and no FC's etc.
However, i really want to modify my MTDPartitions so i can make the CACHE really small and get more space for storing apps on the phone. I have read http://forum.xda-developers.com/showthread.php?t=893706 guide and have used firerat's mtdpartitioner before i moved to hboot-1.33.0013d.
my problem is, hboot-1.33.0013d has s-on and does that mean I cant repartition my G1 for extra space?
Is it possible to keep the 2708+ kernel with a different SPL so i get the extra ram(from the kernel) AND the extra space(from repartitioning)?? Can you point me in the right direction?
I know basic adb and fastboot commands if they are required.
Thanks for reading
FlyingShrapnel said:
Noob here, I was not allowed to post on the development forum so I had to put this here:
I recently managed to flash the ported CM6.1 with 2708+ kernel following this thread http://forum.xda-developers.com/showthread.php?p=9055790#post9055790 and this http://forum.cyanogenmod.com/topic/11548-cm61-2708port-for-new-radiospl/
Everything works atm and no FC's etc.
However, i really want to modify my MTDPartitions so i can make the CACHE really small and get more space for storing apps on the phone. I have read http://forum.xda-developers.com/showthread.php?t=893706 guide and have used firerat's mtdpartitioner before i moved to hboot-1.33.0013d.
my problem is, hboot-1.33.0013d has s-on and does that mean I cant repartition my G1 for extra space?
Is it possible to keep the 2708+ kernel with a different SPL so i get the extra ram(from the kernel) AND the extra space(from repartitioning)?? Can you point me in the right direction?
I know basic adb and fastboot commands if they are required.
Thanks for reading
Click to expand...
Click to collapse
There is no problem in using CustomMTD and 1.33.0013d in parallel. (As you can see in my signature, I am running the same configuration)
With CustomMTD you have to pass the partition layout to the kernel (that's the reason why you have to patch recovery- and boot- kernel separately), but it's completely independent of the hboot you have installed. Follow the instructions of Firerat's CustomMTD thread (the link you can find in my signature, too) and you are fine, s-on /s-off has no influence on it.
Thanks, just one more thing from me.
Is there a way of either using adb or terminal on the phone to view how much space is used on each partition. Like how Firerat has done here http://forum.xda-developers.com/showthread.php?t=717874
That would be very helpful because I am trying to slim down the SYSTEM partition while I am at it, to get maximum space out of the phone
EDIT: What size would you recommend that i allocate each partition and how much free space on the SYSTEM partition should I leave? does it matter?
FlyingShrapnel said:
Thanks, just one more thing from me.
Is there a way of either using adb or terminal on the phone to view how much space is used on each partition. Like how Firerat has done here http://forum.xda-developers.com/showthread.php?t=717874
That would be very helpful because I am trying to slim down the SYSTEM partition while I am at it, to get maximum space out of the phone
Click to expand...
Click to collapse
try
Code:
adb shell df -h
or go into terminal on your phone and use
Code:
df -h
so for each mounted partition you can see, how big it is, how much space is allocated and how much space is still free
FlyingShrapnel said:
EDIT: What size would you recommend that i allocate each partition and how much free space on the SYSTEM partition should I leave? does it matter?
Click to expand...
Click to collapse
Depends much on the ROM you would like to install. I am running 90/2, i.e. 90MB for /system, 2MB for /cache and about 117 MB for /data. CM 6.0/6.1 need less space on /system, others (especially sense-ROMs) probably more.
Just tried removing necessary native apps, failed cos it broke facebook... couldnt be bothered with it because it only saved like ~4MB
followed the instructions and using 90/2.
somehow, i broke gapps, none of the google stock apps are working, should i reflash gapps or is it more complicated than that? will i need to start all over again?
What apps / programs did you remove? How did you do it? Did you make a nandroid backup first?
Sent from my Gingerbread on Dream using XDA App
I did take a nandroid back up, i removed:
Email.apk
HtcCopyright.apk
LatinIME.apk
LiveWallpaperPicker.apk
PicoTts.apk
Protips.apk
UserDictionaryProvider.apk
VoiceDialer.apk
VpnServices.apk
I have already tried restoring through nandroid, then wiping data/cache through factory reset then restoring. No luck
reflashing all over again
EDIT: reflashed worked until I rebooted, then it is stuck on the G1 splash screen. I can still get into recovery... any ideas? I guess I will just stay off mtd for now *sigh*
Did you do the nandroid before or after patching the kernel? If you took it before, you have to repatch, otherwise the partition layout doesn't match.
Another hint: do a
fastboot erase system -w
First, then go to recovery and restore your backup. After restoring you probably need to reflash the FR_boot_xxx.zip, depends when you took the backup, i.e. whether the kernel was already adapted to cMTD or not.
Sent from my Gingerbread on Dream using XDA App
I did the nandroid before i did the mtd. I am trying the flashboot now
EDIT: tried it, used 2 different nandroid back ups. both times i ended up with gapps FC-ing all the time and no phone app.
EDIT2: nvm, I just reflashed from scratch, it all works fine now. I just wont touch mtd and stuff for now.
case closed. Thanks for the help
I'm trying to recover deleted files so I'm following this guide here..http://forum.xda-developers.com/showthread.php?t=1994705 I know it's for a different phone but it seems like it should work still.
So I have all the files installed and ready, but on the first step where I need the block/partition, I followed the guide he linked to but it's not working for me, most likely because it's not written for my phone and the file structure is different.
The example he has for his phone is... /dev/block/mmcblk0p12 How can I obtain that for my sdcard?
Hope this makes sense..
urmystlkal said:
I'm trying to recover deleted files so I'm following this guide here..http://forum.xda-developers.com/showthread.php?t=1994705 I know it's for a different phone but it seems like it should work still.
So I have all the files installed and ready, but on the first step where I need the block/partition, I followed the guide he linked to but it's not working for me, most likely because it's not written for my phone and the file structure is different.
The example he has for his phone is... /dev/block/mmcblk0p12 How can I obtain that for my sdcard?
Hope this makes sense..
Click to expand...
Click to collapse
The HTC One's sdcard is block mmcblk0p37 I think. I am going off of this list I found of a EMMC readout from some thread. Sorry don't have a direct link to the thread but here is the EMMC readout:
https://dl.dropboxusercontent.com/u/36946918/HTC_ONE_Partition_Info.xls
It may require that you specify:
/dev/block/mmcblk0p37/sdcard
Hey Guys.
Help! I Accidentally deleted my vacation photos :crying: I am planning to use the method described here. For that I need to know /dev/block userdata partition.
Any other method too is welcome.
Any help will be massively appreciated.
Thanks.
androidmaniac123 said:
Hey Guys.
Help! I Accidentally deleted my vacation photos :crying: I am planning to use the method described here. For that I need to know /dev/block userdata partition.
Any other method too is welcome.
Any help will be massively appreciated.
Thanks.
Click to expand...
Click to collapse
On a side note, for future reference, Dropbox has a nice auto photo backup setting that will upload your pics to your Dropbox space.. Good luck getting your pics back.
Hey all,
Today is not my day...just not paying attention. I accidentally replaced my build.prop file with a modified version but forgot to change the permissions so now I am boot looping. I can still access TWRP, so I was curious if there is any way to get a new build.prop file onto the phone so I do not have to do a full wipe. Any help would be appreciated.
Also, if its possible to flash onto the phone, does anyone have the build.prop file I can use? Thanks in advance.
I guess I can also access the bootloader for fastboot, if that makes a difference. Thanks.
JustROLLIN said:
I guess I can also access the bootloader for fastboot, if that makes a difference. Thanks.
Click to expand...
Click to collapse
You can either use mfastboot to flash the entire system. IMG for the rom you are using (easiest). Or use adb from within recovery to fix permissions on the build.prop....
Good luck :good:
Edit: re flashing just system will not affect you data. Only any modifications made to /system. For instance: if you are using xposed, it will need to be reinstalled. All other apps will be unaffected.
samwathegreat said:
You can either use mfastboot to flash the entire system. IMG for the rom you are using (easiest). Or use adb from within recovery to fix permissions on the build.prop....
Good luck :good:
Edit: re flashing just system will not affect you data. Only any modifications made to /system. For instance: if you are using xposed, it will need to be reinstalled. All other apps will be unaffected.
Click to expand...
Click to collapse
Your idea spurred me to use a method I used the other day, from this thread:
http://forum.xda-developers.com/moto-x/general/fxz-moto-x-4-4-4-212-55-26-t2827307
Worked great and saved all data, thank you!