[Q] Help, my GT-S5830i is bricked - Galaxy Ace S5830i Q&A, Help & Troubleshooting

My GT-S5830i is bricked, but the recovery mode is still working. I have the problem since I would flash CWM6, but that version is for GT-S5830 and I have a GT-S5830i (but the site where I downloaded that says that it's for GT-S5830 and GT-S5830i) In the recovery mode there's an error that /system can't mount. How can I fix that?

wb9688 said:
My GT-S5830i is bricked, but the recovery mode is still working. I have the problem since I would flash CWM6, but that version is for GT-S5830 and I have a GT-S5830i (but the site where I downloaded that says that it's for GT-S5830 and GT-S5830i) In the recovery mode there's an error that /system can't mount. How can I fix that?
Click to expand...
Click to collapse
I think we should try to install original firmware for S5830i, with Odin.
You can read here and here.
Try first to understand what you want to do.
If you're not sure that you understand, looking to read more.
Be very careful and you'll succeed.

beegeero said:
I think we should try to install original firmware for S5830i, with Odin.
You can read here and here.
Try first to understand what you want to do.
If you're not sure that you understand, looking to read more.
Be very careful and you'll succeed.
Click to expand...
Click to collapse
Can it be done on Lubuntu 14.10? (I don't have Windows)

wb9688 said:
My GT-S5830i is bricked, but the recovery mode is still working. I have the problem since I would flash CWM6, but that version is for GT-S5830 and I have a GT-S5830i (but the site where I downloaded that says that it's for GT-S5830 and GT-S5830i) In the recovery mode there's an error that /system can't mount. How can I fix that?
Click to expand...
Click to collapse
Normally when somebody soft-bricked his/her device , i would go with the solution @ post#4 , instruction part . But you have access to recovery and assuming you were on stock Rom /Stock kernel, before bricking it mate . For you device I would strongly suggest temporary CWM 5.0.2.6/5.0.2.8 zip flash-able file from here for instance ( for CWM6+ , you can read my explanation, why i did not recommended it for now ; post#6 ). Put this zip file inside root of your SD card / pick one custom Rom based on stock kernel , which is already rooted ( i,e: GB 2.3.6 & Stock Kernel] Ace-i-Sure v.12.0.0 ) > inside root of SD card as well.
Now follow this procedure :
- Turn off your phone
- Go to recovery mode (Stock Recovery 3e) <<Home screen button + Power button + Volume up key>>
- Select install update from SD and select the CWM temp zip file , flash it and get into CWM
- wipe data / reset; Wipe cache partition ; Advanced > Wipe Dalvik cache
-Mounts and storage > Format the following partitions : /data ; /system/ ; /cache ; /sd-ext if available .
-Mount and storage > mount everything you see (when something is mounted then it will show "unmount". If it shows "mount" then it is not mounted)
-Flash the ROM. (Install zip from sd card) follow the process inside the OP of ROM :
Select wipe data / reset and Confirm the action
Select wipe cache partition and Confirm the action
Select install zip from sd and select the rom zip file & Confirm the action
-Reboot

wb9688 said:
Can it be done on Lubuntu 14.10? (I don't have Windows)
Click to expand...
Click to collapse
I have not ever used the phone on Linux.
There are several alternatives for Linux, but I think a little more difficult.
So.
If you want to use Odin, now or in the future, you should get a PC or a Laptop with Windows.
You will also need to install on Windows the drivers for Samsung.

ehsanotaku said:
Normally when somebody soft-bricked his/her device , i would go with the solution @ post#4 , instruction part . But you have access to recovery and assuming you were on stock Rom /Stock kernel, before bricking it mate . For you device I would strongly suggest temporary CWM 5.0.2.6/5.0.2.8 zip flash-able file from here for instance ( for CWM6+ , you can read my explanation, why i did not recommended it for now ; post#6 ). Put this zip file inside root of your SD card / pick one custom Rom based on stock kernel , which is already rooted ( i,e: GB 2.3.6 & Stock Kernel] Ace-i-Sure v.12.0.0 ) > inside root of SD card as well.
Now follow this procedure :
- Turn off your phone
- Go to recovery mode (Stock Recovery 3e) <<Home screen button + Power button + Volume up key>>
- Select install update from SD and select the CWM temp zip file , flash it and get into CWM
- wipe data / reset; Wipe cache partition ; Advanced > Wipe Dalvik cache
-Mounts and storage > Format the following partitions : /data ; /system/ ; /cache ; /sd-ext if available .
-Mount and storage > mount everything you see (when something is mounted then it will show "unmount". If it shows "mount" then it is not mounted)
-Flash the ROM. (Install zip from sd card) follow the process inside the OP of ROM :
Select wipe data / reset and Confirm the action
Select wipe cache partition and Confirm the action
Select install zip from sd and select the rom zip file & Confirm the action
-Reboot
Click to expand...
Click to collapse
I should try it today!

beegeero said:
I have not ever used the phone on Linux.
There are several alternatives for Linux, but I think a little more difficult.
So.
If you want to use Odin, now or in the future, you should get a PC or a Laptop with Windows.
You will also need to install on Windows the drivers for Samsung.
Click to expand...
Click to collapse
I know that there is a tool called Heimdall and it's available for Linux, OS X and Windows and it does the same as Odin. Could I use that tool or is @ehsanotaku solution better/safer?

wb9688 said:
I know that there is a tool called Heimdall and it's available for Linux, OS X and Windows and it does the same as Odin. Could I use that tool or is @ehsanotaku solution better/safer?
Click to expand...
Click to collapse
@ehsanotaku gave you all the explanations you need.
"Would i go with the solution @ post # 4" here also he refer to Odin.
But also refers to a custom ROM which I installed myself on a S5830i and witch it is ok.
For Odin you need a firmware for S5830i.
You can download it from http://www.sammobile.com/firmwares/database/GT-S5830i/BTU/
This address is found also in the explanations of @ehsanotaku.
I know about Heimdall, but I have not used, as long as Odin works very well.
So.
Read carefully all posts of @ehsanotaku.

ehsanotaku said:
Normally when somebody soft-bricked his/her device , i would go with the solution @ post#4 , instruction part . But you have access to recovery and assuming you were on stock Rom /Stock kernel, before bricking it mate . For you device I would strongly suggest temporary CWM 5.0.2.6/5.0.2.8 zip flash-able file from here for instance ( for CWM6+ , you can read my explanation, why i did not recommended it for now ; post#6 ). Put this zip file inside root of your SD card / pick one custom Rom based on stock kernel , which is already rooted ( i,e: GB 2.3.6 & Stock Kernel] Ace-i-Sure v.12.0.0 ) > inside root of SD card as well.
Now follow this procedure :
- Turn off your phone
- Go to recovery mode (Stock Recovery 3e) <<Home screen button + Power button + Volume up key>>
- Select install update from SD and select the CWM temp zip file , flash it and get into CWM
- wipe data / reset; Wipe cache partition ; Advanced > Wipe Dalvik cache
-Mounts and storage > Format the following partitions : /data ; /system/ ; /cache ; /sd-ext if available .
-Mount and storage > mount everything you see (when something is mounted then it will show "unmount". If it shows "mount" then it is not mounted)
-Flash the ROM. (Install zip from sd card) follow the process inside the OP of ROM :
Select wipe data / reset and Confirm the action
Select wipe cache partition and Confirm the action
Select install zip from sd and select the rom zip file & Confirm the action
-Reboot
Click to expand...
Click to collapse
I have follow this steps, but he is still bricked. And I can't format or mount the /system partition, because I get the following error:
Code:
Formatting /system...
Error mounting /system!
Skipping format...
Done.
The error log:
Code:
Formatting /system...
I:Formatting unknown device.
mount: mounting /dev/block/st19 on /system failed: Invalid argument
W:failed to mount /dev/block/st19 (File exists)
W:failed to mount /dev/block/st19 (No such device)
Error mounting /system!
Skipping format...
Done.
beegeero said:
I think we should try to install original firmware for S5830i, with Odin.
You can read here and here.
Try first to understand what you want to do.
If you're not sure that you understand, looking to read more.
Be very careful and you'll succeed.
Click to expand...
Click to collapse
Can I download the PDA.tar from here and flash it on my phone using:
Code:
heimdall flash --kernel PDA.tar
and then install Ace-i-Sure?
What should I do now @beegeero or @ehsanotaku?
PLEASE HELP ME!!!

@wb9688, OK , I start with what methods do not work on your Lubuntu 14.10 , which is in reality a light weight flavor of Ubuntu , based on Lightweight X11 Desktop Environment of course . You are either on a very old PC or suffering from a low spec such as Ram etc etc , So I am assuming chance of making a dual boot system with minimum 1 GB ram and probably very low storage hard is out of the picture , correct me if i am wrong . 1-Virtualization with the help of Virtualbox/parallel/Vmware and creating of virtual guest machine for windows 7/xp/8 inside of your Ubuntu based OS won't work , because in virtual environment Phone work only in USB Mass Storage mode but not in download mode. 2-Heimdall cross - platform do not work on Ace devices , this solution is only applied to Galaxy S and tab variant such as :
GT-I9000
GT-I9100[T]
GT-I9300
GT-I9505
SGH-I727
SGH-I777
SGH-I927
SGH-I797
please do not flash kernel and that pda.tar .
3.Making a boot- able windows 7 USB might let you to install Odin, never tested it ( For requirement and tools , Google it )
4.Wine does not convert Odin executable successfully as far as i know .
let's back to the instruction at hand mate , which obviously failed to format your /system partition manually , due to incorrect recovery image you did use possibly or other thing you have done and did not provide sufficient output for troubleshooting .
Another alternative that does not require flashing Odin over windows is ,the EXT4 Formatter tool ( formats important partitions into RFS <stock fw> or ext4 and vice verse to get out of this part) .
After wiping data /cache/Dalvik , rather than formatting /system manually; flash this tool < post#8> put it inside the root of SD card .
If your partitions being transformed into RFS , without st19 Invalid argument and such , proceed with the rest of the instruction .
IF your partitions being transformed into ext4 , you need to follow post#4 , starts from line '- Flash kernel_CM7_v4.0_cooperVe ....' no need to say you must put SLIM_CM7.2_Cooperve #4 and kernel inside the root of SD card .
If all failed , the only option to counter /system partition corruption is Odin , as i explained the whole process in post#4 . ( make sure to flash correct CWM this time ).

Today I was by a friend (with a Windows notebook) and try to flash that pda.tar using odin, but odin don't view my phone and Windows give the error "device is not good connected"...

wb9688 said:
Today I was by a friend (with a Windows notebook) and try to flash that pda.tar using odin, but odin don't view my phone and Windows give the error "device is not good connected"...
Click to expand...
Click to collapse
You need to use 3 parts-split wipe package as i have instructed ( PDA/MODEM/CSC) , pit file and boot loader ; re-partition enabled , not a single pda file; Please read to understand my comments provided for you . For connection issues , make sure you have installed appropriate drivers and other requirements have met ( this post )
Edit: did you try my previous proposal in regards of formatter tools ?

Related

[Q] [ HELP ] The instructions for rom OpenOptimus get my phone with nothing on it.

Hello all, I am a noob. I tried to install my first rom, OpenOptimus 1.48, from this tread :
http://forum.xda-developers.com/showthread.php?t=1033653
I followed the instructions, wich said to get the file on the sd card then partition the card, then I get my phone able to boot in colckworkmod recovery but nothing else, file not found for install the rom because the partition is formated.. We are c urrently 2 noobs that this happened at the end of the posts on that tread.
So this is a kind of catch-22, now the compuiter wont recognize the usb, wich is the best method to get it working again now ? I am currently trying to get adb, if someone knows the treads to look for I'll be happy.
Thanks from Canada
Eh, the instructions do not say any such thing like to put something on SD card and then format/partition it. Anyway,
Either download the SDK, connect the phone via USB cable and do
Code:
adb push openOptimus-build-X.XXX.zip /sdcard/openOptimus-build-X.XXX.zip
and flash it from recovery like the instructions say,
or simply remove the SD card from phone and use a card reader to copy it there in PC.
Just mount usb storage from recovery and connect it to pc. The card will be recognized and then copy the zip file.
Sent from my LG-P500 using XDA App
at the first page :
at the first page, instructions looks like that :
"
4.Go to Advanced>Partition SD Card
512 EXT(Do not create it if you do not want a2sd)
0 Swap
Remainder FAT32
5.Go into the main recovery menu and select "wipe data/factory reset"
6.Go to Mounts and storage>format /system
7.Go into the main recovery menu and select "install zip from sdcard"
8.Select "choose zip from sdcard"
"
So then I got the file on , then formated, so no more recovery . I have clockworkmod 3.1.0.0 installed.
I am trying to get ADB working, will try that. But looking at the instructions, is it me that is not understanding them well enough or are they written strangely ?
Thanks ;-)
Mangala_Dharma said:
at the first page, instructions looks like that :
"
4.Go to Advanced>Partition SD Card
512 EXT(Do not create it if you do not want a2sd)
0 Swap
Remainder FAT32
5.Go into the main recovery menu and select "wipe data/factory reset"
6.Go to Mounts and storage>format /system
7.Go into the main recovery menu and select "install zip from sdcard"
8.Select "choose zip from sdcard"
"
So then I got the file on , then formated, so no more recovery . I have clockworkmod 3.1.0.0 installed.
I am trying to get ADB working, will try that. But looking at the instructions, is it me that is not understanding them well enough or are they written strangely ?
Thanks ;-)
Click to expand...
Click to collapse
Yes, the instructions do say that, but instead of blindly following them you should have realized that after partitioning the sd card all data would be deleted.
Anyway, the way to do this is after partitioning, select mount usb storage in recovery and connect it to ur pc(while still in recovery). The card will be recognized and you can copy the zip file. Then you can flash the zip.
Sent from my LG-P500 using XDA App
mihir287 said:
Anyway, the way to do this is after partitioning, select mount usb storage in recovery and connect it to ur pc(while still in recovery). The card will be recognized and you can copy the zip file. Then you can flash the zip.
Click to expand...
Click to collapse
I assumed he already tried that and it did not work (b/c of the "now the compuiter wont recognize the usb" part of the OP). Anyway, if not, then that is obviously the most easy way to get the file there.
Man I think your stock rom should still be working. Reboot and it should boot into your previous rom. And USB should work. Even in recovery u can mount sdcard.
Sent from my LG-P500 using XDA Premium App
I got a sd-adapter...
Well, no usb-mount while in recovery, adb is complicated to install and so I went to the store and got a micro-sd adapter and a new card with more capacity. Then no more complication to install the rom to the card & phone..
Thanks folks

[Q] Unreadable Internal Partition

Hello All,
I recently came across a rather annoying error on my Galaxy Ace (GT-S5830i), after using it the phone decided to turn itself off without any warning and restarted in recovery mode without any interaction from me. I then told the phone to restart as I had no reason to be in the recovery mode, however it then began "Boot-Looping" and would not turn on, Recovery Mode and Download Mode still function as normal. After an hour of it stuck boot-looping I decided to flash a new ROM (JellyBlast V3.0.3) this completed sucessfully according to Clockworkmod, I then rebooted and it still continued to Boot-Loop. So i then rebooted and selected Wipe Data/reset. The Log showed the error I was waiting for it read as follows.
-- Wiping Data...
Formatting /data
Error mounting /data!
Skipping Format
Formatting /cache..
Formatting /sd-ext..
Formatting /sdcard/.android-secure..
Data Wipe Complete
After Seeing that it was failing to mount the data Partition I went to the Mounts and Storage Option and tried mounting the data partition there "Mount Failed"
Does anybody know why it can't mount that specific partition or how to erase the NAND and manually Re-Partition it? I've tried ODIN to no luck.
Using Linux Ubuntu 12.04LTS
Thank you for taking the time to read this
PS I've attached a photo of the Log given by CWM
Try to format with stock recovery.
Cakawuete said:
Try to format with stock recovery.
Click to expand...
Click to collapse
Tried stock recovery aswell, as CWM isn't flashed to my device, no luck
Flash stock rom and than go to stock e3 recovery and wipe everything.
sent via cooperve.
Have you use .pit file and tick repartition? If yes than you may have a hardware problem.
:: Freedom... ::
Raxit k. Tandel said:
Flash stock rom and than go to stock e3 recovery and wipe everything.
sent via cooperve.
Click to expand...
Click to collapse
The problem isn't with flashing ROMs, its the internal partitions that are corrupt.
ChelebiTech said:
Have you use .pit file and tick repartition? If yes than you may have a hardware problem.
:: Freedom... ::
Click to expand...
Click to collapse
I've used the .pit and Selected Repartition, I've read on another page somewhere that you can use adb shell and then use FDISK to repair the partition as I suspect that an application I installed caused the error, howeve I keep getting "Permission Denied" despite being rooted?
U could use Droid explorer. Not sure it has the format command though... But has plenty commands may get u to have root access from adb shell may be...
:: Freedom... ::

Help me to install cm 10.1.3

Hi everybody ,
I need your help to install Cyanogenmod 10.1.3 on my s2 i9100 , now i'm on ics 4.0.3 official .
Read the install instructions on the first page of the thread, follow the instructions. It's not exactly rocket surgery.
hnizil said:
Hi everybody ,
I need your help to install Cyanogenmod 10.1.3 on my s2 i9100 , now i'm on ics 4.0.3 official .
Click to expand...
Click to collapse
Flash philz kernel (choose according to your build number)
Boot into recovery
Select wipe data/factory reset
Select clean to install a new rom
Install rom zip
Install gapps
Reboot
If u get status 7 error then instead of flashing philz ...Flash any siyah/dorimanx kernle for ics.
Good luck.
Sent from my GT-I9100 using Tapatalk 2
The method for rooting and flashing CWM
1) Download Odin (http://androidfirmwares.net/Tools)
2) Download root kernel (http://forum.xda-developers.com/show....php?t=1103399)
-- just scroll down and search for ur version (settings>about phone>basis version)
3) Flash it via Odin
-- Extract .zip
-- load the root kernel in Odin (as PDA)
-- Put SGSII in download mode (Vol-, Home and Powerbutton)
-- Press "Start"
4) Phone should reboot by itself
5) Turn it off, then start phone in recovery mode (Vol+, Home and Powerbutton)
6) Check if u have enough space for backup on sd card (to be sure: 2GB)
7) Go to:
-- Backup and restore
-- Backup to internal sd card (for sure u can choose external if have and want it there)
-- confirm it and then let do the phone the backup (can take a while [5-20 min])
method to flash rom
1) Download Rom
2) Put it on internal sd card
3) Go into recovery mode (see above)
4) DO A FULL WIPE!! (U won't loose ur backup on sd card [but u can copy it to PC, too, if u want])
-- wipe data/ factory reset
-- wipe cahe partition
-- advanced > wipe dalvik cache
-- mount and storage > format data/system/cache
5) Then flash Rom via recovery
-- install .zip from sd card > choose .zip from sd card
-- Select the downloaded Custom Rom and flash it
6) Reboot and u r done!
hope this helps

[Q] Re Partition IntSD

I tried to repartition the intSD but I am unfortunately failed.
The Guide: http://forum.xda-developers.com/showthread.php?t=2538947&nocache=1
May way
1) Run Odin 1.85, put your phone in to download mode (vol down/home/power button) and connect to PC via USB
2) Tick re-partition box
3) Click PIT button and select the pit file of your desired app partition size. (4GB)
4b) OR Flash your persnonal choice of kernel in *.tar format and pit file, reboot to CWM ( power button/vol up/home button) and install new rom or restore nandroid and boot as normal and skip to number 9 in this guide
9) When your phone boots, you may get a notification to format usb storage, so yes if prompted! If not then please follow Dorimanx's advice of fixing the partition format by:
4b of your guide mit Dorimanx. After restore and reboot --> delete intSD --> but the rest of the SD is not available.
Second attempt
Guide 1,2,3 (between 1 and 12GB) and 4a, 5-8 of your guide. reboot --> The new partition is OK but rest of the SD is not available.
Error messages:
Can't mount "data" (Invalid argument)
Anyway if I make the partition 1 or 12GB ( I have only space in the new partition but not more)
Dorimanx Kernel --> mount /storage/sdcard0 -->Error mounting /storage/sdcard0!
Do have any Idea how i can mount/format sdcard0
Regards Klaus
P.S.: Sorry for my English
@metalgearhathaway, do you want to have a look here mate? I figure you'd be the one to know what's going on here
Sent from a galaxy far, far away
Hopper8 said:
@metalgearhathaway, do you want to have a look here mate? I figure you'd be the one to know what's going on here
Sent from a galaxy far, far away
Click to expand...
Click to collapse
@Hopper8,
thanks for your Answer.
Is it possible that you give my contribution to "http://forum.xda-developers.com/showthread.php?t=2538947&page=36" ??
Maybe someone has similar problems.
I cant write because I have unfortunately no write authorization.
Regards Klaus
Klaus20 said:
@Hopper8,
thanks for your Answer.
Is it possible that you give my contribution to "http://forum.xda-developers.com/showthread.php?t=2538947&page=36" ??
Maybe someone has similar problems.
I cant write because I have unfortunately no write authorization.
Regards Klaus
Click to expand...
Click to collapse
You only need two more posts to be able to post in that thread mate... maybe see if you can answer someone else's question on Q&A, (even post a photo to the 'best photo you've taken' thread or something) I think you'll be much better off talking for yourself, as I don't know the ins and outs of your situation. Good luck! :good:
Thank you for your explanation.
Klaus20 said:
I tried to repartition the intSD but I am unfortunately failed.
The Guide: http://forum.xda-developers.com/showthread.php?t=2538947&nocache=1
May way
1) Run Odin 1.85, put your phone in to download mode (vol down/home/power button) and connect to PC via USB
2) Tick re-partition box
3) Click PIT button and select the pit file of your desired app partition size. (4GB)
4b) OR Flash your persnonal choice of kernel in *.tar format and pit file, reboot to CWM ( power button/vol up/home button) and install new rom or restore nandroid and boot as normal and skip to number 9 in this guide
9) When your phone boots, you may get a notification to format usb storage, so yes if prompted! If not then please follow Dorimanx's advice of fixing the partition format by:
4b of your guide mit Dorimanx. After restore and reboot --> delete intSD --> but the rest of the SD is not available.
Second attempt
Guide 1,2,3 (between 1 and 12GB) and 4a, 5-8 of your guide. reboot --> The new partition is OK but rest of the SD is not available.
Error messages:
Can't mount "data" (Invalid argument)
Anyway if I make the partition 1 or 12GB ( I have only space in the new partition but not more)
Dorimanx Kernel --> mount /storage/sdcard0 -->Error mounting /storage/sdcard0!
Do have any Idea how i can mount/format sdcard0
Regards Klaus
P.S.: Sorry for my English
Click to expand...
Click to collapse
Sorry dude, I've been away on holiday, the issue you had maybe the version of twrp or cwm that you have installed or the fact that you need to connect your phone to you pc as mass storage then allow windows to format the partition for you.
Post back if you still need help, I am now around more!

[MOD][GUIDE][NOOB-FRIENDLY]Increase system partition size

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!

Categories

Resources