[MOD][GUIDE][NOOB-FRIENDLY]Increase system partition size - Galaxy S II Android Development

Increasing system partition size
Since there is no official thread for increasing the system partition size (not data partition size as there is one already), I've decided to make a thread.
Disclaimer:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this tool
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Click to expand...
Click to collapse
This process will wipe all of your data off your phone. This includes all of your apps, system storage and internal sd card. It doesn't wipe your external sd card. Make sure to backup all of your apps and data to the cloud, micro sd card or onto a computer
Make a backup!! Why am I saying this again? Because there is always a few careless people who do this process and complain how they lost all of their data.
If you try to use the modified system partition with stock rom, your rom will not boot! You must revert to stock system partition sizes first then install stock rom!
What you need:
- A Samsung Galaxy S2 i9100 16GB International variant. You must have this model otherwise you will brick your device! Other models can use the lanchon repit tool.
- A kernel in .tar format. I highly recommend gustavo kernel as it doesn't suffer the formatting problem that dorimanx (using default recovery) or apolo kernel (TWRP) does. Pre-made files Update: DorimanX kernel supports isorec recoveries in the newest builds. Flashing a isorec recovery will remove this formatting limit and will be usable in all partition sizes.
- System pit files (Provided in the attachments)
- A PC (preferably Windows, if using OS X or linux, use JOdin instead!)
- A archiving/compression utility such as 7-zip or winrar. I recommend 7-zip because it is for free and it is open source.
- ODIN (to flash the kernel of course, again use JOdin for linux and OS X). Also, I have made ODIN installation easier with fewer options!
Benefits
Why do people increase the partition sizes? Here are some reasons why:
- Can allocate more storage space for more apps (removes the need for moving apps to sd card)
- Allows people to upgrade to android lollipop or marshmallow easier (if you don't want to go through any messages saying that there isn't enough space)
- Since it will delete everything, this will restore all lost space taken up by apps and other programs
- Gapps (Google Apps) will be much easier to install (you can choose larger gapps file if you want, only if you increase system partition). For CM12.1 and CM13, re-partitioning has become a necessity before flashing current gapps packages.
- Can fix soft bricks. However hard bricks can not be solved this way!
- Can fix problems with partition errors
Please note that this guide requires a PC and a working USB jack. If you don't meet these requirements, use lanchon's tool instead!
CM13 Nightlies have been released. Please note that the link to the premade .tar kernels are compatible up to Android Lollipop. You will still be able to repartition your device using Lollipop kernel! Since you will be reflashing or restoring CM13 during the process, marshmallow kernels are not required!
Instructions
Make a recovery backup (CWM or TWRP) onto your external sd card or PC (VERY IMPORTANT!!! All backups in internal sd card will be deleted so move them!)
Download the system pit files (attached in OP)
Extract the pit zip file
Open ODIN (Attached in the OP, JOdin for linux and OS X)
Connect your phone to your PC via USB while in download mode (make sure your phone is detected on ODIN, it should say COM:{number})
Click on the PIT button and locate and select your desired pit file
Click on PDA or AP and select your kernel .tar file (look at this post if you don't have one: Pre-made kernel tar Link)
Make sure that re-partition has been ticked then click start. If your phone successfully flashes, move onto the next step. If not, try changing usb ports, changing ODIN version, changing pit files or seeing if your device has a corrupt nand (or broken). If your memory chip is corrupt or broken, you won't be able to flash with ODIN (and you will need to buy a new motherboard). If you are still unsure what to do, look at the screenshot in the attachments.
Disconnect the USB cable. Take out your phone battery, then re-insert it.
Press and hold button combinations (home button + power button + volume up) to boot into recovery. You only need to hold for about 5 seconds.
If you have CWM recovery, go to mounts and storage then select format /sd card0 or /internal sd card. Select default and your internal sd card should successfully format. If not, try ext4 format. If you have TWRP recovery, you will need to go to wipe>advanced and select format emmc or /sd card0, then swipe to confirm . If you can successfully format your phone here, skip steps 11, 12, 13, 14. Note: DorimanX kernel doesn't support ext4 formatted sd cards. You will need to format your sd cards to vfat or fat32 for DorimanX kernel to detect.
----IF FORMATTING FAILS IN RECOVERY----
Connect your phone back to your PC.
If formatting sd card in recovery fails, connect your phone to your PC. While still in recovery (CWM), go to mounts and storage and select mount mass storage. If you have TWRP recovery, go to mount and select mount sd card. It should prompt you that the storage isn't ready yet and you need to format. If your PC still doesn't detect your phone, check if the proper drivers are installed (in attachments). Also, if your phone doesn't get detected and you've done everything in this step, try changing usb ports, computers and even usb cables.
Click format
You can leave all of the settings to default, I personally like to change the allocation size to 4KB (4KB is good if you want to make the most out of your phone's storage while having enough speed)
Click format.
----AFTER SUCCESSFULLY FORMATTING----
Go back to your phone. You can choose to restore from your backup or install a new rom. If you choose to restore from a backup, skip all of the remaining steps. (Note: DorimanX kernel recoveries can not format /data partition more than 2gb, use an alternative first when restoring a backup then flash back if needed)
In mounts and storage, choose format /data, /cache and /system (Note: DorimanX kernel recoveries can not format /data partition more than 2gb, use an alternative first then flash back if needed)
Now you can flash a ROM as you normally would
Huge thanks to ElGamal for providing the modified pit files and metalgearhathaway for providing the stock pit file and the.gangster for providing the 1.5GB system pit files.
I have included pit files that will resize your system partition to 1GB or 1.5GB (depending on your choice).
Data partition sizes range from 3GB up to 6GB. The rest is for your internal data storage.
Everything has been nicely labeled so please pay attention to which pit file you select!
I don't recommend using the 32MB Preload pits because they can cause problems with some ROMs.
If you get bootloops, flash a pit with a smaller data partition size!
Click to expand...
Click to collapse
I've also included ODIN and Samsung drivers in the attachments
Too difficult for you? Try Lanchon's flashable repartition zip

Followed this guide to step 10 (formatting with Apolo's kernel) but I was not prompted to format the SD... Windows does not recognize the phone anymore even though the phone boots to TeamWin's recovery just fine. Any ideas?
UPDATE: I flashed Gustavo's kernel as well and have the same problem: Windows does not recognize the device. It does make the beep-beep indicating a connection is being established and it does suggest that it's installing drivers (though they're already installed), and then tells me that it can't find the drivers for a GT-I9100 . I tried the same process on a completely separate machine with no joy. All help very, very welcome.

buddy1234567 said:
Followed this guide to step 10 (formatting with Apolo's kernel) but I was not prompted to format the SD... Windows does not recognize the phone anymore even though the phone boots to TeamWin's recovery just fine. Any ideas?
Click to expand...
Click to collapse
Have you tried formatting via recovery? Can you mount the sd cards manually? Try cwm recovery instead of twrp.

buddy1234567 said:
Followed this guide to step 10 (formatting with Apolo's kernel) but I was not prompted to format the SD... Windows does not recognize the phone anymore even though the phone boots to TeamWin's recovery just fine. Any ideas?
UPDATE: I flashed Gustavo's kernel as well and have the same problem: Windows does not recognize the device. It does make the beep-beep indicating a connection is being established and it does suggest that it's installing drivers (though they're already installed), and then tells me that it can't find the drivers for a GT-I9100 . I tried the same process on a completely separate machine with no joy. All help very, very welcome.
Click to expand...
Click to collapse
You know you can format sd card in recovery. Try that first. If your PC doesn't detect drivers for your phone, you will have to install them manually with the samsung USB drivers (in attachments). I've also updated the guide.

Thanks for the help! A couple of quick things:
- I installed the samsung drivers above before I started the process, I tried uninstalling them and re-installing and still no joy. At the moment, when I plug in the phone via USB cable I get three quick successive beeps (previously, running Lysergic's LP 5.0.2 this process was working fine and windows recognized the storage folder)
- what type should /sdcard0 be formatted to (ext2/ext4/ntfs...?)
- how does one mount the sdcard manually? I have looked around and there dosen't seem to be a 'guide' per se...
UPDATE: I formatted /data, /cache, /system, /sd card (using 'default' for formatting type) and couldn't find /datadata or /emmc... Windows still gives me three quicks successive beeps and does not recognize the device...
UPDATE2: After mounting both /sdcard and /usb connection in CWM recovery using Gustavo's kernel, Windows recognized the device and I was able to copy rom and gapps and then flash. I didn't realize there was an option to mount /usb connection (!).

i become the message: "E:Unable to mount '/emmc'
ok, I wanted to change my partition so that I can test lollipop.
But now I would rather do have the kitkat.
Now I have the problem that I can not access my internal memory. I can not load the EMMC. I urge you to help.
I have the pit file taken 1GB 3GB. What can I tuen to reload KitKat can. Also, I have since re these yellow triangle.
How can I register these unregistering.

Working <flawless>
Hi
This worked for my i9100P
Now i got 4Go for my apps
Running CM12 Beta13 from Lysergic Acid
All good for now
Many thanks

I followed all the steps and it worked. Now I have 1GB system, 4GB Data. There were a couple of bumps on the road:
- At first, Odin would show Fail!, but after I connected the phone in a different USB port, it worked.
- The first kernel I used was Apollo 8.3 TWRP but I couldn't either format or mount the internal storage in that recovery.
- So I repeated the procedure but this time using this Gustavo's CWM kernel for ODIN created by the OP, and in recovery I was able to format internal storage without issues (by the way, I selected default from the formatting options).
Thanks for the guide.

---Quote
I don't include pit files with modified preload partition as it can cause some phones to bootloop.
eoq---
Since only stock ROM is using preload partition, i quess it's safe... could you direct me to PIT file of (1GB system, 3 GB DATA, 45MB or less preload)?
thanks
nevermind...

when should I flash this mod? at stock ROM or at Lollipop
hey guys
because of the problems that my phone has at the moment I have to install the stock ROM and work my way up to Lollipop. When is it better to use this mod. Right after I go to stock or can I wait untill after I Have installed Lollipop?

gigley said:
hey guys
because of the problems that my phone has at the moment I have to install the stock ROM and work my way up to Lollipop. When is it better to use this mod. Right after I go to stock or can I wait untill after I Have installed Lollipop?
Click to expand...
Click to collapse
Best before installing LP as it will wipe data and SD 0

Please help, can't enter recovery
Edit: All seems to be ok. Maybe I was to stupid to press the buttons the right way... :silly: Maybe the Odin screenshot helps somebody, so I only hide my post instead of erasin it.
Hi folks,
I have read the tutorial more then once and I was sure that i can do all steps the right way. But now, after I clicked "Go" in Odin, I can't get my S2 to work. My phone booted up and I wanted to enter the recovery with Vol up, Home and Power, but it doesn't work.
I entered the download mode again an started the procedere for another time, but again, I can't enter the recovery.
Here is a Screenshot from my Odin
Thx in advance!

I've updated the guide a bit so it is easier to understand and so the formatting isn't as confusing as it was before.

Thnx
it was as easy as pie

any chance that the OP can provide or will do
a 1 or 2GB /system partition in addition to a 8GB /data partition?

vakkah said:
any chance that the OP can provide or will do
a 1 or 2GB /system partition in addition to a 8GB /data partition?
Click to expand...
Click to collapse
I honestly think there is no rom or gapps that will completely use the 1gb system partition. If you want 8gb data, you will need to flash the 8gb pit. I could make a pit like that but the chances are it may screw up people's phones.

no problem at all, much appreciated..
I have just over 300 apps installed and not enough space left on the 6GB /data partition..
if you can make me a 1 or 2GB /system partition with a 8GB /data partition, i will test/use it on my phone..
i am not worried about not having much internal /sdcard0 storage as i have a 32GB external /sdcard1 for pics, movies etc.
the more, the merrier for me..
just let me know when..

A little help please
I just followed the steps to increase my partition size and I flashed the 1gb_6gb pit file. All went good, I even managed to format all in CWM, I flashed my rom (which was stored in my external SD) and now, when I try to see my internal storage (with any file manager) I cannot see it. I checked under settings->storage and I have only 6 GB total storage..but I can't see it with any file explorer and even in Windows. And now, my camera doesn't work (on lollipop) saying that no SD has been found. It may be other things that do not work, but I didn't test more. Is it normal to be like this? Thank you for your great work

cardynal said:
I just followed the steps to increase my partition size and I flashed the 1gb_6gb pit file. All went good, I even managed to format all in CWM, I flashed my rom (which was stored in my external SD) and now, when I try to see my internal storage (with any file manager) I cannot see it. I checked under settings->storage and I have only 6 GB total storage..but I can't see it with any file explorer and even in Windows. And now, my camera doesn't work (on lollipop) saying that no SD has been found. It may be other things that do not work, but I didn't test more. Is it normal to be like this? Thank you for your great work
Click to expand...
Click to collapse
Not normal at all. What did you format sdcard0 as in CWM?
Sent from my GT-I9100 flowing on SwiftKey in Tapatalk

Acid0057 said:
Not normal at all. What did you format sdcard0 as in CWM?
Sent from my GT-I9100 flowing on SwiftKey in Tapatalk
Click to expand...
Click to collapse
Yes, I did formatted sdcard0 in cwm as default. And I flashed again a new pit file 1gb_4gb and I followed again the steps, I also mounted usb and I formatted sdcard0 in windows and now it works. My internal storage is visible. Thanks!

Related

[Q] SD ext Partition: What did I miss?

First of all, I apologize in advance. I searched through everything and can't find my question. I'm a complete smartphone noob (got my first one a couple days ago--Canada's wireless providers are criminally expensive and I boycotted them as long as I could) and, while I'm reasonably good at technical things overall, I'm totally inexperienced here, with smartphones in general, Android, and it's parent OS Linux.
That out of the way: I have a Samsung Galaxy Ace, with Gingerbread 2.3.4 on it, through the provider Koodo. I am loving this phone, but I'm not entirely sure why certain things didn't work. There were apps I couldn't download due to a lack of space (despite a mostly empty 16GB microSD card), and apps that wouldn't install for other reasons. And always that frighteningly small 158MB system drive staring me in the face. So I decided to try to fix it.
I carefully read every bunch of instructions I could find and understand. Successfully rooted the phone. Installed ClockworkMod Recovery. I repartitioned the SD card with a big ext partition and swap space using CWM. I installed CF-Root-S5830_dtapps2sd-v1.2.zip successfully, and App2SD from the market.
This hasn't helped my free space at all. Nothing seems to be using that new ext partition. My available space did not go up at all...but (of course) my SD card space went down by the size of the new partitions.
I was under the impression there were kernels that could help your phone treat the SD card ext partitions like system space, but I can't figure out where or how for the life of me. Everything has worked, but it hasn't actually done anything.
-NoobGrrl
ur cf-root is not the latest, and I think if u make sd card partition by using cwm, the format will be ext3 not ext4.. so, u should try this step :
1. flash the latest cf-root v37-b82 through cwm from this post http://forum.xda-developers.com/showthread.php?t=1158197
2. partition ur sd card by using minitool partition wizard (google it) and make ext4 format.
3. flash the latest darktremor through cwm (don' forget to mount system n sd card) from this post http://forum.xda-developers.com/showthread.php?t=715116
4. install a2sd gui from market... done..
You probably forgot to move the dalvik cache to sd-ext from A2SDGUI.
To begin with, as you haven't done this before, I recommend you download the app link2sd rather than app2sdgui. Your system will be ext3 from CWM. Select and reboot. Then return to link2sd and you can move apps one by one or by batch installation to your partition by creating a "link". This method gives you finer control over which apps to move. It shows file sizes and how much of the app will be moved. After moving the apps reboot and hey presto - free internal memory.
I also recommend getting an app called DiskUsage to see what is taking up space and a file browser with root functions. I use Root Browser by jrummy16 - free on market.
Sent from a phone with an app.
First of all, thanks for the replies! I like the detailed instructions from musf especially...step-by-step for me is really the best way.
Okay, tried to follow those directions exactly. Minitool Partition Wizard has reformated the little 2GB partition I made on the SD card to ext4. Most recent CF-Root and dtapp2sd zips seemed to install fine. I think I mounted all the drives...I just do it from CWM, yes?
Downloaded A3SDGUI and it gives me an error:
Exiting A3SDGUI
Could not start for one of these reasons:
1. Your device is not rooted (it is, superuser shows access granted to A3SDGUI)
2. A3SD scripts could not be found (if so, no idea why.)
3. No EXT partition found (again, no idea why.)
Edit: Tried Link2SD and it gave an error as well, "Mount script could not be created. No such device."
Okay, so obviously it doesn't see my SD card's partition. So I put it back in my PC and recreated it again. No change at all...
yes from cwm, choose the "mount n storage" menu, then moutn system, then mount sdcard, then instal the darktremor zip file..
That seems to have almost worked...yes, I was mounting the drives after running DT. Duh. (I assumed somehow that DTapp2sd allowed me to set up the drives and I was telling the phone to mount it afterward so it could be used. I didn't realize DTapp2sd just needed to write to the drive.)
Almost. Almost worked.
Now, app2sd actually starts up successfully, no errors. (link2sd still gives the same error.) However, App2SD can't actually move anything. All items remain disabled, even after selecting them.
So then I remember the post above about the dalvik cache. So I go into App2SD and try to move it to the sd-ext folder, and it tells me there is not enough space. I have 124 MB of system memory left right now...and the SD card is mostly empty.
Follow the following instructions and tell me if they work:
(redo the steps even if you have done them already)
1. download cwm5 from the forum and place it into your sd card.
2. make a backup of your sd card and reboot your phone into recovery.
3. flash cwm5 file and reboot the recovery.
4. from the recovery, re-partition your card with a ext partition (you dont need more than 256-512mb. I have 16gb card and mine is only 256mb).
5. select swap if you want it.
6. ~partitioning complete~
7. Connect your phone to your computer with usb wire (while in recovery.)
8. mount usb storage from recovery.
9. copy the cfroot file to your memory card from pc.
10. unmount the usb storage.
11. mount system,sdcard, sd-ext (just to be on safe side) and flash with cfroot.
12. reboot.
13. open a2sdgui.
14. click yes, apps are on sd!, zipalign on boot is on!.
15. set swap if you want it.
16. from dalvik, click on dalvik cache on sd-ext and click move and rebuild.
17. your phone should reboot and you will be done
Notes: Its normal that after flashing a2sd script, your phone restarts a coupe of times so just leave it alone for a moment.
Don't forget to give superuser permission to a2sdgui.
If you still get some error, sty flashing the script again.
If it still doesn't get through, search for the dt a2sd beta 4 script and flash that from recovery. Other steps are the same!
Happy FLASHING
I'm using Clockworkmodace. That's 4, not 5, right?
I can't find a zip for CWM5 that is designated for the galaxy ace...
Here is CWM 5 : http://forum.xda-developers.com/showthread.php?t=1291327
Then , i would recommend you to use cyanogenmod 7.2 RC1 , it is better than a stock ROM
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
musf said:
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
Click to expand...
Click to collapse
I think cwm5 should work and i made it using point 4 and it works perfectly.
p.s. sd-ext are normally ext2, not ext3 or ext4. ext4 is normally used in internal.
EDIT: No it dsn't. Use cwm4. I guess that one has partitioning option too right? O easy way out, flash to ics1.2
aymi60 said:
Here is CWM 5 : http://forum.xda-developers.com/showthread.php?t=1291327
Click to expand...
Click to collapse
Edit: Ah, missed clarifications of my worried on the second page.
Then , i would recommend you to use cyanogenmod 7.2 RC1 , it is better than a stock ROM
Click to expand...
Click to collapse
What is cyanogenmod?
musf said:
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
Click to expand...
Click to collapse
No go...no change at all.
IrishRed said:
What is cyanogenmod?
Click to expand...
Click to collapse
Go to recovery, Wipe cache/system/data. (make sure you have made a backup of your data.)
Mount the stuff and flash with http://forum.xda-developers.com/showthread.php?t=1258830
You have a new rom with dt a2sd running within
I'm going to try a different version of dtapp2sd first.
Should the ext and swap partitions be logical or primary?
I'm starting to think my EXT partition is not formatting properly in mini partition tool. Unfortunately CWM uses Ext3 and I'm told it's worse than Ext4 and Ext2 is better than both for an SD card.
Both primary. 1st one should be fat32 and second one should be ext2.
Well, good news and bad news. After some work, reformatting the partitions again, reflashing a new kernel, I finally got it working.
Trouble is, it's not stable. Apps keep crashing, the "Gallery" app only shows a black screen, and it randomly loses access to the FAT32 partition when running, and the SIM card occasionally says "Unrecognized" (forcing me to "restore to factory.")
*sighs*
Flash to the rom i linked you to.

please, help, storage error after rooting

hi i just bought a samsung mega 6.3 in indonesia, it's a 16 version but i didn't check it before i root it, however i seem to remember when i plug it onto my computer it was 11 or 12 gb storage
so after rooting using guide in this thread " http://forum.xda-developers.com/showthread.php?t=2355680&page=3 ", when i plug it on my computer it shows only 128 mb storage, why is it happening? and if i checked setting - more - storage it says "8 gb (why 8 gb instead of 16 gb or 12 gb?).
if i open application manager from setting - application manager it says 352 mb used out of 12 gb free.
I used odin 3.07 to flash vcoreroot-v2.tar, followed by original kernel KERNEL-XSE-I9200XXUAMEE-1369705836.tar, followed by cwm recovery v6.0.3.2 - i9200-cwm-recovery
please help me. thank you so much
oh and the storage on the pc is empty without any folder, and i can't copy files onto it...
please helpppppp
The internal storage ( sdcard ) is only a folder on your data partition ( /data/media ). The entire 16GB is not allotted to your sdcard. It is shared. So you will not see the entire 16GB when you mount your sdcard on your PC. So no worried there. Also make sure your usb debugging is on before connecting your phone to PC.
Regarding root, the easiest method is to flash cwm recovery and then flash the SU zip file. If you use twrp recovery, the recovery will do the rooting for you. Just remember to reboot to recovery first after flashing the twrp recovery, else recovery will get overwritten by stock recovery.
I suggest, you flash your stock rom again and re-root. You could also try this app to root your phone using windows.
The internal storage ( sdcard ) is only a folder on your data partition ( /data/media ). The entire 16GB is not allotted to your sdcard. It is shared. So you will not see the entire 16GB when you mount your sdcard on your PC. So no worried there. Also make sure your usb debugging is on before connecting your phone to PC. ===> debugging is already on. yes however it shows up only 128 mb, and i couldn't copy any data onto it
Regarding root, the easiest method is to flash cwm recovery and then flash the SU zip file. If you use twrp recovery, the recovery will do the rooting for you. Just remember to reboot to recovery first after flashing the twrp recovery, else recovery will get overwritten by stock recovery.
Click to expand...
Click to collapse
i also couldn't get into the recovery mode, it was 2 red lines and it just restart, i've re root it twice using the same method...
0664348999
finally after 5 hours of works and skipping actual job. im able to get my pc to read the whole 12 gb of the storage,
by using steps and original firmware from hxxp://honai-android.blogspot.com/2013/11/how-to-update-galaxy-mega-63-i9200-with.html
for anyone who might stumble upon the same problem
thank you for helping @Silesh.Nair

[Q] Format EMMC by mistake - Please help!

I am a complete noob and got my lesson for messing up with my phone. I have an already rooted SGH i777 and was trying to flash OMNI Rom for 4.4. I wiped emmc by mistake. Although I did back my stuff up, they are no where to be found.I get cannot mount SD card error through CWM v6. I read somewhere that this is resultant of having no operating system in my phone anymore.
My phone is not recognised by computer. But I can access an external microSD card while booting recovery using CWM. Please help me as I am completely lost without my phone. You patience is deeply appreciated.
stupidnoob1 said:
...but I can access an external microSD card while booting recovery using CWM.
Click to expand...
Click to collapse
If that's the case, you should be able to put a rom on the micro SD card and simply flash it in recovery. You may have lost your backups, but if you can flash a rom via the SD card you ought to be fine.
Let us know if you need any more help,
sent from the i777
I'm not clear what you mean by "I wiped EMMC." Can you please describe exactly what you did, and describe the options you used if it was through recovery, which I assume it would have been.
If you put the phone into download mode while Odin3 is open on the desktop, does Odin3 recognize the phone?
FYI: TWRP file browser sees internal memory as "emmc". From the advanced wipe menu of TWRP, exists the option to wipe internal memory.
edit: really annoyed that I am limited to eight thanks at a PC, which has a much more comfortable interface than the XDA app, where I have unlimited thanks to offer my peers.
This is what happened
Dear all,
Thank you for your help. This is what I did. I tried to install Omni ROM for 4.4. I I downloaded the .zip file for the ROM and Gapps package zip and SuperUser zip. I went to CWM based recovery mode and wiped data/factory reset and wipe cache partition and in advanced wipe dalvik cache.( I did not run any wipe script as mentioned in this forum. I would have avoided all this if i actually paid attention and read the correct way of flashing here.)
I then went on to mounts and storage and did format/cache , system, data and preload. But also format /emmc
After that no ROM could be flashed and I could not access any recoveries. I realised my error when I saw the log that No files are found and couldnt open directory.
Update :
My phone is not recognized by Odin v1.85 and I also put a SAMSUNG_UCLE5.zip for SGHi777 given by a friend on to a microSD card and tried flashing that ROM from external microSD.
The log says:
I:Can't partition unsafe device: /dev/block/mmcblk1p1
I tried to partition just to see if it works. This time the log says
I:Can't format unknown volume :/external_sd. I never had an external sd card, but I gather that the system was partitioned in such a way that one chunk is considered external_sd.
Odin doesnt recognise it in download mode. I tried every USB port, changed data cables, tried different drivers available on Samsung website.
Please tell me I didn't ruin my phone. Any help is deeply appreciated.
stupidnoob1 said:
Dear all,
Thank you for your help. This is what I did. I tried to install Omni ROM for 4.4. I I downloaded the .zip file for the ROM and Gapps package zip and SuperUser zip. I went to CWM based recovery mode and wiped data/factory reset and wipe cache partition and in advanced wipe dalvik cache.( I did not run any wipe script as mentioned in this forum. I would have avoided all this if i actually paid attention and read the correct way of flashing here.)
I then went on to mounts and storage and did format/cache , system, data and preload. But also format /emmc
After that no ROM could be flashed and I could not access any recoveries. I realised my error when I saw the log that No files are found and couldnt open directory.
Update :
My phone is not recognized by Odin v1.85 and I also put a SAMSUNG_UCLE5.zip for SGHi777 given by a friend on to a microSD card and tried flashing that ROM from external microSD.
The log says:
I:Can't partition unsafe device: /dev/block/mmcblk1p1
I tried to partition just to see if it works. This time the log says
I:Can't format unknown volume :/external_sd. I never had an external sd card, but I gather that the system was partitioned in such a way that one chunk is considered external_sd.
Odin doesnt recognise it in download mode. I tried every USB port, changed data cables, tried different drivers available on Samsung website.
Please tell me I didn't ruin my phone. Any help is deeply appreciated.
Click to expand...
Click to collapse
This is beyond my level of understanding. I'm not sure what block 1p1 is. All of the partitions are designated as 0px where x is a number 1-15~.
I assume you've tried all the variables to get Odin to recognize the phone in download mode. Since Odin doesn't recognize download mode, I don't know of anything else to do but send it to someone with jtag equipement. It'll cost you maybe 40 or 50 bucks, but at least you can get your phone back. The person most trusted in the forums here for this sort of repair is Josh at Mobile Tech Videos.

[Q] Help! Internal USB Storage and SD Card Problem

Okay. Here's the thing. Let me try to break the story down:
I tried to flash the MIUI ROM. So basically, I followed the instructions to the best of my ability, but when it was time to flash the ROM itself, I got a Status 7, and installation aborted. When I rebooted, the screen was stuck on the Mi logo (which was peculiar since the installation aborted). It was taking a long time, so I assumed that, yep, bootloop.
So what I did was I flashed stock ROM using odin. Just the stock rom (ie, you have to repartition before flashing the miui rom). But one think I noticed before I flashed the ROM, was after I repartition through ODIN, the USB storage was 0.00b/0.00b. Several bootloops after, I finally got my phone working, but this time I can't access my USB storage. When I go to the task manager, it says 0.00b/0.00b. When I plug it in my PC, the only drive I see is the SD card (when there should be two, right?). PLUS, when I boot the phone and go to the media files (example, music app, gallery app etc.) it says I have no SD card inserted. When I do.
On screen, the notification says the USB storage is something, like unsupported and when I tap it, it says I have to format my USB storage. When I do tap format, it says that it's still checking the USB storage, and the notification comes up again. If it's imporatant, I also tried formatting the USB storage via CWM, but it says cannot mount /emmc. I ALSO can't find my phone on my PC now. The GT-I900 doesn't come up in my drives when I plg it in
I've tried flashing the stock PIT file, but to no avail. Please help. I just want a faster phone (hopefully via MIUI) or
Oh, and please bear with me. I'm a complete noob.
After re-partitioning, you need to wipe the partitions (/system /data (sdcard0). Make Backups and don't forget to flash a Rom/Kernel after wiping /system, because else your recovery will be lost.
I'll try to help you since I did installing MIUI v6 ROM by @blackra1n which also require resizing system partition.
pochic1996 said:
I tried to flash the MIUI ROM. So basically, I followed the instructions to the best of my ability, but when it was time to flash the ROM itself, I got a Status 7, and installation aborted.
Click to expand...
Click to collapse
Status 7 could be possible you were using older custom recovery when installing the ROM.
pochic1996 said:
So what I did was I flashed stock ROM using odin. Just the stock rom (ie, you have to repartition before flashing the miui rom).
Click to expand...
Click to collapse
So, you were repartition using PIT file then install MIUI— failed, then now go back to STOCK ROM (stock firmware?), right?
Did you do repartitioning again to stock PIT version before do flashing the stock ROM?
pochic1996 said:
On screen, the notification says the USB storage is something, like unsupported and when I tap it, it says I have to format my USB storage. When I do tap format, it says that it's still checking the USB storage, and the notification comes up again. If it's imporatant, I also tried formatting the USB storage via CWM, but it says cannot mount /emmc. I ALSO can't find my phone on my PC now. The GT-I900 doesn't come up in my drives when I plg it in
Click to expand...
Click to collapse
Please don't do something careless with /emmc as it might risking your EFS which may loosing your phone info such as IMEI, WIFI, and other radio related data. Please try to repeat the procedure back to flashing stock ROM:
1) Turn on your phone and boot to download mode (home+volume down+power). Connect your phone to PC through USB cable. Run Odin on your PC.
2) Press PIT button and select the stock PIT. Make sure the "repartition" checkbox is ticked on Odin.
3) Press PDA or AP and select your suitable recovery tar file. CWM or Philz recovery should be fine but avoid using the very older ones. Make sure the "reboot" checkbox is UNCHECKED because we don't want the phone reboot to system when flashing is done.
4) Press start button on Odin. Wait for awhile, then if Odin said it's all done, disconnect USB cable and reboot your phone to recovery mode (home+volume up+power). Optional but recommended, keep pressing until first Samsung logo appear, then release power button. Release two remaining buttons if recovery screen appear.
5) Assuming you're using CWM, go to "mount and storage" then choose "format /sdcard0" or "format /internal-sdcard". If prompted for file system format, choose "FAT32" if possible. If not in the list, just select "default".
6) Optional, to make sure the internal storage can be recognized by PC (Windows), still in CWM go to "mount and storage" then select "mount mass storage". Connect your phone to PC and see if Windows recognize your sdcard. If so, open properties dialog for this sdcard and check if it is formatted as FAT or FAT32. If not, right click on sdcard and choose "format". Quick format should be fine, leave all settings to its default.
7) Now, before installing the stock ROM, make sure to format phone's partitions. From CWM, select "mount and storage" then choose "format /data", "format /cache", and "format /system". Next, you may install the stock ROM or else.
It adviced to remove your external sdcard prior perform the steps above to avoid confusion and prevent your external sdcard reformatted accidentally. Also, I hope you were making backups for /efs partition.
Have a try, and good luck as you may need it! [emoji1]
Note:
As a reference, you may consider to read this thread: http://forum.xda-developers.com/gal...ivatives/mod-increase-partition-size-t3011162

TWRP accidentally format Internal Storage - Recovery??

Hi All,
Maybe a bit of a stupid question but accidentally change the format of my internal storage and have wiped my TWRP backup that I was trying to save.
Was meant to format my SD card so I could read it on my PC, as my phone was stuck on a boot loop from installing dorimanx kernel, was working for a little bit but the phone became extremely sluggish and then one one reboot would not get pasted the kernel splash page.
So decided to go backup the phone copy to pc them wipe and start clean. With the fun of this twrp was not showing mtp and could not read any mounted storage due to the format type decided to go a format my sd card to fat but accidentally done internal rather than external, I was falling asleep but want to try and fix this before going to bed.
Now that has happen I have mount the fat internal drive and trying to use some HDD recovery program but not sure how this will end up working, fingers cross I can get the TWRP backup.
But if anyone has any advised would greatly appreciate the help.
Dorimax kernel with twrp iso recovery, can't mount mtp or usb! flash iso rec disabler, then mount your usb partition with cwm recovery from dorimax! after that, try recuva! it will make a clone of your internal memory on hdd to access data faster! otherwise the deep scan will be very slow! try other programs! you will find your files with some programs and other files with another programs.
ultravy said:
Dorimax kernel with twrp iso recovery, can't mount mtp or usb! flash iso rec disabler, then mount your usb partition with cwm recovery from dorimax! after that, try recuva! it will make a clone of your internal memory on hdd to access data faster! otherwise the deep scan will be very slow! try other programs! you will find your files with some programs and other files with another programs.
Click to expand...
Click to collapse
Thanks for the reply I ended up able to mount as USB after the format due to being FAT so ran the tool didn't find much so looks like a lost everything lesson learn backup and dump on PC for safe keeping
Try to use other programs to see if you can find your files

Categories

Resources