This guide for GTP1000 internal SD damaged and removed
This link is guide how to remove movinand chip:
http://forum.xda-developers.com/showthread.php?t=1877585
How to flash Overcome Stock ROM
- to prepare you must have
Overcome gb_Stock_save_v5.tar (modem.bin needed),
overcome_kernel_v4.0.0.tar or CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar
and root explorer.apk,
- make 3 partition on microSD, 1st fat32, 2nd ext4, 3th ext4,
example : 16 gb -> 13.6gb fat32, 2gb ext4, 0.4gb ext4
use gparted on linux or MiniTool Partition (Windows)
- remove hidden.rfs, movinand.mst from GB_Stock_Save_v5.tar
- copy root explorer.apk to microSD, then plug to gtp1000
- turn on download mode, flash by odin, DON'T CHECK REPARTITION
- after finished, auto restart and will showed error MBR bla bla
(because movinand doesn't exists anymore), ignore it,
if doesn't boot but cwm recovery then wipe factory reset/data, wipe partition,
reboot system
- wait for about 5 - 10 minute, then turn off
- download mode, Flash kernel your choose (must be suport ext4), restart automaticaly when finished. wait until everyting done.
- Unplug usb from PC, on your gtab go to setting, application,
check mark -> Unknown source
development,
check mark -> USB debugging
- connect usb to PC, use adb from PC, and follow this code:
c:\adbtool\adb shell
~$
if your access not root then type
~$ su
take a look your GTP1000 superuser message, then tab allowed
~# mount -t vfat /dev/block/mmcblk0p1 /sdcard
- run my files on your gtab, explore and install root explorer.apk
- open root explorer, tap mount R/W, tap and hold vold.fstab on /system/etc,
select "open in text editor" edit follow this:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = disable
format_option = -r 1558
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
save, exit from root explorer, restart gtab, and profit
Edit:
If overcome kernel fail then try CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar
One think i wanna know..
Why internal-sd broken??
I dont know is corrupt is similar with broken or not but overcome kernel (now with my personal kernel) on recovery mode with parted command can solve my internal-sd problem..
I don't know why
May be oc then over heating or else, but last i use is wifi theater for a long time then turn off by self, stuck on samsung logo when i turn on again
So i restock with overcome, nothing happen, restock samsung firmware, nothing happen too, edit some rc not work too, edit file on /system/etc/init.d and vold.fstab not fully function.
Google it, and found someone (CrhisCTX)with the same problem and he fix by removed movinand chip.
http://forum.xda-developers.com/showthread.php?t=1877585
Sent from my GT-P1000
Would you share your personal kernel for me or us
Sent from my GT-P1000
Btw,
Remove partition and recreate it by parted, doesn't work for me, when i restart partition will back as it, and data still there, some kind read only partition, i don't know
Sent from my GT-P1000
goofey2012 said:
Btw,
Remove partition and recreate it by parted, doesn't work for me, when i restart partition will back as it, and data still there, some kind read only partition, i don't know
Sent from my GT-P1000
Click to expand...
Click to collapse
Im sorry my english is not good enough but can u give 'mount' and 'parted /dev/block/mmcblk0 print' result ?
If internal-sd broken so which partition u use for /data ? As long as i know /data use mmcblk0p2 and if internal-sd broken i thing u can use that partition too..
Yes it is, thats why i create 3 parition. Fat32,ext4,ext4
After remove movinand chip from main board, mmcblk1 automaticaly known as mmcblk0, but the blocks still on /sys/devices/platform/s3c-sdhci.2/mmc_host/mmc1
mmcblk0p3 mount as /preload (note: on gb)
mmcblk0p2 mount as /data
mmcblk0p1 not automaticaly mount as /sdcard
So thats why i need edit vold.fstab manualy
Sent from my GT-P1000
Mmm i see maybe internal-sd is realy broken not only corrupt.. coz if only corrupt parted, fat.format, mkfs.ext2 or other command can solve it..
savie said:
Mmm i see maybe internal-sd is realy broken not only corrupt.. coz if only corrupt parted, fat.format, mkfs.ext2 or other command can solve it..
Click to expand...
Click to collapse
Can you share the code how to mount external sd like your pic attach in other thread.
savie said:
How about this one...
Click to expand...
Click to collapse
Sent from my GT-P1000
mounting script
Sorry for late respon.. I only add that script to init.d folder.. Make sure mmcbkl1p2,3,4 as ext4 if that partition as rfs so need edit ext4 to rfs on script file..
I use that script to check/modify my 2ndRom on 1stRom..
savie said:
mounting script
Sorry for late respon.. I only add that script to init.d folder.. Make sure mmcbkl1p2,3,4 as ext4 if that partition as rfs so need edit ext4 to rfs on script file..
I use that script to check/modify my 2ndRom on 1stRom..
Click to expand...
Click to collapse
I think your script doesn't change /data to mmcblk1p2
Sent from my GT-P1000
goofey2012 said:
I think your script doesn't change /data to mmcblk1p2
Sent from my GT-P1000
Click to expand...
Click to collapse
Yupz its doesnt as i say before it only help me to know my 2ndRom is exsist when i use my 1stRom..
Dont confuse with double mount /system (thats bugs on my kernel till now) in fact its /system running on mmcblk1p2
i would to thank you
so i've try it but i know nothing about android system files so i 'm a big noob )
but :
i 've flashed like you say just the rom i ve used overcome 7 4.10
How to flash Overcome Stock ROM
- to prepare you must have
Overcome_7_Series_v4.1.0_Wipe
overcome_kernel_v4.0.0.tar or CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar
- make 3 partition on microSD, 1st fat32, 2nd ext4, 3th ext4,
example : 16 gb -> 13.6gb fat32, 2gb ext4, 0.4gb ext4
use gparted on linux or MiniTool Partition (Windows)
and edit vold.fstab with note pad with
- open Overcome_7_Series_v4.1.0_Wipe in winrar "windows users",vold.fstab on /system/etc,
select "open in notepad ++" edit follow this:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = disable
format_option = -r 1558
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
save your new file in the overcome zip and boot your gtp1000 tab in recovery mod and go to install zip from internal and let do it the gtp1000 will reboot , it's take time so and you will see your fat 32 partition as internal sd ))) i hope taht answer will help
thank too all develloppers
why only this stock ROM can be flashed ? I want arabic stock ROM how can I flash ? I tried but with no success
Weird ! I followed all steps but I don't see my FAT partition ( 13gb ) in phone Storage ! what's wrong ?
what's working vold.fstab I have to use to solve that ?
bump !
psytr0nic said:
Weird ! I followed all steps but I don't see my FAT partition ( 13gb ) in phone Storage ! what's wrong ?
what's working vold.fstab I have to use to solve that ?
Click to expand...
Click to collapse
yes
mine too
please help..
what to do ...
im not sure this thing work really ... I tried about 3 times on 3 different phones! best seem to change emmc chip
I'm curious as to feasibility of either swapping this Chip for a larger 32GB Chip, or simply replacing it if need be.
Seems to me the hard part would be finding the correct kind of Glue to use though. I can't imagine that getting hold of these Chips would be any more harder then any other Part of the P1000...
cocomeoo said:
yes
mine too
please help..
what to do ...
Click to expand...
Click to collapse
let me see your vold.fstab
Related
HELP
Comming from Indroid 4.1, my a Class 6 16Go SDCard has 3 partitions (FTAT32, ext2 and ext4), I try to install Dharam Clean Performance but I can't have /system -ext2 /data -ext4 /cache -ext2.
I use Dharam FileSystem Changer and select :
---------------------------------DATA2SD---------------------------
11. Special (Cache: ext2, Data: ext4, System: ext2)
After reboot, I got stl6 ext2, stl7 rfs and stl8 ext2 mounted !!!
In /sdcard/android/data/fugumod/fs.current, I have
mmcblk0p2 ext4
stl6 ext2
stl7 rfs
stl8 ext2
and Data2sd is not enabled !!!
Shall I check an other option ?
Thanks for answer
chakti said:
HELP
Comming from Indroid 4.1, my a Class 6 16Go SDCard has 3 partitions (FTAT32, ext2 and ext4), I try to install Dharam Clean Performance but I can't have /system -ext2 /data -ext4 /cache -ext2.
I use Dharam FileSystem Changer and select :
---------------------------------DATA2SD---------------------------
11. Special (Cache: ext2, Data: ext4, System: ext2)
After reboot, I got stl6 ext2, stl7 rfs and stl8 ext2 mounted !!!
In /sdcard/android/data/fugumod/fs.current, I have
mmcblk0p2 ext4
stl6 ext2
stl7 rfs
stl8 ext2
and Data2sd is not enabled !!!
Shall I check an other option ?
Thanks for answer
Click to expand...
Click to collapse
u flashed dharam clean performance rite...
so now u need to re-enable data2sd using this...
re-enable, not enable(this may cause u to lose ur data)
once u re-enable and get ur partitions working...
Thank you dharammaniar for quick replay.
I'll try.
Can you tell the right way to prepare a proper flash.
I format all, create 1,2Go ext2 partition and flash JPM.
What are the optimal size for ext2 et ext4 I have to create with minitool ?
Shall I let the sdcard in the phone during Odin flash ?
Thanks for very usefull help.
chakti said:
Thank you dharammaniar for quick replay.
I'll try.
Can you tell the right way to prepare a proper flash.
I format all, create 1,2Go ext2 partition and flash JPM.
What are the optimal size for ext2 et ext4 I have to create with minitool ?
Shall I let the sdcard in the phone during Odin flash ?
Thanks for very usefull help.
Click to expand...
Click to collapse
1) FLash XXjPM
2) FLash my ROM(Performance edition i suggest)
3) once u have the rom working fine without data2sd, then continue ahead.
4) partition sdcard using cwm recovery...size for sd-ext and swap-whatever u req...
5) reboot.
6) use data2sd enabler...and use first option in it
7) once data2sd is working, use filesystemchanger to special with data2sd...
This.should be enuf...
Really pleased
Thanks
chakti said:
Really pleased
Thanks
Click to expand...
Click to collapse
u r welcome
I follow the steps :
1) FLash XXjPM
2) FLash my ROM(Performance edition i suggest)
3) once u have the rom working fine without data2sd, then continue ahead.
4) partition sdcard using cwm recovery...size for sd-ext and swap-whatever u req...
5) reboot.
But I cannot anymore connect my phone to PC to do
6) use data2sd enabler...and use first option in it
7) once data2sd is working, use filesystemchanger to special with data2sd...
I use win7 64, in control panel the phone reconized as ADB interface and USB Controlers as SAMSUNG Android Composite ADB Interface but no usb drive is mounted and even ODIN doesn't reconize it.
I remember once with other rom, having the same issue and after reflash it comes back !!
Do you have any solution to my problem ?
Thanks in advance
Try rebooting both phone n PC...if no den uninstall device from device manager...reboot pc and den connect phone...should happen then...
dharammaniar said:
Try rebooting both phone n PC...if no den uninstall device from device manager...reboot pc and den connect phone...should happen then...
Click to expand...
Click to collapse
I did :
connect the phone
uninstall the device
reboot both
connect the phone, it reinstalls all the drivers
not reconized by ODIN
select as USB masse storage on the phone, the device open in the file explorer
unmount the masse storage and retry ODIN
nothing
reboot all
wipe data/cache
All the time the same
I'm really confused !!!
any other idea ?
thx
chakti said:
I did :
connect the phone
uninstall the device
reboot both
connect the phone, it reinstalls all the drivers
not reconized by ODIN
select as USB masse storage on the phone, the device open in the file explorer
unmount the masse storage and retry ODIN
nothing
reboot all
wipe data/cache
All the time the same
I'm really confused !!!
any other idea ?
thx
Click to expand...
Click to collapse
Check adb recognizing?
adb shell
???u getting # or $ ???
dharammaniar said:
Check adb recognizing?
adb shell
???u getting # or $ ???
Click to expand...
Click to collapse
i get :
C:\adb>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
#
It seems that I have su access
If I see in enable~woSwap.bat
adb -d push .\sdcard\Android\data\fugumod\fs.data2sd /sdcard/Android/data/fugumod
adb -d push .\sdcard\Android\data\fugumod\fs.convert /sdcard/Android/data/fugumod
Is it suffisant to copy both files fs.data2sd and fs.convert in /sdcard/Android/data/fugumod and reboot ?
Is there any special writes to give with Rootexplorer or else ?
I copy the 2 files fs.data2sd and fs.convert in /sdcard/Android/data/fugumod and after reboot the properties of the phone give 798Mo internal memory and all my apps gone.
No adb connexion ...
I wipe, reinstall TB, but still no show data2sd
In mount shell, I have
stl6 /system ext2
no stl7 but /dev/block/mmcblk0p2/data ext 4
stl8 /cache ext2
Can you give the command line in terminal to have propre /system -ext2 /data -ext4 /cache -ext2 ? I'll lock for adb connect later.
I tried with adb wireless
adb connect myip : port give connected
I launch Filesystem Changer in adb prompt, it gives an error, but the phone reboot and now in /sdcard/android/data/fugumod/
I have 2 files fs.data2sd and fs.current, fs.convert disapared
fs.current contain :
mmcblk0p2 ext4
stl6 ext2
stl7 rfs
stl8 ext2
In Titanium Backup data2sd still no shown
mount shell still give
stl6 /system ext2
no stl7 but /dev/block/mmcblk0p2/data ext 4
stl8 /cache ext2
I think something missing, right ?
Thanks for your support
chakti said:
I copy the 2 files fs.data2sd and fs.convert in /sdcard/Android/data/fugumod and after reboot the properties of the phone give 798Mo internal memory and all my apps gone.
No adb connexion ...
I wipe, reinstall TB, but still no show data2sd
In mount shell, I have
stl6 /system ext2
no stl7 but /dev/block/mmcblk0p2/data ext 4
stl8 /cache ext2
Can you give the command line in terminal to have propre /system -ext2 /data -ext4 /cache -ext2 ? I'll lock for adb connect later.
I tried with adb wireless
adb connect myip : port give connected
I launch Filesystem Changer in adb prompt, it gives an error, but the phone reboot and now in /sdcard/android/data/fugumod/
I have 2 files fs.data2sd and fs.current, fs.convert disapared
fs.current contain :
mmcblk0p2 ext4
stl6 ext2
stl7 rfs
stl8 ext2
In Titanium Backup data2sd still no shown
mount shell still give
stl6 /system ext2
no stl7 but /dev/block/mmcblk0p2/data ext 4
stl8 /cache ext2
I think something missing, right ?
Thanks for your support
Click to expand...
Click to collapse
no stl7 but /dev/block/mmcblk0p2/data ext 4 -- this means u have data2sd...
after reboot the properties of the phone give 798Mo internal memory and all my apps gone - Also means u have data2sd...and ur apps which were in internal memory at not there now...
there must be some problem with titanium...i think...
After I Flash This File http://forum.xda-developers.com/showthread.php?t=1106989 I Know That He Have Modified Boot.img To Make install-recovery.sh Run At Startup So That We Can Make Script Run.. But After I Rooted My Phone And Using This Script http://forum.xda-developers.com/showthread.php?t=1031734 To Make The Startup Script To Run .But After I Got Excuted I Got This Error "ERROR: System partition couldn't be remounted, are you on root-aid? (error c0)" It Mean The Script Problum Not The Startup Problum So I use Link2sd To Test .That it Can Mount Sd On Boot Or Not .But It Can So After that I Try To Add Command Manually To install-recovery.sh By Read From a2sd_enabler.sh
Command =
#!/system/bin/sh
/system/bin/sleep 8
/system/bin/mount -t ext2 /dev/block/mmcblk0p2 /system/sd
/system/bin/sh /system/etc/init.d/dtapp
/system/bin/sh /system/etc/init.d/99complete
And IT work ...
If some One want My File install-recovery.sh modified File You can Take it here
Us Root Explorer To Copy It To /system/etc
Don't Forget To Backup Your Old File also
After That reboot Your Phone and Continue Install Darktremor's App2sd+
Thank And Enjoy
Tineprogramming
can i use this on 2.3.4 ?
U Need To Modified init.rc To Let It Execute install-recovery.sh At Startup Because After 2.3.. Fw Is Out SamSung had Close This Point So we Can Not get a2sd+ To work But Some One In This Thread http://forum.xda-developers.com/showthread.php?t=1106989 Had Modified The File So we Can Get 2.3.3 To Work. So Just wait for instruction about Modified Boot.img ..So We Can Get It Work Most Of The 2.3...
Thank
Tineprogramming
Sry for this noob question but am new to android
this will increase the internal memory ???
And does it work with 2.3.4???
Actually it does
soudy1994 said:
Sry for this noob question but am new to android
this will increase the internal memory ???
And does it work with 2.3.4???
Click to expand...
Click to collapse
Yes Actually this method is called app2sd+ to prevent our internal memory from full capacity ..The work it do is fake the system by move ur app to another partition on Ur Sd Card..So u have to format ur Sd as 2 partition First is fat32 Second is ext2 . Ext2 is the linuk file format.. If u Need Extra information just search this key word App2sd+ .. And about 2.3.4 as I Already answered we need to wait for modified boot.IMF to make it execute App2sd+ Script .At boot Time...
Thank
Tine programming
soudy1994 said:
Sry for this noob question but am new to android
this will increase the internal memory ???
And does it work with 2.3.4???
Click to expand...
Click to collapse
Just install Move2SD Enabler from Market and ENABLE IT(you must be ROOTED).
How to ROOT, read this:http://forum.xda-developers.com/showthread.php?t=1034145
ALL WORKING FINE FOR ME!
Cheers!
If I helped, dont forget to push T.....
tineprogramming said:
Yes Actually this method is called app2sd+ to prevent our internal memory from full capacity ..The work it do is fake the system by move ur app to another partition on Ur Sd Card..So u have to format ur Sd as 2 partition First is fat32 Second is ext2 . Ext2 is the linuk file format.. If u Need Extra information just search this key word App2sd+ .. And about 2.3.4 as I Already answered we need to wait for modified boot.IMF to make it execute App2sd+ Script .At boot Time...
Thank
Tine programming
Click to expand...
Click to collapse
Thanks for reply so if i made the ext2 partiion 1gb the phone will show that i have 1gb internal memory?? And my sd card is 8gb class 4 it will work fine??
soudy1994 said:
Thanks for reply so if i made the ext2 partiion 1gb the phone will show that i have 1gb internal memory?? And my sd card is 8gb class 4 it will work fine??
Click to expand...
Click to collapse
The Phone will Not Show U have 1 gb Internal Memory But If U install App Ur internal Memory Will Not Decrease TooMuch... But The The Thing Is U need To Do By This Following Stucter
1.Format Ur Sd Card 2 Partition 1 fat32 2 ext2
2.Make Ur Phone Mount Ur Second partition At Boot Time
(See Above This Thread What I Have Done If U R in 2.3.3)
3.Install Darktremor's App2sd+ Script
Thank
Tineprogramming
i will be able to mount the phone to my pc?
cuz before i used a program called "root all data to sd" and i couldnt mount my phone to pc
soudy1994 said:
i will be able to mount the phone to my pc?
cuz before i used a program called "root all data to sd" and i couldnt mount my phone to pc
Click to expand...
Click to collapse
Just find USB drivers for samsung phone and install them or install KIES from Samsung(there is USB drivers too).
Download drivers for WIN PC:http://www.nodevice.com/search/search.html?text=s5830&search_area=drivers
CHEERS!
okay i will flash XXKPE now and test it
Can I have external card mounted as ext2? I have files names not supported by fat and sync'ed with dropbox
Yes, you can but afaik there is no easy way to do this.
I formatted my sdcard to ext2 (because I wanted to put large file (image for wikipedia offline) on my sdcard).
I formatted the beginning (~30MB) of my sdcard to fat32 so that the Nook detect the sdcard and does not trigger an error and the remaining part to ext2.
Then I used a script that mount manually the ext2 partition to /sdcard on boot.
This generally works but I have sometimes a few bug in some applications, especially when I connect and disconnect my Nook to my computer...
The best solution would be to find a way so that Android can automount a ext2 partition by itself but I don't know how to do it.
Instead of using the whole card I partitioned the first 4gb as fat16 (msdos) and then set the rest to ext3. When the fat16 space runs out I'll look into making some sort of script to try to mount the second partition. At the moment with the card acts like a normal 4gb card.
is it possible to repartition the nook to be able to use the space that b&n reserves for its contents? I heard that the space for our files is just 250 mb.
user4242 said:
is it possible to repartition the nook to be able to use the space that b&n reserves for its contents? I heard that the space for our files is just 250 mb.
Click to expand...
Click to collapse
yes of course. If you're used to linux repartitioning and the dd command then it's a breeze. If you're a Windows user who've never done partitioning or disk imaging then you can easily mess up.
I'll assume the former.
It's just a case of:
boot with a noogie.img that you've written to a sdcard (root of card, not partition 1)
then plug it in
now you can see all the nook partitions like it's an external USB drive and fdisk, cfdisk, partitionmagic or whatever you want
Obviously you're gonna want to backup first because if you mess up the only way to restore would be asking one of us off this forum to break the distribution laws and send you a 2gb (or whatever it is) image.
All the details on this forum
Has someone tried editing /system/etc/vold.conf to get a ext-formated SD-Card mounted?
mali100 said:
Has someone tried editing /system/etc/vold.conf to get a ext-formated SD-Card mounted?
Click to expand...
Click to collapse
I checked, I had modified it adding a line "partition 2" in the section "volume_sdcard2" so that Android does not show the message "SD card blank or has unsupported filesystem".
But I couldn't make it mount a ext2 sdcard itself. (if you know how to do it without using another script, I'm interested)
Time to resurrect this thread.
FAT is ugly. File timestamps are in local time (whatever that means, summer? winter?).
The Nook vfat implementation has problems with caching in and out directory info on vfat
and intermittently changes all the modify timestamps by 1, 4 or 5 hours.
This can play havoc if you are trying to keep things synchronized by filetime.
I've decided to have my SD card be ext3
Our volume demon, /system/bin/vold (which is ancient) uses /system/etc/vold.conf to configure automounting.
It presumes that all volumes are vfat.
It seems from a brief look inside that it does handle ext2 and ext3 somehow.
There is also the question of getting it to automount USB drives.
The easiest solution to ext3 on the SD card is to make it non-removable.
First, delete the second section out of vold.conf that relates to the SD card.
Then edit init.rc:
Code:
mkdir /sdcard 0777 system system
...
mount ext3 /dev/block/mmcblk1p1 /sdcard nosuid nodev noatime nodiratime uid=1000,gid=1015,fmask=117,dmask=007
chown system sdcard_rw /sdcard
chmod 0770 /sdcard
If you feel like having 12 partitions on your SD card you can.
That leaves vold only handling the mounting of /media
This exists so that you can serve /media as USB Mass Storage.
You could have /media be a fixed mount by doing what you just did to the SD card.
The only hiccup there would be the Adobe Digital Editions wants to see /media as UMS.
Note: To edit init.rc, download bootutil from the signature, extract, edit and replace init.rc in uRamdisk.
Make sure that you have a backup and a recovery!
Note: All of the above changes to init.rc are wrong.
I can get it to mount in a shell, but not in init.rc
Whoops.
Oops, this thread has been forgotten.
Yes, auto-mounting ext3 SDcards has been solved.
See: http://forum.xda-developers.com/showthread.php?t=2184495
I bypassed dead internal memory on a GT-I9000M.
Symptoms:
- Your GT-I9000M is not booting or bootlooping no matter what firmware you are flashing it with.
- In recovery, you are seeing I/O errors on /dev/block/mmcblk0p1
- Trying to repartition and format the internal storage with fdisk or parted and mkfs.whatever fails.
To recover:
- Partition and format your 16GB+ external microSD with at least two primary partitions, vfat on the first one and rfs (or whatever fs is supported by your firmware) on the second one.
- Acquire a stock ROM, in my case I used JL2
- untar the PDA portion of your ROM of choice (you want zImage and factoryfs.rfs)
- Extract initramfs from zImage ( https://github.com/mistadman/Extract-Kernel-Initramfs )
- grep for /dev/block/mmcblk, there should be 4 .rc files containing references to it as well as within the binary file /init.
- use a text editor to replace all occurances of "mmcblk0" with "mmcblk1" (and vice-versa if you feel so inclined) in the .rc files.
- use a hex editor to replace "mmcblk0" with "mmcblk1" in /init.
- create cpio archive of your modified initramfs with `find . | cpio -H newc -o > ../initramfs.img`
- repack kernel and initramfs ( http://forum.xda-developers.com/showthread.php?t=789712 ), you should have a new_zImage now.
- Mount the factoryfs.rfs as a loop `mount -o loop,rw -t vfat factoryfs.rfs /mnt/loop`
- Modify vold.fstab - this topic is well covered elsewhere (swap sdcard and sdcard1, swap mount points), then umount your loop
- Flash factoryfs.rfs and zImage using your favorite method.
That's it! Your phone will now boot and complain forevermore that the external memory is corrupt. ToDo: use third partition on external microSD as external_sd...
To recap:
We're telling android's init and whatever .rc scripts contain references to the broken partitions on the internal storage /dev/block/mmcblk0 to point to an appropriate partition on the external microSD card /dev/block/mmcblk1. You can actually do anything you want with the partition structure as long as it's consistent throughout init and in vold.fstab. Different ROMs do it differently.
I am not responsible for misuse of your hex editor, lack of backups, etc. I highly recommend the unbrickable mod.
Corrupt internal storage
Hi b0nafide,
My internal storage is also corrupted (i9000). I'm getting the same errors you descripe in your post. I'm trying your solution in wich you install android on your external SD. I bought a 8GB cat10 SD card....
But I'm stuck at the step: 'Extract initramfs from zImage ( [//github.com/mistadman/Extract-Kernel-Initramfs] )'. When I start the script nothing happens, except for my terminal closing. I'm using a virtualy installed Ubuntu distribution (Backtrack 5).
Do you have a tip? Perhaps you can help me through Teamviewer???
Hope do hear from you... I want to use my phone again
Greatings, Eldoro
My sgs is dead.
Please b0nafide, can you upload this modificated kernel (zImage and factoryfs.rfs) just for noobs like me?
Yes that woud be great. ..
Sent from my GT-I9300 using xda app-developers app
Here also an i9000 with reboot
Have done allot, stock rom, other pit files...
Is there a way to do this with a i9000 ?
and yes an image for us ?
and is the phone then normale... or is the internal storage still broken ?
Thanxs
Anyone can help us?
grimorct said:
Anyone can help us?
Click to expand...
Click to collapse
???
Anyone with working solution for this on i9000? I'll try to pack JW4 following this guide
grozni said:
Anyone with working solution for this on i9000? I'll try to pack JW4 following this guide
Click to expand...
Click to collapse
Yesterday, I made a flasheable pack of JW4, but it doesn't run. Now i'ḿ trying to modify JVU, but a strange thing happen when i'm repacking zImage...the script spends a lot of time in order to make it, and i can't be able to verify the correct pocess of new_zImage.
It's my first post in XDA, because normally I use HTCMANIA... I'm Spanish...and my English it isn't so good. Even, I should said that it isn't my phone...i'm repairing a friend's phone, so it's difficult for me to explain or speak about different ROMs or kernels....sorry
It's very important to advice that the scripts posted should be modified to get it run...because I found different problems to execute on Ubuntu.
Now it's 1:30 am...i'm trying "ext_JVU"....tomorrow i'll tell you the results.
Anyway i'll try to upload it, to reach different conclusions...
sesetxu said:
Anyway i'll try to upload it, to reach different conclusions...
Click to expand...
Click to collapse
Please do, I'll try flashing immediately and get back with results. How did you format external sd card?
I'm willing to try aswell... almost gave up hope.
Sent from my GT-I9300 using xda app-developers app
Hello friends!!!
I've the CODE (PDA file in ODIN) modified to execute android in ext-sdcard.
I do it as the first post said....but it doesn't run for me...
Anyway here is...Yo must get the MODEM and CSC os the stock firmware
XDA block the urls for me...for this reason its haven´t the WWW ...
Stock firmware..only to get MODEM and CSC: 4shared.com/zip/W1NeYAPA/I9000XXJVU_I9000OXAJVU_OXA.html?
Code modified to run in sdcard external: rapidshare.com/files/3786190721/ext_XXJVU.tar.md5
To solve my problems, i'll try to generate an CWMfile flasheable to try it...but now i'm hopeless....
Good luck men!!
sesetxu said:
Good luck men!!
Click to expand...
Click to collapse
Great work men!! It works for me. After flashing I got error in picture I posted (same error as before when writing to internal storage with stock rom). I just hit reboot but honestly I was not thinking it will boot. Thing I noticed when I start camera I get message turn off usb storage first. My files app shows no sd card inserted. How did you format your sd card? I'm using 8gb class 6 sd card
grozni said:
Great work men!! It works for me. After flashing I got error in picture I posted (same error as before when writing to internal storage with stock rom). I just hit reboot but honestly I was not thinking it will boot. Thing I noticed when I start camera I get message turn off usb storage first. My files app shows no sd card inserted. How did you format your sd card? I'm using 8gb class 6 sd card
Click to expand...
Click to collapse
I've modified all to use an sdcard with the folowing partitions:
1st primary fat32 which is internal sd card (4 gb)
2nd primary reiserfs which is /data (2 gb)
3rd primary fat 32 as external sd card
Try it...and I am happy to help you
sesetxu said:
I've modified all to use an sdcard with the folowing partitions:
1st primary fat32 which is internal sd card (4 gb)
2nd primary reiserfs which is /data (2 gb)
3rd primary fat 32 as external sd card
Try it...and I am happy to help you
Click to expand...
Click to collapse
I will try this layout. At first I prepared sdcard with 2 partitions which currently boot into Android but storage isn't working:
1st primary fat32 (6gb)
2nd primary ext4 (2gb)
You said raiserfs, should be that rfs type partition?
Update: I just noticed that both partition on my sdcard are fat32. First partition which should be internal storage I had to format again (not sure why). After this internal storage is still not available when in Android. I guess some mounting point is not good. Second fat32 partition is where the data is I guess (picture attached)
Exactly the same result as grozni. Same errors upon installing but booting into android. Amazing work! Also formatted 2 partitions. WiFi also not working btw. Hangs on obtaining ip...
Sent from my GT-I9300 using xda app-developers app
eldoro said:
Hangs on obtaining ip...
Click to expand...
Click to collapse
Same here
Is imposible to start Andoird without a rfs partition to mount /data (or ext4, for ROMs wich has fixed the troubles with ext4/rfs file systems...)
I can´t start the phone, because i get an added problem (my system can't format rfs data..but i don't know why)
I'm going to review the file /system/etc/vold.fstab who manages the mount points of the internal and external storages.
If anyone gets the correct configuration...please post it..
Tomorrow is Monday...and although I'm Spanish, I have a job (****ing crisis)...and i haven't so much time as weekend
Edit: wifi sockets are created over /data partition, if there is any problem in this partition is probably to get troubles obtaining IP
sesetxu said:
Is imposible to start Andoird without a rfs partition to mount /data (or ext4, for ROMs wich has fixed the troubles with ext4/rfs file systems...)
Click to expand...
Click to collapse
If I understand correctly samsung rfs and reiserfs are not the same thing? Why you use raiserfs on sdcard layout?
sesetxu said:
Edit: wifi sockets are created over /data partition, if there is any problem in this partition is probably to get troubles obtaining IP
Click to expand...
Click to collapse
That is the reason
Update: One more thing I forgot to mention. When I try to format USB storage (internal sd) I get message sd card removed
Problem statement
The Amazon Fire TV has a limited memory sotrage of less than 5GB.
FolderMount allows for moving App data/obb to a USB device. Remaining components of the App, which sometimes are the larger part of the app, can't be transfered using
These remaining components can be 100s of MB and even above 1GB (Sine Mora is 292MB, Walking Dead is 1.14GB)
Solution
Link2SD allows for moving these components to an external SD card in the phone world. Below I'll describe how to do this on the Amazon Fire TV with a USB device.
This post heavily relies on tweaking a post by sashavasko. Major kudos to him. Up to finding his post I was not successful in mounting in a way that Link2SD could see the mount. This was due to a change in Android 4.2+ where one App's mounting isn't seen by others.
Below is a step by step guide for running this. I've posted a script for automating this here : http://forum.xda-developers.com/showpost.php?p=54601505&postcount=33
Requirements: Root, Mouse, Terminal Application
Step 0 - Preparations : Format a USB device to the Ext4 File system and install Link2SD
Ext4
Link2SD refers to parititoning your SDcard to both Ext4 and FAT, this is not required on our USB device. All we need is an Ext4 partiton we can mount for Link2SD.
I had a high end USB device I used for FolderMount. For testing, I got a 16GB Lexar Jump Drive, which got decent reviews. $8 at Staples ( even less with the right coupon. Other sizes are also cheap). Both went into my Powered USB hub.
You can also partition a single FAT32 USB device to two partitons - FAT32 and Ext4. I have verified both options. Please note that for this second option, if you already have files on your FAT32 USB device, you'd have to first copy them to a backup, as the partitioning trashes your data. You will then need to restore the backed up files to the FAT partition.
Format/Partition your USB device to Ext4 using free MiniTool Partition Wizard Home Edition on your Desktop/Laptop. Below is a nice post on this (Refer only to step 1), you can find others. Please note that this refers to an SDCard. We will be doing this on a USB device.
http://forum.xda-developers.com/showpost.php?p=37405779&postcount=1
In partitioning, please verify the partitions are created as Primary. Also, not sure is this is required, but I didn't name my partitions.
There are also linux commands to do this - I didn't investigate these.
Stick the Ext4 partitoned USB device into your Amazon Fire TV and power it up. We will need the device in for Step 2.
Link2SD
Download Link2SD from the Google Play store, or sideload it
Make the directory Link2SD requires
Code:
su
mkdir /data/sdext2
exit
Step 1 - Fix adb localhost
Follow step 1 in sashavasko's post
http://forum.xda-developers.com/showpost.php?p=45102645&postcount=1
Note1:
You will need a terminal app for this
Note2:
This step should only be run once. Running multiple times can mess the /data/misc/adb/adb_keys file as the key values will concatenate with sashavasko's method. This will cause mounting at boot not to work. If you did this or not sure if you've done this, just erase the duplicate keys from the /data/misc/adb/adb_keys file (the end of a single key is "[email protected] ). Or, better yet, if you aren't seeing any other different keys there - simply su and copy /sdcard/.android/adbkey.pub onto this file.
Step 2 - Install scripts
Follow step 2 in sashavasko's post
http://forum.xda-developers.com/showpost.php?p=45102645&postcount=1
Note 1
Look for your Ext4 partitoned device after running:
Code:
adb shell cat /proc/partitions
You should find the Ext4 device under /device/block starting with sd.
For example: My first USB device is sda1, the Ext4 partitoned one was sdb1 (sdb2 when the Lexar drive was partitoned to FAT32 and Ext4).
You should be able to recognize the devices according to their partition sizes.
Note 2
The msd2.sh file should be changed to be:
Code:
#!/system/bin/sh
mount -t ext4 [COLOR="Purple"]/dev/block/[/COLOR][COLOR="Red"]sdb1[/COLOR][COLOR="purple"] /data/sdext2 [/COLOR]&& sleep 5 && /system/bin/vold
where the sdb1 device should be replaced by the device you located in Note 1.
Step 3 - Test the script and grant su permissions
Run this (no su command required, no path to the sd.sh file is required)
Code:
sd.sh
Verify you aren't seeing any errors. You will be granting SU permissions.
Run Link2SD. Go to the menu at the top right. Select "Storage Info" - Verify Link2SD recognizes the Ext4 partiton in the third line (under SD Card 2nd Part. ).
Step 4 - Auto Mount at initialization
For this I'm using the /system/etc/install-recovery.sh script which you should already have. This script loads at boot and calls /system/etc/install-recovery-2.sh (a non existent file).
Create a file at /sdcard/install-recovery-2.sh which contains
Code:
#!/system/bin/sh
/system/xbin/sd.sh
Now move the file to its place:
Code:
su
mount -o rw,remount /system
cp /sdcard/install-recovery-2.sh /system/etc/
chmod 755 /system/etc/install-recovery-2.sh
mount -o ro,remount /system
exit
Now Reboot (Long press remote Select + Play)
Step 5 - Link2SD ready to go
Open Link2SD to verify (as you verified before) that after boot Link2SD sees the Ext4 partiton.
Start moving files using Link2SD :
Select an App
Go to "Create Link" - You will be asked which file types to move. Check them all (not the paid option if you haven't paid).
Link2SD will show "Creating Link...", then an advert (in the non payed version) and then: Application files linked and moved to SD card
Note the expected storage change in the Amazon Fire TV's "About" menu option will be seen after Rebooting.
"Remove Link" works properly
"Move to SD card" is not relevant
Final Words
Don't use this to move system apps, or system-like apps
Responsibly for running this is solely on you. I am only describing what works for me.
Works great thanks
I'd love to see a standalone app for installing this.
Sent from my SM-N900V using XDA Premium 4 mobile app
The msd2.sh file mentioned in Step2/Note2 is used to create a fake external SD Ext4 partition for Link2SD.
You can also use it to create a fake external SD FAT partition at /storage/sdcard1 for FolderMount.
FolderMount automatically recognizes this partition and suggests this as the initial path for its destination path suggestion.
In my case - sda1 is the FAT partition (For me - a USB stick fully formatted to FAT32), and sdb1 is the ext4 formatted USB stick. The same should work with a single partitioned USB stick (but different sd* device names - see original post).
The updated msd2.sh file looks like:
Code:
#!/system/bin/sh
[COLOR="DarkGreen"]mount -t vfat /dev/block/[COLOR="Red"]sda1[/COLOR] /storage/sdcard1[/COLOR] && mount -t ext4 [COLOR="Magenta"]/dev/block/[/COLOR][COLOR="Red"]sdb1[/COLOR] [COLOR="Magenta"]/data/sdext2[/COLOR] && sleep 5 && /system/bin/vold
SaltyCookie_OnLoan2FM_SVE said:
The msd2.sh file mentioned in Step2/Note2 is used to create a fake external SD Ext4 partition for Link2SD.
You can also use it to create a fake external SD FAT partition at /storage/sdcard1 for FolderMount.
FolderMount automatically recognizes this partition and suggests this as the initial path for its destination path suggestion.
In my case - sda1 is the FAT partition (For me - a USB stick fully formatted to FAT32), and sdb1 is the ext4 formatted USB stick. The same should work with a single partitioned USB stick (but different sd* device names - see original post).
The updated msd2.sh file looks like:
Code:
#!/system/bin/sh
[COLOR="DarkGreen"]mount -t vfat /dev/block/[COLOR="Red"]sda1[/COLOR] /storage/sdcard1[/COLOR] && mount -t ext4 [COLOR="Magenta"]/dev/block/[/COLOR][COLOR="Red"]sdb1[/COLOR] [COLOR="Magenta"]/data/sdext2[/COLOR] && sleep 5 && /system/bin/vold
Click to expand...
Click to collapse
The one annoying thing about this is during boot it will read the entire partition. This in turn in my case makes booting the Fire TV really slow. Lets hope I dont have to reboot much because it now takes around 2-3 minutes to boot up.
MadFlava said:
I'd love to see a standalone app for installing this.
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I 2nd this. This is as close as we're gonna get to downloading Apps, ets., straight to an attached external drive but I know enough about this stuff to be somewhat intimidated by the initial instructions. Not that they're not clear, it just looks like I'd have too many avenues to brick my box.
Still...very good work OP. Thanks again.
MarkBP said:
I 2nd this. This is as close as we're gonna get to downloading Apps, ets., straight to an attached external drive but I know enough about this stuff to be somewhat intimidated by the initial instructions. Not that they're not clear, it just looks like I'd have too many avenues to brick my box.
Still...very good work OP. Thanks again.
Click to expand...
Click to collapse
Come on guys, this is XDA developers
OK, I have this brewing. Should post it by tomorrow.
awesome. how easy is it to reverse this entire process? I'd really like to know the risks before I take the plunge
I think the process can be greatly simplified. On my computer I created install-recovery-2.sh with the two lines below:
#!/system/bin/sh
mount -t vfat /dev/block/sda1 /storage/sdcard1 && mount -t ext4 /dev/block/sda2 /data/sdext2 && /system/bin/vold
Then I connected via adb to the fireTV from my computer.
Then an adb push of install-recovery-2.sh to /sdcard and then did an adb shell to the fireTV from my computer and su once there.
Copied from install-recovery-2.sh from /sdcard to /system/etc
Did a chmod 755 on the file to make it executable and then rebooted and all seems to be working well with partitions recognized.
tselling said:
I think the process can be greatly simplified. On my computer I created install-recovery-2.sh with the two lines below:
#!/system/bin/sh
mount -t vfat /dev/block/sda1 /storage/sdcard1 && mount -t ext4 /dev/block/sda2 /data/sdext2 && /system/bin/vold
Then I connected via adb to the fireTV from my computer.
Then an adb push of install-recovery-2.sh to /sdcard and then did an adb shell to the fireTV from my computer and su once there.
Copied from install-recovery-2.sh from /sdcard to /system/etc
Did a chmod 755 on the file to make it executable and then rebooted and all seems to be working well with partitions recognized.
Click to expand...
Click to collapse
Just tried this, didn't work for me (mount not detected).
- tselling, is Link2sd working with this ?
- If someone is working succesfully with Link2sd using tselling's method please report back. This is indeed a shorter route.
failed for me for tselling method
SaltyCookie_OnLoan2FM_SVE said:
Just tried this, didn't work for me (mount not detected).
- tselling, is Link2sd working with this ?
- If someone is working succesfully with Link2sd using tselling's method please report back. This is indeed a shorter route.
Click to expand...
Click to collapse
Link2sd found ok and I linked sevzero without problems. Should note that I use sda1 and sda2 for fat32 in first primary partition and ext4 on second primary pzrtition of same usb flash drive. Any other setup would need to have different script to match your drive setup.
Sent from my SAMSUNG-SGH-I497 using Tapatalk
why does this need more than 1 partition to work anyways? Is it just because the app requires it for some weird reason?
edit: also which partition needs to be the bigger one? do the sizes matter? and does stickmount need to be disabled for this to work?
desc
meadtj said:
why does this need more than 1 partition to work anyways? Is it just because the app requires it for some weird reason?
edit: also which partition needs to be the bigger one? do the sizes matter? and does stickmount need to be disabled for this to work?
Click to expand...
Click to collapse
why does this need more than 1 partition to work anyways? - Link2sd description in play store:
What you need for linking apps:
● root permission.
● a second partition on your SD card.
You should have two partitions on SD card and both should be primary.
The first FAT partition is your standard SD card storage. The second partition is used for application files and can be ext2, ext3, ext4, f2fs or FAT.
You need to use a non-FAT file system (ext2, ext3, ext4 or f2fs) on your second partition in order to link app's private data files. Because the FAT file system (FAT16, FAT32 or exFAT) does not support UNIX file ownership or permissions and will cause a security breakdown of app's private files.
Link2SD Plus can move app's private data files if you have a non-FAT partition
Click to expand...
Click to collapse
So we may be able to use FAT (haven't tried it) but we will lose some moving capabilities.
From my testing - FolderMount does work with the ext4 partiton, so I need two partitions (or 2 usb sticks).
also which partition needs to be the bigger one? - No restriction. Allocate as per your decision and experience with storage costs of apps.
do the sizes matter? - Don't believe her. It does.
Sorry. Uncalled for. Apologies. Not personal. I just had to.
and does stickmount need to be disabled for this to work? - No, it doesn't
983
tselling said:
Link2sd found ok and I linked sevzero without problems. Should note that I use sda1 and sda2 for fat32 in first primary partition and ext4 on second primary pzrtition of same usb flash drive. Any other setup would need to have different script to match your drive setup.
Click to expand...
Click to collapse
Ok, let's try and minimize this. Could it be due to tselling using a single partitioned USB drive, while I'm using two drives ?
I need a report back from someone with a single USB drive who tried tselling's simpler approach. If it failed - Maybe tselling added something along that he wasn't aware of. If it passed - Maybe that's a requirement for the simpler approach.
In other news, the script to automate this is take slightly more than I thought, due to unix-android differences (I come from a unix background). That, and the fact that we may have a simpler solution is delaying me. Oh, also had to stay late at work yesterday, Oooh and the dog ate my laptop.
What about Foldermount?
What about FolderMount for Data and OBB files? Can I still use it with Link2SD on same card?
SaltyCookie_OnLoan2FM_SVE said:
Ok, let's try and minimize this. Could it be due to tselling using a single partitioned USB drive, while I'm using two drives ?
I need a report back from someone with a single USB drive who tried tselling's simpler approach. If it failed - Maybe tselling added something along that he wasn't aware of. If it passed - Maybe that's a requirement for the simpler approach.
In other news, the script to automate this is take slightly more than I thought, due to unix-android differences (I come from a unix background). That, and the fact that we may have a simpler solution is delaying me. Oh, also had to stay late at work yesterday, Oooh and the dog ate my laptop.
Click to expand...
Click to collapse
I think it has to do with the mount points. I have the ext4 partition mounted to /data/ext2 where I think link2sd looks. I think that you could use an entire usb stick with one partition as ext4 mounted to /data/ext2 but your script would change
FROM
##############################################################################################
#!/system/bin/sh
mount -t vfat /dev/block/sda1 /storage/sdcard1 && mount -t ext4 /dev/block/sda2 /data/sdext2 && /system/bin/vold
#############################################################################################
TO
###################################################
#!/system/bin/sh
mount -t ext4 /dev/block/sda1 /data/sdext2 && /system/bin/vold
###################################################
However, I have not tried this. I may try this later today since I have a second fireTV and usb stick arriving today.
also, I am planning to use foldermount with the first fat32 partition I created, but I haven't gotten that far as I want to use the Pro version but need the play store loaded first.
OOPS, I did forget one part "mkdir /data/sdext2" (otherwise the mount fails).
tselling said:
I think it has to do with the mount points. I have the ext4 partition mounted to /data/ext2 where I think link2sd looks. I think that you could use an entire usb stick with one partition as ext4 mounted to /data/ext2 but your script would change
FROM
##############################################################################################
#!/system/bin/sh
mount -t vfat /dev/block/sda1 /storage/sdcard1 && mount -t ext4 /dev/block/sda2 /data/sdext2 && /system/bin/vold
#############################################################################################
TO
###################################################
#!/system/bin/sh
mount -t ext4 /dev/block/sda1 /data/sdext2 && /system/bin/vold
###################################################
However, I have not tried this. I may try this later today since I have a second fireTV and usb stick arriving today.
also, I am planning to use foldermount with the first fat32 partition I created, but I haven't gotten that far as I want to use the Pro version but need the play store loaded first.
Click to expand...
Click to collapse
tselling said:
OOPS, I did forget one part "mkdir /data/ext2" (otherwise the mount fails).
Click to expand...
Click to collapse
i did that too but still didnt work, maybe bc i have 3 partitions. Fat then Ext2 then NTFS
meadtj said:
i did that too but still didnt work, maybe bc i have 3 partitions. Fat then Ext2 then NTFS
Click to expand...
Click to collapse
Sorry, the directory is /data/sdext2
Your mount command is:
mount -t ext4 /dev/block/sda2 /data/sdext2 && /system/bin/vold
Also I am not 100% sure that ext2 filesystem works. ext4 works for sure.