I have done 3 different backups and they come out bad...I compared one good backup with the bad ones using root explorer and what I see is that the cache.img,
android_secure.img and nandroid.md5 files are all 0kb...
Why is that happening? Thanks for the help!
Sent from my LG-P999 using XDA App
AriaNoob said:
I have done 3 different backups and they come out bad...I compared one good backup with the bad ones using root explorer and what I see is that the cache.img,
android_secure.img and nandroid.md5 files are all 0kb...
Why is that happening? Thanks for the help!
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
I can think of a couple reasons. Have you flashed an EXT4 firmware but not the EXT4 compatible CWM? Or did you buy a 32gb microsd card for a ridiculously low price from Hong Kong on Ebay?
My guess is the first reason, you may have made your good backup before installing the EXT4 firmware, therefore CWM had no problem reading it. But after flashing an EXT4 firmware it lost the ability to read the boot partition or any other partitions that were converted to EXT4.
You are absolutely right! Thanks bro! Beers on me!
Sent from my LG-P999 using XDA App
Related
Hello wonderful sgs4g community, i hope you are all excited about all our new stuff as i am. Anyways now that drhonk has built ext4 into our kernel we can now go ahead and do SOME ext4 mods. here is the guide on how to create an ext4 partition so that you can use the link2sd app so:
A:you can have an ext4 sdcard filesystem
B: create more internal space for your apps(takes away even more bloat)
Here is what you will need:
A computer
MICRO ADAPTER or USB CABLE to plug into the computer
drhonks new 2.1 bali kernel
mini tool partition wizard(or any other program that does this) you can find it here: http://download.cnet.com/Partition-...62200.html?part=dl-6285158&subj=dl&tag=button
link2sd apk you can find that here: http://forum.xda-developers.com/showthread.php?t=919326
Now go ahead and mount your sdcard to computer with the micro adapter
go into mini tool and click on your sdcard
press move/resize
go ahead and resize from 256mb 512mb or 1g off from your original size
THE UNALLOCATED WILL BE THE SIZE OF YOUR NEW PARTITION
now go to the unallocated amount and press create partition
make sure that you do ext4 and make sure it is PRIMARY not logical!!!
press apply!
bam you go ext4
now put your sdcard back in and go to link2sd
it will tell you to go into recovery and mount your sdcard
sooooo
go into cwm and go to mounts and storage then make sure you have your sdcard say UNMOUNT
reboot
go back into link2sd and click ext4 when it pops up,
NOW move all the files THAT ARE NOT SYSTEM FILES(which it wont let you do anyways) and your all done
afterwards you should have from 375mb to 440mb of free internal space
have fun
Thanks to:
Fknfocused for pushing me to do this
drhonk for the kernel ext4 patch
wizard(i saw he did the link2sd first so i decided to do it)
and the rest of the community for being awesome
Thanks brotha! im doing this right now.
fknfocused said:
Thanks brotha! im doing this right now.
Click to expand...
Click to collapse
lemme know if i missed something or, something went wrong
dsexton702 said:
lemme know if i missed something or, something went wrong
Click to expand...
Click to collapse
ok will do, did I need to assign a drive letter for this partition? it just defaulted to *
fknfocused said:
ok will do, did I need to assign a drive letter for this partition? it just defaulted to *
Click to expand...
Click to collapse
i just named my ext4 im not sure if it matters
dsexton702 said:
i just named my ext4 im not sure if it matters
Click to expand...
Click to collapse
got it, thanks again. should i stay away from linking widgets? does it break like moving the app to SD?
fknfocused said:
got it, thanks again. should i stay away from linking widgets? does it break like moving the app to SD?
Click to expand...
Click to collapse
it doesnt effect app2sd and to be honest you dont need app2sd after you do this trick, and im not positive about widgets i think they might be safe though
Uhh thank you for posting my name there )) well it works ... if you guys want and know how to use linux u can do it from there too ... if anyone needs help ley me know ...
Link2sd is only way I thought off to check if kernel mounts ext4 ...damn glad about that faulks
Sent from my SGH-T959V using XDA App
EXT4
I used ubuntu and gparted inserted the mini sd into the adaptor created the partitions then placed it back into the phone and ran links2sd worked like a champ did that this am your way seems easier good write up
mopar2ltr said:
I used ubuntu and gparted inserted the mini sd into the adaptor created the partitions then placed it back into the phone and ran links2sd worked like a champ did that this am your way seems easier good write up
Click to expand...
Click to collapse
thanks brotha i appreciate it!
and thanks for briefly explaining the ubuntu way of doing it
Its easier with linux as windows doednt have support for ext
Sent from my SGH-T959V using XDA App
wizardslovak said:
Its easier with linux as windows doednt have support for ext
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
im sure, windows can be a pain! but thats why minitool is needed
Dunno man I ditched windows few years back and ain't regretting it ....using xubuntu as desktop and ubuntu.srv ,debian and centos as servers
Sent from my SGH-T959V using XDA App
ok i did something all wackey... lol for some reason i can only see 1.89 gb of my sd card on my phone and on mini tool partition it shows that i have 12 gb in fat32 and 1.89 gb unallocated. there is nothing i can figure out on how to get the two partitions of the sd card to join back together. even the minitool thinks they are two seperate devices. does anyone know what i can do to fix this and start over from the beginning? sorry guys im a linux newbie but i am having fun while learning.
So will this work also on drhonks uv version too?
Sent from my SGH-T959V using XDA Premium App
Looks like your 12 gb is not mounted ...
Sent from my SGH-T959V using XDA App
Nice tutorial. @makavelicruz. ...of course. Why wouldn't it?
Sent from my SGH-T959V using XDA Premium App
wizardslovak said:
Looks like your 12 gb is not mounted ...
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Ive tried mounting the sdcard from recovery and only one partition ever shows up.
Sent from my SGH-T959V using XDA App
farwek said:
Ive tried mounting the sdcard from recovery and only one partition ever shows up.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
mind giving us a screenshot?
Sent from my SGH-T959V using XDA Premium App
I get an error each time i make an unallocated partition and click 'create'.. anyone else run into this?
Just flash in clockwork and it will format your system and data partitions back to ext3. Faster than dealing with nandroid restores.
Useful for reverting from installs using Dragon or Trinity kernels that convert you to ext4.
NOTE: This FORMATS your partitions, you WILL lose all data held on them. Your phone will NOT boot until you install a ROM ZIP file or restore a nandroid backup. YOU HAVE BEEN WARNED.
CREDIT: @paulobrien from Modaco wrote this for the O2x. I just changed the partition names to match our setup. I left his original banner in there as a result. My change amounts to about 4 bytes. If you have issues, please don't bother him, post here.
This is great...I always hesitate trying out updated or experimental kernels because of the amount of time it takes to nandroid....the cm7 kernel has been really good as of late so I've been sticking with that
Sent from my LG-P999 using XDA App
Hmmm Let the confusing questions begin in 5,4,3,2....
Thanks man!
Sent From My Stock G2x
Reminder: NONE of my kernels and ROMs require the use of this utility. All of my kernels and ROMs are ALL NATIVE EXT3 only mounted as ext4.
faux123 said:
Reminder: NONE of my kernels and ROMs require the use of this utility. All of my kernels and ROMs are ALL NATIVE EXT3 only mounted as ext4.
Click to expand...
Click to collapse
wow, i never knew that. so if we are using one of your cm7 ext4 kernels and then flash a new nightly/kang we could go back to using the stock cm kernel and wouldn't have to necessarily flash your kernel again?
mattyg151 said:
wow, i never knew that. so if we are using one of your cm7 ext4 kernels and then flash a new nightly/kang we could go back to using the stock cm kernel and wouldn't have to necessarily flash your kernel again?
Click to expand...
Click to collapse
Yeap... should be no issues.
Is there a difference between this and just wiping, formating system and data, in cwm?
Sent from my LG-P999 using Tapatalk
billydroid said:
Is there a difference between this and just wiping, formating system and data, in cwm?
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
cwm is set up to keep whatever format you have at the time you run it, so if you are on ext4, the format command will format to ext4. It makes sense, you wouldn't want to write an ext4 fs onto a partition with vfat on it, for example. Not automatically anyway. And most users wouldn't know what to tell it to use if it were to give you the option. The forum would be full of "What file system do I use?!?!?"... The usual method is to restore a nandroid backup from stock or a stock file system. This is significantly faster.
It is of somewhat limited usefulness as many kernels/roms don't change the filesystem. However, as I switch around a lot with running tests for the cm guys, my own stuff, etc., it's nice to have a fast way to deal with it.
ttabbal said:
cwm is set up to keep whatever format you have at the time you run it, so if you are on ext4, the format command will format to ext4. It makes sense, you wouldn't want to write an ext4 fs onto a partition with vfat on it, for example. Not automatically anyway. And most users wouldn't know what to tell it to use if it were to give you the option. The forum would be full of "What file system do I use?!?!?"... The usual method is to restore a nandroid backup from stock or a stock file system. This is significantly faster.
It is of somewhat limited usefulness as many kernels/roms don't change the filesystem. However, as I switch around a lot with running tests for the cm guys, my own stuff, etc., it's nice to have a fast way to deal with it.
Click to expand...
Click to collapse
Thanks
Sent from my LG-P999 using Tapatalk
EDIT: nvm. looked over the files and got my answer.
Works great thanks for putting this together. Will come in handy.
Sent from my LG-P999 using XDA App
is this utility gonna wipe out all my data (meaning I will have to install all the apps again, setting up my phone again, signing in to google again and stuff) ?
te_quiero_forever_girl said:
is this utility gonna wipe out all my data (meaning I will have to install all the apps again, setting up my phone again, signing in to google again and stuff) ?
Click to expand...
Click to collapse
Yes it will wipe.
Upgrading EXT3 to EXT4 will preserve data but downgrading from EXT4 to EXT3 won't.
With cm going ext4 this is priceless.
Sent from my LG-P999 using xda premium
xsteven77x said:
With cm going ext4 this is priceless.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
A nandroid of ext3 is the same thing also I have installed an ext3 rom over ext4 works great
Sent from my LG-P999 using XDA App
Why do we people want to go back to ext3 when ext4 is much faster and stable than all the other filesystems.
Sent from my LG-P999 using xda premium
Ok I waned to try out rcmix sense 3.5 rom when I installed it overwrites my nand to ext4. It is bad or I need to leave it like that. I'm back to cm 7.1 reaper.
Sent from my HTC Desire S using xda premium
gefilus said:
Ok I waned to try out rcmix sense 3.5 rom when I installed it overwrites my nand to ext4. It is bad or I need to leave it like that. I'm back to cm 7.1 reaper.
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Rephrase your question better.
Are you asking if it is good to have EXT4? Then yes is the answer
I think yes. But yee, I just see in recovery when flashing a rom saying formatting that and that ext4 nand. Then I was wtf ok hope all works. Now I restored back a nacho from cm reaper all works kinda. Some tips mby, I'm new about android first android. So its better?? What a difference. I just want to look on 100 post
Sent from my HTC Desire S using xda premium
Ext4 uses a filesystem performance technique called allocate-on-flush, also known as delayed allocation. It consists of delaying block allocation until the data is going to be written to the disk, unlike some other file systems, which may allocate the necessary blocks before that step. This improves performance and reduces fragmentation by improving block allocation decisions based on the actual file size.
In other words ext is better and makes your phone faster.
Sent from my HTC Desire S using xda premium
did the same, formatted in ext4 all partitions, all's working very well, ext4 is an update from ext3
Deem I flashed 4ext recovery and I notice I have system ext4 data ext3 catch ext2 SD fat 32. All Is ok not good.
Sent from my HTC Desire S using xda premium
gefilus said:
Deem I flashed 4ext recovery and I notice I have system ext4 data ext3 catch ext2 SD fat 32. All Is ok not good.
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Use 4EXT Recovery to convert your file systems to ext4, from my understanding ext4 is backwardly compatible.........
I tryed that and I did get that log when emmc chip fried, tested with command to test it, emmc is ok but my catch partition is corrupted I think, and when I go recovery I see cant mount cache/recovery/command
I get scared out of hell I flashed Eng hboot. Some tips what to do next??
Sent from my HTC Desire S using xda premium
gefilus said:
I tryed that and I did get that log when emmc chip fried, tested with command to test it, emmc is ok but my catch partition is corrupted I think, and when I go recovery I see cant mount cache/recovery/command
I get scared out of hell I flashed Eng hboot. Some tips what to do next??
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Restart into Recovery.
Then format or wipe your cache partition.....this should do no harm to your device and will not loose any data.
I'd then ensure that it's ext4 not ext3 by using the conversion.
Do not be scared about ENG boot that is better, as permits you to do more things...
This one worked, cache/recovery/command is gone and cache works fine I think,
Sent from my HTC Desire S using xda premium
gefilus said:
Ok I waned to try out rcmix sense 3.5 rom when I installed it overwrites my nand to ext4. It is bad or I need to leave it like that.
Click to expand...
Click to collapse
ext4 is the filesystem that comes by default on HTC devices since the middle of the last year. Think about it
So. I repartitioned my internal memory so i could use it to boot up my mac(long story short). I changed it to GUID partition table and formatted it to Mac OSX. Now iforgot how it was originally set up and CMW will not mount/reformat it. Im assuming i need to change it to Master Boot Record and partition it to MS-DOS (FAT). is this correct? will someone please give me some advice?
Look in the dev section for the Batch Cleanup Tool. It rewrites the partitions using NV flash
Sent from my LG-P999 using xda premium
rtotheichie said:
Look in the dev section for the Batch Cleanup Tool. It rewrites the partitions using NV flash
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I tried that but it cannot mount my /emmc therefore it cannot re write the partitions
ʞloʌ uıʇsnɾ said:
I tried that but it cannot mount my /emmc therefore it cannot re write the partitions
Click to expand...
Click to collapse
Can you load cwm? You can format emmc from there and then run the cleanup batch.
Are you able to download the bootloader?
Sent from my LG-P999 using xda app-developers app
---------- Post added at 12:13 AM ---------- Previous post was at 12:10 AM ----------
ʞloʌ uıʇsnɾ said:
I tried that but it cannot mount my /emmc therefore it cannot re write the partitions
Click to expand...
Click to collapse
Btw, I am very interested in this case as I have never come across something that could not be fixed with nvflash and this case seems as the first.
Sent from my LG-P999 using xda app-developers app
EFS backup has two img files, I can mount img file under ubuntu, how can i extract it?
Why?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Why?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Exactly. That's no good reason for it
need to modify some nv item values
Is there a chance those image files are encrypted? I'm thinking that it would be a security hole if you could tamper with the info contained within and then restore the modded image file in recovery. The image partitions would likely be formatted as ext4 so any Linux system should be able to mount such a partition.
Sent from my Nexus 10 using XDA Premium HD app
The partitions are raw emmc format. Can't think of a legal reason to mod these. Its not like samsung where these files need fixing
Sent from my Nexus 5 using Tapatalk
Waiting for the "am I bricked" thread. Lol
Sent from my N5 cell phone telephone....
Ibtl
sent from my hammerhead