Related
Note: This guide is geared toward the Samsung Captivate. If you have a different device, try your device's forum, or search this thread.
Are you using ICS and pulled your phone out of your pocket only to find that it had this screen, saying "Encryption unsuccessful" and your only option a button that said "Reset Phone"? Don't press it! Try rebooting a few times with your external sdcard out first. Sometimes that will fix the issue. If not, take a deep breath and follow the guide below to get your phone usable again:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Too late? Already hit the button? Then you know this screen:
Here's the bad news:
Your partitions for /data and /sdcard are no longer accessible. Latest news points to a bug in the firmware for the memory card in your phone. ICS uses a new function that doesn't work correctly with the affected phones.
Good news:
I found a *workaround* to get my phone to at least work again. Note: You will need to perform steps 9-11 every time you flash a ROM or ROM update, because flashing overwrites the vold.fstab file.
Here were my steps to get your phone working again:
Realize that you may have just lost whatever was on your sdcard and it's your own fault. For me, this was acceptance that *I* installed ICS on my phone and now CWM backups, photos, and more were gone. Once your realization has set in, move forward.
Acquire an micro SD card that you will put into your phone. This will contain your new /data partition as well as your new /sdcard partition. I recommend at least 8GB. If you already have a card, backup whatever is currently on your micro SD card - you *WILL LOSE* everything on this card in the next few steps.
Boot into clockwork mod, using either 'adb reboot recovery', or some other combination of buttons.
Partition your mircosd card through CWM. This will be 'advanced' then 'Partition SD Card'. The first size you choose will be the size of your /data partition. I have a 16GB card and chose 2GB for /data. This will leave me with (16GB-2GB) 14GB for /sdcard. You can choose a different size if you like, depending on how big you want your internal data partition to be. Choose 0M for swap. This process will take a few minutes, so keep waiting, you impatient jerk.
Download the latest build of ICS for your phone and put it on your micro SD card. (You can mount it to your computer at this point in CWM with 'mounts and storage' 'Mount USB storage')
Create a full backup. Just in case. Put it on a computer, dropbox, whatever. Your phone isn't a safe place for backups.
Wipe user data, cache, & system. Now install the ICS package you just put on your card and reboot.
The first boot will take a while, as all first boots do, but after a while you should be back in ICS. Exhale (If you're not exhaling at this point, post something in this thread and I or someone else will help get you running)
Check Settings > Storage and see if your new /sdcard partition (For me it was about 14GB) shows up as 'USB Storage' or 'SD Card' If it's USB storage, then your micro sd mounted to /sdcard successfully and you're done. You should be able to take a picture and have it save. If not...
Edit etc/vold.fstab with whatever you use personally (root explorer for me) and swap paths for /emmc and /sdcard (the part that starts with /devices/platform...). Someone more intelligent than me can probably make this a CWM zip. This step is telling ICS to swap your /sdcard (broken internal sdcard) and your /emmc (working external sdcard). It will probably look like this when you're done:
Code:
# internal sdcard that is no longer working
dev_mount emmc /mnt/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Reboot with your new vold.fstab and check your storage amount in ICS and test your camera (easy test to see if Android can write to the sdcard). Hopefully now this is working for you.
Let me know if you have any questions or (hopefully not) problems!
Notes for myself and devs:
ICS is a lot pickier about mounting filesystems, and if it can't mount /data correctly, it assumes it is encrypted. It really isn't, firing off https://source.android.com/tech/encryption/android_crypto_implementation.html an misleading encryption message.
In ICS and in CWM, when I look at /dev/block/platform/ I only see s3c-sdhci.2 and s5pc110-onenand. The s3c-sdhci.0 block is missing completely. I'm not sure how to even touch the /data or /sdcard filesystem at *ALL*
Oh well.
the camera does not work. The main memory is corrupt.
Using 8gb memory card. Do you have any suggestions for the camera?
edecan said:
the camera does not work. The main memory is corrupt.
Using 8gb memory card. Do you have any suggestions for the camera?
Click to expand...
Click to collapse
#1 dont quote a post that is un-related (especially huge 1st posts)
#2 dont ask unrelated questions in a thread
#3 dont ask questions PERIOD in development threads.
edecan said:
the camera does not work. The main memory is corrupt.
Using 8gb memory card. Do you have any suggestions for the camera?
Click to expand...
Click to collapse
This is happening because your phone is still trying to use your internal sdcard, but it isn't accessible. You will need to trick your phone to use the external sdcard as if it was the internal.
You will need ADB working and your phone in USB Debugging mode (Options>Development) for this part:
Code:
adb pull /system/etc/vold.fstab
This will put your vold.fstab file in the directory you have command prompt running. Open this file and swap the references of 'mmc2' with 'mmc0' and 's3c-sdhci.2' with 's3c-sdhci.0'. It should look something like the example in step 10 of post #1 when you're done. Save and close the file.
Now use these commands:
Code:
adb remount
adb push vold.fstab /system/etc/vold.fstab
if you get permission denied error when doing adb remount then try the following instead :
Code:
adb push vold.fstab /emmc/vold.fstab
adb shell
su
mount -o remount rw /system
cp /emmc/vold.fstab /system/etc/vold.fstab
chmod 644 /system/etc/vold.fstab
mount -o remount ro /system
exit
exit
adb reboot
TRusselo said:
#1 dont quote a post that is un-related (especially huge 1st posts)
#2 dont ask unrelated questions in a thread
#3 dont ask questions PERIOD in development threads.
Click to expand...
Click to collapse
Actually, the question he asked is extremely relevant to my post, specifically step 9. I agree with you #1, though.
cgugino said:
This is happening because your phone is still trying to use your internal sdcard, but it isn't accessible. You will need to trick your phone to use the external sdcard as if it was the internal.
You will need ADB working and your phone in USB Debugging mode (Options>Development) for this part:
Code:
adb pull /system/etc/vold.fstab
This will put your vold.fstab file in the directory you have command prompt running. Open this file and swap the references of 'mmc2' with 'mmc0' and 's3c-sdhci.2' with 's3c-sdhci.0'. It should look something like the example in step 10 of post #1 when you're done. Save and close the file.
Now use these commands:
Code:
adb remount
adb push vold.fstab /system/etc/vold.fstab
if you get permission denied error when doing adb remount then try the following instead :
Code:
adb push vold.fstab /emmc/vold.fstab
adb shell
su
mount -o remount rw /system
cp /emmc/vold.fstab /system/etc/vold.fstab
mount -o remount ro /system
exit
exit
adb reboot
Click to expand...
Click to collapse
Thank you! Everything is working now thank you.
ICS currently using 4.0.3 version of the Onecosmic's ROM version 2.1.
I want to use version 3.1 or CM9 KANG, this time when the boot screen remains. Have his solution
when i follow the steps to pull the file through adb, i get "remote object '/system/etc/void.fstab' does not exist"
phone boots, but when changing via root explorer, the files revert back when I reboot
kwhee07 said:
when i follow the steps to pull the file through adb, i get "remote object '/system/etc/void.fstab' does not exist"
phone boots, but when changing via root explorer, the files revert back when I reboot
Click to expand...
Click to collapse
Make sure you're using vold and not void, as in VOLume Daemon.
OR
Make sure you're remounting the file system with Root Explorer (press the button to change R/O to R/W)
roms kernel glitch does not work.
Boot screen does not turn on the device remains.
edecan said:
roms kernel glitch does not work.
Boot screen does not turn on the device remains.
Click to expand...
Click to collapse
What ROM are you on?
Did you flash a ROM update? If so, this overwrites the vold.fstab and you'll have to fix it. If you're on CM9, try reinstalling the latest update package, then perform steps 9 and on from the first post.
cgugino: i tried again via root explorer(both of the things I did wrong, you called out perfectly, thanks for keeping me in check!), but now the phone wont leave boot animation. I guess I'll flash again, and try to edit the document on my computer via adb
kwhee07 said:
cgugino: i tried again via root explorer(both of the things I did wrong, you called out perfectly, thanks for keeping me in check!), but now the phone wont leave boot animation. I guess I'll flash again, and try to edit the document on my computer via adb
Click to expand...
Click to collapse
Let me know if it doesn't work. Did you partition your external sd card?
no, have not understood me.
Just set up onescomics rom. Install another rom.
Thanx!! I was starting to think i was the only person in the world i have this issue.
In my case, I found several weeks ago my first "encrypted unsuccessful" screen and of course, I push de button. However, I didnt loose all the information in the internal sd card, only system one. I did all wipes and factory reset, but issue continued there. I fixed it connecting the phone to PC during boot.
Nowadays, the problem happens always the phone boots and conecting to the PC is enough to fix it and restart normally.
I understand your guide is in the case you have lost TOTALLY your access to internal Sd Card, isnt it?
However, this is not a permanent solution.
edecan said:
no, have not understood me.
Just set up onescomics rom. Install another rom.
Click to expand...
Click to collapse
The only way I know how to make this work is with the CM9 ROM -- I don't know what onescomics is and if you can't get your phone working, I would recommend staying on ICS.
iperezru said:
Thanx!! I was starting to think i was the only person in the world i have this issue.
In my case, I found several weeks ago my first "encrypted unsuccessful" screen and of course, I push de button. However, I didnt loose all the information in the internal sd card, only system one. I did all wipes and factory reset, but issue continued there. I fixed it connecting the phone to PC during boot.
Nowadays, the problem happens always the phone boots and conecting to the PC is enough to fix it and restart normally.
I understand your guide is in the case you have lost TOTALLY your access to internal Sd Card, isnt it?
However, this is not a permanent solution.
Click to expand...
Click to collapse
That is the case for me where the internal sdcard and data partition is totally lost.
I cannot say for sure how the guide would affect you if you followed it. If CWM thinks that your partitioned external sdcard has the /data partition on it (you could use the mount command and see), when you install ICS, it would install to your actual external sdcard. You may have to edit the vold.fstab in the installer zip file before you install, so that on the first boot, the phone won't try to boot to your internal partitions. Honestly, if you're still under warranty, I'd just flash to stock and try and exchange it.
I know that the 'Encryption unsuccessful' message is triggered because the phone has trouble mounting the /sdcard partition, and with ICS, it assumes that the partition is encrypted. It may be that your partition is taking too long to load, or that it is having issues reading. Either way, I'd make regular backups of *everything* onto your computer, in case one day the whole thing craps out.
As for me, even after I went back to stock Eclair, up to Froyo, and up to GB, I could never get the /sdcard or /data partitions to recognize.
See the section on 'Booting an encrypted system' here for more about how ICS detects 'encrypted' filesystems: https://source.android.com/tech/encryption/android_crypto_implementation.html
cgugino said:
I found a *workaround* to get my phone to at least work again. Note: You will need to perform steps 9 and on every time you flash a ROM or ROM update, because flashing overwrites the vold.fstab file.
Click to expand...
Click to collapse
Do you mean to say that the phone will thereon permanently have to use a microSD when updating ROMs?
raz123 said:
Do you mean to say that the phone will thereon permanently have to use a microSD when updating ROMs?
Click to expand...
Click to collapse
Sadly, yes. You will have to use a microSD card for *everything.* With my phone, I basically don't have an internal SDcard anymore. Completely inaccessible.
I keep a modified vold.fstab file in my /backup folder, and whenever I update CM9, I replace the one that is included and installed in the update with my modified one. This weekend, I might make a CWM-flashable zip file that does this as a side project.
cgugino said:
Sadly, yes. You will have to use a microSD card for *everything.* With my phone, I basically don't have an internal SDcard anymore. Completely inaccessible.
I keep a modified vold.fstab file in my /backup folder, and whenever I update CM9, I replace the one that is included and installed in the update with my modified one. This weekend, I might make a CWM-flashable zip file that does this as a side project.
Click to expand...
Click to collapse
Hmm.
How strange.. Just a few hours ago, this phone was rocking under ICS and the internal SDcard was great.
EDIT: Do you think using AdamOutler's (HW) unbricking method could help?
http://forum.xda-developers.com/showthread.php?t=1242466
raz123 said:
Hmm.
How strange.. Just a few hours ago, this phone was rocking under ICS and the internal SDcard was great.
EDIT: Do you think using AdamOutler's (HW) unbricking method could help?
http://forum.xda-developers.com/showthread.php?t=1242466
Click to expand...
Click to collapse
I agree with you on the strangeness! I wish I could offer a solution to get your internal sdcard files back, but there doesn't seem to be one at the moment. The other interesting thing is that the encryption guide for 3.0 says that encryption isn't even usable with the YAFFS file system, which I believe the Captivate uses.
If your phone is under warranty...there may be another option for you. I contacted about 3 other people that had threads related to this issue and everyone that responded said that Samsung replaced the motherboard.
What's your phone build? Mine is 1012 Rev 0.4
Edit: I haven't tried Adam's unbricking mod, and don't think I will. For me, the phone is now working perfectly and has full functionality, outside of the loss of the original /data and /sdcard partitions. I'm not going to crack it open and start soldering. However, if you do try his mod, please let us know the results!
alright follow these steps and you good to go
mounting sd card via command prompt (via adb)
1) go to your's phone's file manager
2) create a folder named external_sd in /sdcard/ (you have to make this folder to mount sd card in /sdcard/ !!!
3) inject this command in cmd (adb)
Code:
su
mount -o bind /mnt/emmc /sdcard/external_sd
and done enjoy ......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
mounting sd card via terminal (terminal file added for newbies )
first do step 1 and 2 above .
then inject this code in terminal
Code:
busybox mount --bind /mnt/emmc /mnt/sdcard/external_sd
after mounting sd card to /sdcard/external_sd
done ......... enjoy
Is it mounted under both then?
Yeah i am wonering about that too.Also can we makecthis auto on every boot?
Sent from my GT-I9000 using Tapatalk 2
dark_knight35 said:
Is it mounted under both then?
Click to expand...
Click to collapse
yes but those apps who need "external_sd" will find it
dreamer94 said:
Yeah i am wonering about that too.Also can we makecthis auto on every boot?
Click to expand...
Click to collapse
i guess we have to mount external sd card after every boot (due to nand stuff)
EDIT : this might work for the script to work on every boot. http://www.xda-developers.com/tag/samsung-vibrant/
old stuff i created with buragan such a thread...
dreamer94 said:
Yeah i am wonering about that too.Also can we makecthis auto on every boot?
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
for doing this every boot you could use this...
hope it helps you.
greetz,
sUsH
apk_xiz said:
alright follow these steps and you good to go
mounting sd card via command prompt (via adb)
1) go to your's phone's file manager
2) create a folder named external_sd in /sdcard/ (you have to make this folder to mount sd card in /sdcard/ !!!
3) inject this command in cmd (adb)
Code:
su
mount -o bind /mnt/emmc /sdcard/external_sd
and done enjoy ......
mounting sd card via terminal (terminal file added for newbies )
first do step 1 and 2 above .
then inject this code in terminal
Code:
busybox mount --bind /mnt/emmc /mnt/sdcard/external_sd
after mounting sd card to /sdcard/external_sd
done ......... enjoy
Click to expand...
Click to collapse
Hi !
I am a noob in all these tech stuff so plllleeeesee explain ....what is cmd(adb) and where do I locate that in file manager ? Sorry for my ignorance bro !
Thanks !
sammyservices said:
Hi !
I am a noob in all these tech stuff so plllleeeesee explain ....what is cmd(adb) and where do I locate that in file manager ? Sorry for my ignorance bro !
Thanks !
Click to expand...
Click to collapse
just download terminal (you need root) then just inject code(write) in terminal, easy no need to have adb in cmd (command prompt)
Code:
busybox mount --bind /mnt/emmc /mnt/sdcard/external_sd
see picture :good:
Attached small script i wrote to automate this. Use it with Script Manager: unpack, put on your sdcard and run as root on boot.
save line below in text file, no file extension
mount -o bind /mnt/emmc/ /mnt/sdcard/external_sd
use play store app: "smanager" free, to run script on boot + su
May found problem
I've tried this method long time ago but it's not perfect.
When you want to connect pc sometimes it does not recognize your external sd card.
You need to umount that path if want to connect pc or mount drive to not occur problem.
frankind said:
I've tried this method long time ago but it's not perfect.
When you want to connect pc sometimes it does not recognize your external sd card.
You need to umount that path if want to connect pc or mount drive to not occur problem.
Click to expand...
Click to collapse
I agree : it does only mount my external SD on my computer now.
i can mount external sd card in my pc. but in file manager i have to mount via emmc..so is this fix for sd_card/external sd_card or mounting in pc or both?
Is there an equivalent of the fstab file found on regular linux distros.
Does anybody know which script auto-mounts the SD card @ /mnt/emmc
And also do you know if the double-mounting with
busybox mount --bind /mnt/emmc /mnt/sdcard/external_sd
could result in duplicated files as per the SD card media scan. I'm already getting some duplications the way things are now.
Do you think a
su && ln -s /mnt/emmc /mnt/sdcard/external_sd
could possibly work? The folder might need to be deleted first for ln to work and I already have files within the folder but somebody else might have also tried it.
I'm currently pretty busy with finals and don't have much free time to experiment.
z-vet said:
Attached small script i wrote to automate this. Use it with Script Manager: unpack, put on your sdcard and run as root on boot.
Click to expand...
Click to collapse
OMFG, never though that this would work!
Finally both of my galaxies are ice cream 'sandwichified'
Many thanks for you script :highfive:
May i know how to reverse back if it not working? Cos mine phone are LG-P990 wanna try it. Tks
i have some image in external sd and if i mount my extsd into the dir sdcard/external_sd i have double image in gallery
the gallery found the image in emmc and in external_sd dir, also the mp3 are duplicate.
I have try directorybind apk also.
grifovunque said:
i have some image in external sd and if i mount my extsd into the dir sdcard/external_sd i have double image in gallery
the gallery found the image in emmc and in external_sd dir, also the mp3 are duplicate.
I have try directorybind apk also.
Click to expand...
Click to collapse
U mean it also save to emmc? what about in the touch recovery?
i can reach that folder /storage/emulated/legacy/Android/data
but i cant reach that folder /storage/emulated/legacy/Android/obb
any ideas?
sir i have a arise rowdy t1+ phone its board is sp6820gb_7620 and cpu id is 8810 cpu frequency is 1ghz and ram is 512mb with mali 300 gpu,
android version is 2.3.6 and kernal version is 2.6.35.7 [email protected] #7, software version is mocordroid2.3.6.w12.20_p20.01_20130715.130506, hardware version is 1.1.0. my problem is that my phone has only 128 mb of internal memory and when i tried to edit vold.fstab to swap its memory with memory card it stopped detecting sd card when turned on but when in recovery mode sd is shown present, i think its very similar to karbonn a1+ in hardware and software part so can you please help me with my phone?
Sup!
The problem is, that after i install ROMs via NAND+ext i cannot simply use it, because after rebooting it shows htc logo and then screen goes black.
I used only NAND roms before, because my sd card always failed to create an EXT partition on it.
But idk why, few days ago i noticed that while wiping, it didn't skip EXT partition like always, so i created one via TWRP recovery and tried to install some roms on ext.
I've done several full-wipes etc, but always it succeeds with installation, and then it goes black screen on rebooting.
What can be the problem? I thought it might be boot.img-related, but same thing occurs in 2nd rom i try to install.
I don't want to go back to old NAND rom, so if you guys could help me out, i would be really happy.
I spent several hours looking for a solution, but no positive results..
Also, i had a problem in trying to reanimate my phone via Fastboot/ADB; simply because i don't know how to proceed from bootloader to fastboot to get my phone connected with pc commands...
I tried to flash this and that ROMs.
Regards!
you could try;
changing recovery (eg 4ext), i always seem to have trouble with twrp flashing sboot, 4ext works ok
increase sboot or boot size
format ext4 with 4ext recovery
not used fastboot much, there is a tutorial here http://forum.xda-developers.com/showthread.php?t=2277112
hope this helps
if not post your setup, partition sizes etc.
Thanks for reply Robbie!
Firstly, i cannot find 4EXT recovery to flash it straight from PC :/ Any other recommended recovery's?
Secondly, not sure if i understand sboot and boot resizing correctly.
Also, when i flash TWRP for example, in config file when i change system ya[/B ] to 280mb is it enough? I mean, when i change size via HD2Toolkit, it automatically applies CWM...
http://goo.im/devs/Xylograph/Various/Recoveries/NAND
flash it using existing recovery
in later versions of clk you can easily resize your partitions, sometimes increasing boot partition may solve booting problems.
eg black lk from here http://www.mediafire.com/download/n0aa6qv88t3n1sv/black_lk_20130506-Ex-TWRP_2_5_0_5.zip
extract it, browse to leoimg.nbh using hd2 toolkit "install custom NBH/NB RUU" and install.
Then flash 4ext using the included recovery.
Profit?
Robbie P said:
http://goo.im/devs/Xylograph/Various/Recoveries/NAND
flash it using existing recovery
in later versions of clk you can easily resize your partitions, sometimes increasing boot partition may solve booting problems.
eg black lk from here http://www.mediafire.com/download/n0aa6qv88t3n1sv/black_lk_20130506-Ex-TWRP_2_5_0_5.zip
extract it, browse to leoimg.nbh using hd2 toolkit "install custom NBH/NB RUU" and install.
Then flash 4ext using the included recovery.
Profit?
Click to expand...
Click to collapse
Never thought of going to CLK though
Okay, i have clk now.
So i need to put 4ext zip into SD card throught TWRP usb plugging, and then install it straight from twrp?
Update!
I flashed 4EXT, althought i had strange code message after flashing it:
Code:
Writing recovery partition...
All done.
Updating partition details...
E:Failed to mount '/system' (MTD)
Partition details updated
Anyway, it seems to load w/o problems
Whats my point... i noticed, that i have ext2 partition on my phone, not ext4.
Can it cause black screen problem?
What to do now?
(So many questions..)
~EDIT~
i used built-in partitioning to get EXT4 partition, then installed tytung's rom again, ofc succeed etc.
But after reboot i see htc logo for 1 sec, then black screen ... sigh
ZathuraPL said:
Update!
I flashed 4EXT, althought i had strange code message after flashing it:
Code:
Writing recovery partition...
All done.
Updating partition details...
E:Failed to mount '/system' (MTD)
Partition details updated
Anyway, it seems to load w/o problems
Whats my point... i noticed, that i have ext2 partition on my phone, not ext4.
Can it cause black screen problem?
What to do now?
(So many questions..)
~EDIT~
i used built-in partitioning to get EXT4 partition, then installed tytung's rom again, ofc succeed etc.
But after reboot i see htc logo for 1 sec, then black screen ... sigh
Click to expand...
Click to collapse
You need yaffs2 for nand for android to work
lolerpro8 said:
You need yaffs2 for nand for android to work
Click to expand...
Click to collapse
Okay, but... how to...get it ?
~EDIT~
Reflashed SlimRom with ext, but it hangs on htc logo again..
ZathuraPL said:
Okay, but... how to...get it ?
~EDIT~
Reflashed SlimRom with ext, but it hangs on htc logo again..
Click to expand...
Click to collapse
so, what are your partition sizes, nand and sdcard?
remember, if using nand with data on ext, you can afford a huge 350mb system partition or more since your data (apps and stuff) is on your ext4 sdcard partition.
Please provide details
Robbie P said:
so, what are your partition sizes, nand and sdcard?
remember, if using nand with data on ext, you can afford a huge 350mb system partition or more since your data (apps and stuff) is on your ext4 sdcard partition.
Please provide details
Click to expand...
Click to collapse
Here it goes!
recovery 8
boot 5
misc 1
system 235
userdata 157
sboot 10
cache 5
+ i have 2gb ext4
SlimRom requires about 210 system partition, so i set 235.
ZathuraPL said:
Here it goes!
recovery 8
boot 5
misc 1
system 235
userdata 157
sboot 10
cache 5
+ i have 2gb ext4
SlimRom requires about 210 system partition, so i set 235.
Click to expand...
Click to collapse
increase system to 350mb and reinstall "nand with dataonext" and see
Robbie P said:
increase system to 350mb and reinstall "nand with dataonext" and see
Click to expand...
Click to collapse
htc
...
...
SLIMbean
...
...
...
so far it went past htc logo, but it keeps showin me SLIMbean animation
humm..
~EDIT~
i went to setup wizard, but it kept crashing. I forgot to flash gapps as in thread...sigh.
wiped system partition, flashed gapps, and now booting.
Hopefully it will get to work now!
edit2:
htc logo for about 5 minutes already
EDIT3:
i fully wiped phone, reflashed rom and gapps, it booted (waited like 15min though), but i have some strange problems with going through setup wizard again.
Mainly it stops working after few minutes, and it launches again and again. Sometimes i make till wifi/gmail sync, but for example it keeps obtaining wifi for like minute, in meanwhile Calendar Memore stops working... then it freezes, stops working, and from beginning...Once i made it through Google GPS localization.
The ****...?
Okay, after wipe and reflash, i faced same situation, but not sure why, Setup Wizard after 10 minutes of struggling allowed me to finish setup :highfive:
I still received "Calendar Storage has stopped working" every 10 seconds, so i cleared cashe of it in settings, seems to be solved.
Now, the only issues i face are:
- my phone shows me no internal storage at all...
In settings > apps, Internal storage bar is all grey without any numbers, also i cannot even update Nova Launcher because of insufficient space.
It would be quite sad to have my phone finally working, but with no storage to install basic apps like facebook, etc
-as i want to reboot my phone, it popped Setup Wizard again... WHAT THE!
Please help me with these problems...! :laugh:
EDIT:
i googled ''a bit'', and tried to copy busybox from /system/xbin to /system/bin, but i see no positive results..
Problem has changed.
Another update, but now quite positive.
After reflashing Slimrom and tytung's one over n over, i tried to flash tytung's 4.2.2, well, it succeeded.
Now i have 1,2gb of internal free memory, and it all seem to work flawlessly.
No idea why previous 2 roms didnt work 100%'ly :/
I think i won't do anything now, i am happy to have 4.2.2 features now, after 1 years of being stuck with 4.1.2
Anyways, big thanks for you Robbie. You are my life-saver once again!!!
Have a good night y'all, yawn
###EDIT###
Rom runs smoothly, i have 1,2Gb of internal memory, but my Google Play tells me "No connection. Retry" everytime i open it
Which means i canno't update/download anything.
Tried clearing cache,data,force stop,reboots, still no profits >.< im not into factory reset again though..
_____ EDIT _____
After wake up, around 1 hour of previous usage, i had black screen... rebooted -> Setup Wizard (although no errors or fCloses, only again no internal memory )
ZathuraPL said:
After wake up, around 1 hour of previous usage, i had black screen... rebooted -> Setup Wizard (although no errors or fCloses, only again no internal memory )
Click to expand...
Click to collapse
it sounds like your ext4 partition (/data) is not being recognised.
Since you have to reflash, try deleting all partitions and format whole card with official formatter, then set up your ext4 partition again, use recovery to format it.
Try install again.
What is your sd card make, and class?
Robbie P said:
it sounds like your ext4 partition (/data) is not being recognised.
Since you have to reflash, try deleting all partitions and format whole card with official formatter, then set up your ext4 partition again, use recovery to format it.
Try install again.
What is your sd card make, and class?
Click to expand...
Click to collapse
hold on, gonna plug it through 4ext and try to format
Will edit when im done
_____________________________
Done formatting
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also created 2 ext4 partitions (who will forbid lol) 1,5 and 1gb.
Now will flash SlimRom and gApps, i will update again as i get some new info
Robbie P said:
What is your sd card make, and class?
Click to expand...
Click to collapse
about sd card? umm, i think it's SanDisk, but what class... i don't remember.
UPDATE.
I hope that system will survive the night without problems..
Everything runs quite good, i have problems with syncing contacts, but i think i will bypass it.
I connected to Google Play, i have 1,2 Gb of internal memory, so this is positive.
One problem is that when i try to install apps from GPlay, blue bar keeps running infinitely... like something blocks apps from installing.
Gonna try uninstalling GPlay updates, maybe it will help..
Will update again tomorrow!
UPDATE.
Nope.
Again, after about an hour, system started cutting me off more and more processes, so i rebooted, and then i had infinite Cyanogenmod boot animation...
I think im gonna try freaking 4.1.2 with DoE or Nand...
This sd card makes me wanna break this phone into puzzles
PACman 1.2 doesnt work with Ext , but on NAND i have only 197mb of free internal storage after fresh install I wish i could increase this
i got a HD2 and sent it to a store so they will install android on it, they did and it returned with a nice rom, fast and nice looking.
the only problem is that the phone shows that he dosn't have any internal storage, i cant download any apps or recive SMS or any thing like that.
the guy in the store cant fix it ( T__T) and he said (after a few times he sent it to the lab back and forward) that it should work now and if it dosn't he will give me the money back...
well it most be a fixable problem so if you guys could help me that will be great.. im not really good at this stuff so its difficult for me to learn it online.
What rom did they install? look in settings/about phone
If you pay someone to install android, it should work, so a refund might be appropriate.
Robbie P said:
What rom did they install? look in settings/about phone
If you pay someone to install android, it should work, so a refund might be appropriate.
Click to expand...
Click to collapse
i write the categories i think may be related in ''about phone'':
Karnel version:
2.6.32_tytung_ics_r3.6
Build number:
IMM76L (NexusHD2-ics-cm9-HWAV3.0b) [DataOnEXT]
and of course i will recive my money back..
yoniaialon said:
i write the categories i think may be related in ''about phone'':
Karnel version:
2.6.32_tytung_ics_r3.6
Build number:
IMM76L (NexusHD2-ics-cm9-HWAV3.0b) [DataOnEXT]
and of course i will recive my money back..
Click to expand...
Click to collapse
Nice ICS rom
It seems that the rom is not using the ext4 partition for memory as it should (DataOnEXT). What bootloader is installed? On startup immediately press either the end-call button (if magldr is bootloader, you should get a menu) or the back button (if clk is bootloader, you should get a menu)
I pressed the end-call botton right after startup and got a boot manu so i guess magldr is bootloader..
go to magldr menu/8. ad recovery, it should boot your recovery, and tell us what recovery name and version you have installed. Also all information it gives regarding your sd card partitions, size etc.
Robbie P said:
go to magldr menu/8. ad recovery, it should boot your recovery, and tell us what recovery name and version you have installed. Also all information it gives regarding your sd card partitions, size etc.
Click to expand...
Click to collapse
i chose the AD recovery and another manu apeared, it says CWM Touch beta 8 by munJeni
here is a pic:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
where do i fint the rest of the information you asked for?
I haven't used that recovery, what does the advanced menu show?
Robbie P said:
I haven't used that recovery, what does the advanced menu show?
Click to expand...
Click to collapse
-Reboot Recovery
-Wipe Dalvik Cache
-Wipe Battary Cache
-Report Error
-Key Test
-Show log
-Partition SD Card
-Fix Premissions
those are all the option in the Advanced menu.
what does partition sdcard show?
And in the previous menu, what does mounts and storage show?
Questions questions I know, sorry
Robbie P said:
I haven't used that recovery, what does the advanced menu show?
Click to expand...
Click to collapse
Robbie P said:
what does partition sdcard show?
And in the previous menu, what does mounts and storage show?
Questions questions I know, sorry
Click to expand...
Click to collapse
Mount and storage:
-mount /boot
-unmount /cache
-mount /data
-mount /sdcard
-mount /system
-mount /sd-ext
-format /boot
-format /cache
-format /data
-format /sdcard
-format /system
-format /sd-ext
-mount USB storage
----------------------------------------
Partition SD card:
-128m
-256m
-512m
-1024m
-2048m
-4096m
---------------------------------------
ask as much as you want xD
I might be wrong, but I think you need to re-format your sd-ext partition, using the option in mounts and storage. It needs to be formatted to ext4, and I am sure that the recovery you have supports ext4 format.
Just a quick question, every time you boot the rom, do you have to go through the setup, language, wifi, time zone etc?
Robbie P said:
I might be wrong, but I think you need to re-format your sd-ext partition, using the option in mounts and storage. It needs to be formatted to ext4, and I am sure that the recovery you have supports ext4 format.
Just a quick question, every time you boot the rom, do you have to go through the setup, language, wifi, time zone etc?
Click to expand...
Click to collapse
yes i do... how did you know?
i thought it was because of the lack of internal storage...
so i need to re-format the sd-ext partition?
yoniaialon said:
yes i do... how did you know?
i thought it was because of the lack of internal storage...
so i need to re-format the sd-ext partition?
Click to expand...
Click to collapse
give it a go, can't hurt. Then reboot the rom and report back:fingers-crossed::fingers-crossed::fingers-crossed:
Robbie P said:
give it a go, can't hurt. Then reboot the rom and report back:fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Tytung is using the NativeSD data folder for DataOnExt (same as my script);
I'd say it's likely that whoever installed the ROM partitioned/changed the sdcard after installing thus removing this folder:
If the ROM has a terminal emulator app:
su
mkdir -p /NativeSD/NexusHD2-ICS/data
If not install a recovery with a terminal (Extended TWRP for example)
mount => sd-ext
advanced => terminal
mkdir -p /sd-ext/NexusHD2-ICS/data
Or you could use adb or reinstall the ROM.
Robbie P said:
give it a go, can't hurt. Then reboot the rom and report back:fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Didn't worked...
HypoTurtle said:
Tytung is using the NativeSD data folder for DataOnExt (same as my script);
I'd say it's likely that whoever installed the ROM partitioned/changed the sdcard after installing thus removing this folder:
If the ROM has a terminal emulator app:
su
mkdir -p /NativeSD/NexusHD2-ICS/data
If not install a recovery with a terminal (Extended TWRP for example)
mount => sd-ext
advanced => terminal
mkdir -p /sd-ext/NexusHD2-ICS/data
Or you could use adb or reinstall the ROM.
Click to expand...
Click to collapse
i dont know how to do those things.. if u could explain it step by step it would be great....:fingers-crossed:
rather than explaining, if I have time I will post a flashable zip with that code in it.:fingers-crossed:
Robbie P said:
rather than explaining, if I have time I will post a flashable zip with that code in it.:fingers-crossed:
Click to expand...
Click to collapse
so in the meanwhile.. how do i fix the phone?
yoniaialon said:
so in the meanwhile.. how do i fix the phone?
Click to expand...
Click to collapse
Sorry, forgot about this
I am working today, will try and post a flashable zip this evening.
Ok, put the attached zip onto your sdcard by either using a microsd card reader or using the usb cable and choose to copy files to/from your computer from the running rom.
Then go to magldr > ad recovery and install the test.zip from sdcard, you should get some text followed by update completed.
Restart the rom, set it up, reboot, profit?
I need to update my PRL to get my LTE back and I cannot get a single TW based rom to not go into a boot loop. I used to be able to use Odin and flash back to stock. But something happened right after trying out a lollipop CM12 rom. I lost my LTE and couldn't flash back to stock with out a boot loop.
As a last ditch attempt I tired flashing this Rom with TWRP and Odin. That failed as well.
I have been doing full wipes with each attempt. Tried with both the stock recovery and TWRP.
I also reformat the /data partition before and after the flash.
Anyone have anything else I can try?
At least I'm able to go back to CarbonRom and have 3g in the mean time.
Thank you for your time,
Dekthor
Wipe internal SD
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bilgerryan said:
Wipe internal SD
Click to expand...
Click to collapse
Yes, I did mention I did that with TWRP "I also reformat the /data partition before and after the flash. " Unless /data isn't the internal SD.
Any other ideas?
drezliok said:
Yes, I did mention I did that with TWRP "I also reformat the /data partition before and after the flash. " Unless /data isn't the internal SD.
Any other ideas?
Click to expand...
Click to collapse
No, internal SD and data are definitely not the same thing.
bilgerryan said:
No, internal SD and data are definitely not the same thing.
Click to expand...
Click to collapse
When using TWRP and formatting /data it also formats the /media there by purging the device of ALL user data and files. I am confused as to how it's not the internal memory that is allocated for users.
I have tried 3 different recoveries and none of them use the old term of "Wipe SD".
I have "wipe data/factory reset" for stock, which when used says it formats /data and /cache.
Clockworkmod has "factory reset" and "format /data and /media" in the advanced menu.
TWRP has "Format Data" with a dialog which you are warned that it will delete all user data and you have to confirm by typing yes into the box before it allows you to proceed. TWRP also has the standard factory reset wipe but also shows that is not formatting /media. Which would be the user's file storage also called /sdcard.
All of these have failed. But I can confirm that there is nothing in the /sdcard afterwards.
So if I am still incorrect please point me to the correct documentation.
drezliok said:
When using TWRP and formatting /data it also formats the /media there by purging the device of ALL user data and files. I am confused as to how it's not the internal memory that is allocated for users.
I have tried 3 different recoveries and none of them use the old term of "Wipe SD".
I have "wipe data/factory reset" for stock, which when used says it formats /data and /cache.
Clockworkmod has "factory reset" and "format /data and /media" in the advanced menu.
TWRP has "Format Data" with a dialog which you are warned that it will delete all user data and you have to confirm by typing yes into the box before it allows you to proceed. TWRP also has the standard factory reset wipe but also shows that is not formatting /media. Which would be the user's file storage also called /sdcard.
All of these have failed. But I can confirm that there is nothing in the /sdcard afterwards.
So if I am still incorrect please point me to the correct documentation.
Click to expand...
Click to collapse
In TWRP go to advanced wipe and select internal
mattzeller said:
In TWRP go to advanced wipe and select internal
Click to expand...
Click to collapse
Done. Still boot loops.