SGS2 stuck on boot after attempt to enlarge system partition - Galaxy S II Q&A, Help & Troubleshooting

[edit: re-posting in Friendly Q & A - posted as new thread by mistake. Apologies]
Hi guys
I'm stuck on a boot screen and would love some help!
I recently got handed down an old S2 - GT i9100 - things went well for a bit!
* rooted it
* flashed kernel and Clockwork Mod Recovery (used heimdall suite)
* flashed Cyanogen Mod 12.1 (Lollipop)
All worked perfectly. Great!
After a bit I wanted to increase the system partition's size (to accomodate newer G-apps package)
So decided to follow a guide to repartition (and to flash PhilZ Touch 5 recovery at the same time). I did these using Odin. But I think the guide may have been intended for use with a stock rom and recovery phone. So now the phone gets stuck at the boot screen (with yellow triangle). I can access both Download mode and Recovery. I tried using the Advanced options in PhilZ to partition internal sdcard to fix the partition table but no luck and I guess I maybe made things worse! I've tried to wipe/format (so as to factory reset) from PhilZ but there's an error now during formatting with mounting: /emmc/.android_secure and with mounting: /sdcard/.android_secure
it says:
"skipping formatting - data wipe complete"
I downloaded some stock roms too but I didn't really know which one to choose (of the Ireland ones - I've assumed the phone's Irish) because the phone came to me unlocked from any network and without network provider software.
I decided then I'd better get some good advice here before I fully brick the phone by tinkering!!
Your help would be hugely appreciated!
Thanks very much
Dan

corr
mintydan said:
[edit: re-posting in Friendly Q & A - posted as new thread by mistake. Apologies]
Hi guys
I'm stuck on a boot screen and would love some help!
I recently got handed down an old S2 - GT i9100 - things went well for a bit!
* rooted it
* flashed kernel and Clockwork Mod Recovery (used heimdall suite)
* flashed Cyanogen Mod 12.1 (Lollipop)
All worked perfectly. Great!
After a bit I wanted to increase the system partition's size (to accomodate newer G-apps package)
So decided to follow a guide to repartition (and to flash PhilZ Touch 5 recovery at the same time). I did these using Odin. But I think the guide may have been intended for use with a stock rom and recovery phone. So now the phone gets stuck at the boot screen (with yellow triangle). I can access both Download mode and Recovery. I tried using the Advanced options in PhilZ to partition internal sdcard to fix the partition table but no luck and I guess I maybe made things worse! I've tried to wipe/format (so as to factory reset) from PhilZ but there's an error now during formatting with mounting: /emmc/.android_secure and with mounting: /sdcard/.android_secure
it says:
"skipping formatting - data wipe complete"
I downloaded some stock roms too but I didn't really know which one to choose (of the Ireland ones - I've assumed the phone's Irish) because the phone came to me unlocked from any network and without network provider software.
I decided then I'd better get some good advice here before I fully brick the phone by tinkering!!
Your help would be hugely appreciated!
Thanks very much
Dan
Click to expand...
Click to collapse
Dont worry
Just start right from the beginning:
in Odin flash pitfile 1GB System_4GB Data and a gustavo kernel with CWM Recovery
reboot into CWM recovery and format according to instruction 10. in Thread (MOD)(GUIDE)(NOOB FRIENDLY) increas system partition size by @gsstudios
install in recovery latest cm 12.1 or cm13 (or other MM 6.0.1) plus open pico gapps and isorec-recovery twrp 3.0.2.0 by @arnab in one go
reboot system and you will be fine.
Note: it is important to flash pitfile which increases also system partition not only data partition
do not forget to format exactly according to the mentioned thread
do not forget to install isorec twrp recovery together with rom and gapps
in this thread on page 30 post 294 you get information where to find isorec recovery and gustavo kernel (CWM)
And please read this complete thread by @gsstudios carefully , it has all information you need
sorry just overlooked that your post has been moved (in case it will not reach you i will post there)

Thank you so much!
I will follow these steps tonight and then I'll post back how it went.
Really appreciate your help :good::good:
Cheers
mintydan

Sorry, took me ages to get round to it but result is good!
All working CM 13 on my S2 now.
Thank you very much indeed for your help!!

Related

Unable to boot with any kernel/rom

Hey guys!
Since I tried building Firefox OS -Boot2Gecko- on my Samsung Galaxy S2 (i9100) (FYI: I followed this walkthrough) , I'm having quite a hard time making my phone boot on any ROM I try to install. I still have an access to CWM Recovery and to the Download mode
* After failing to flash B2G's Gaia on my phone, I tried to flash the kernel back to the original one and to restore the CM 10.1 NIGHTLY backup I made before doing all this mess. No changes: stuck at CM's boot screen.
* Tried to get back to a stock firmware and ROM, stucks at boot screen ("Samsung Galaxy S II GT-I9100" screen), even after a wipe data/factory reset, wipe cache and wipe dalvik cache.
(In fact, I achieved to boot on a stock ROM once, but after some other manipulations to get my CM 10.1 back, I now can't get it to boot on any of them anymore.)
* I tried to follow the rooting + CyanogenMod walkthrough on CM's wiki, but the same happens: stucks on boot screen. However, after a wipe data, I reach CM's boot animation, which runs indefinitely.
* Right now I tried flashing with Siyah's Kernel, since the flash counter is not any of my concerns anymore. Whatever I try, I can't get anything to get past the "Booting the primary ROM" message.
However, I installed a stable CM9 on the secondary ROM and... it actually works. But even when cloning 2nd ROM to the 1st ROM, can't get the first to boot anyway.
I am not an expert in Android OS architecture, but could it be related to some kind of modifications made by B2G's build & flashing? Maybe some files in the /data or /system partitions have been altered and are not replaced when fllashing, leading to ROMs not loading up?
Any advice on this is welcome.
PS: English is not my main language, sorry if things aren't explained clearly. Tell me if you need any clarifications about it!
hey there,
i have a similiar problem.
i got the info to reflash it using ODIN.
one user told me, that maybe the NAND-RW could be corrupted....
so iam trying it right now...
good luck
Wipe kernel/rom data with a cleaning script. You can find them in dev sections.
Well I flashed it many times with Odin (or Heimdall when I was on Linux) and I saw no improvement.
I don't think my NAND-RW is corrupted, as I can still boot on Download or Recovery mode.
Just found this tutorial, is it worth the try?
Sakujou_Kei said:
hey there,
i have a similiar problem.
i got the info to reflash it using ODIN.
one user told me, that maybe the NAND-RW could be corrupted....
so iam trying it right now...
good luck
Click to expand...
Click to collapse
Well I flashed it many times with Odin (or Heimdall when I was on Linux) and I saw no improvement.
I don't think my NAND-RW is corrupted, as I can still boot on Download or Recovery mode.
Just found this tutorial, is it worth the try?
TheATHEiST said:
Wipe kernel/rom data with a cleaning script. You can find them in dev sections.
Click to expand...
Click to collapse
This one http://forum.xda-developers.com/showthread.php?t=1363738 (Kernel) and this one http://forum.xda-developers.com/showthread.php?t=2100558&highlight=script (ROM) ?
Ok so I tried the cleaning scripts I linked on my previous message, no changes. I can still boot on Siyah's second ROM, but can't get past the "Booting primary ROM" message.
Ideas anyone?

[Q] Help needed installing CWM Recovery to Galaxy S2 already rooted via Framaroot

First the specs. Samsung Galaxy s2 GT-9100 running Android 4.1.2 Build XWLSH Kernal 3.0.31-889555
Need a touch of help here. Finally had the nerve to root the GS2 on the weekend and clean out all the crud not required... so far so good
Had no success in attempts to install CWM Recovery through ROM Manager (Recovery setup > ClockworkMod Recovery > Galaxy S2 i9100 > "does not have an officially supported...."). Also found the Recovery builds on the official site but no guides whatsoever as to how to install... oh so helpful
Finally came across a guide at galaxys2root[dot]com on installing recovery from download mode using Odin. Ran through the process and ended up stuck at boot with no way of proceeding. After a panic session, was able to recover from back-up (thank god I backed up the ROM and all data before attempting to install CWM recovery). Now I'm right back where I started with no idea how to go replacing the stock recovery.
Can someone please shine some light on the situation? At a complete loss as to how to get the CWM Recovery on the phone without bricking it.
Cheers in advance
1) Don't use Rom Manager. At all. Uninstall it. It will break recovery & cause bootloop eventually if you continue to use it.
2) Thread stickied near the top of Q&A has all the info you need. Essentially, any CWM you flash independent of the kernel will only persist until the next reboot. Reason being recovery is baked into the kernel on the S2 & isn't a separate partition like other phones. So you flash a custom kernel, you end up with rooted phone + permanent CWM.
MistahBungle said:
1) Don't use Rom Manager. At all. Uninstall it. It will break recovery & cause bootloop eventually if you continue to use it.
2) Thread stickied near the top of Q&A has all the info you need. Essentially, any CWM you flash independent of the kernel will only persist until the next reboot. Reason being recovery is baked into the kernel on the S2 & isn't a separate partition like other phones. So you flash a custom kernel, you end up with rooted phone + permanent CWM.
Click to expand...
Click to collapse
A huge thankyou for pointing me in the right direction. I had since the original post found Mobile Odin (invested in the pro version) and installed the CWM Recovery from the their site... only for it to revert back to stock recover screen At least now I know why.
After much hunting around - I notice the stickied posts don't make it easy to find the correct kernel for for the AU i9100 - I found the PhilZ cmw6 kernel build.... used Mobile Odin to flash and all is now rosy.
Now question.... I was under the impression that ROM Manager was required as an install with CWM. I use Online Nandroid Backup to create full ROM/Data backups and trying out Nandroid Manager for selective recovery.... is that all I need then now that CWM is successfully installed in recovery?
Cheers again
Can't speak to those products as I've never used them, but Rom Manager & the S2 is a big no no. Doing nandroid backups, which is essentially a 'snapshot' of your phone at the time you make it, by simply booting into CWRecovery & also backing up apps/app settings with Titanium has always done the job for me.

[Q] My i9305 think it's a i9300 after formatting

Greetings fellow Earthicans!
I've been roaming these forums for several years now and have been able to fulfill all my custom rom needs by searching, trial and error. I've bricked all my phones at least once but have always managed to make the phone work better than when i first stardet modding it. This time i managed to do something i've never been able to do before and i'm therefor writing my first post here.
Yesterday i did a full wipe/format of everything available in CWM because the internal phone memory was close to full. In the process i managed to erase all my backups, which i thought was fine since i loaded my external sd with most of the custom roms and gapps available on this amazing forum.
However, when i tried to flash either one of the .zip files i get the same message "this package is for "m3", m3xxm i9305, gt - i9305 device; this is a "m0"." Even though i've had both avatar and miui ROM installed a few hour earlier. I was stuck on the boot screen, as so many other times with this and other devices.
So i searched around this forum and google and found out that m0 is the i9300 and my initial thought was "nice, perhaps i can install the custom roms of the i9300 by copying them to my ext sd and install through CWM" Which of course did not work and i realized i had to go back to stock through the download screen
So i downloaded my firmware (4.1.2 and 4.3) from sammobile.com to do a stock reset through odin 3.07. Both firmwares works fine and all of the phones functions work as intended, as far as i know.
I'm currently running 4.3 I9305XXUEMKC_I9305TLAEML1_I9305XXUEMK1_HOME.tar.md5 without any problem, but would love to be able to run custom ROMs again, but have no clue how to proceed.
I would be eternally thankful if someone know the solution to this problem i've encountered through my irresponsible actions.
/an open-source and android enthusiast
This is not i9305 q&a .
in recovery format system sdcard data and cache then boot to download mode and flash the correct stock rom for your phone via Odin .
JJEgan said:
This is not i9305 q&a .
in recovery format system sdcard data and cache then boot to download mode and flash the correct stock rom for your phone via Odin .
Click to expand...
Click to collapse
Thank you for your reply.
I've checked which of the stock rom to use and have done as you described, i can run the stock rom and currently am.
iIve rooted the phone and installed CWM through odin. When booting into CWM, and clearing as described in all guides, i still get the same error message given in my post above.
are you sure you do have the right recovery and that this is up to date?

[Q] Stuck on ClockworkMod Recovery on Asus TF101

Hello,
First of all, I'm new in this forum and I don't know if it's the right place to post this question
I've been through many researches on the web but I couldn't find a clear answer to my problem,
If someone has the resources to help me I'd be glad
So my problem is:
I wanted to install KatKiss ROM - Asus TF101 from this very forum
http://forum.xda-developers.com/showthread.php?t=2592890
And I've started to follow the information given on the page : (if important I use ClockworkMod Recovery v3.1.0.1)
Backup everything !
Go to recovery
Make a full wipe / factory reset (you can skip this step if you're already on KatKiss-4.4, if ever you encounter a problem do the full wipe and try again before reporting )
Format /system
Flash the rom
Flash optional kernel
Flash gapps
Wipe cache/dalvik
Reboot
So I went through the first steps.
I made a factory reset (not with CWM but on the Android settings)
I didn't watched but I think it went ok.
When the Pad booted I couldn't access anymore to the real Android,
but I thought it was due to the manipulation I was doing
So to be sure the previous process wen well I made a full wipe/factory reset with CWM Recovery
I put all the zip files on a SD card that I put in the device,
I can access to the files on it
and as instructed I installed
KatKiss 4-4-2_023c.zip
KatKiss 4.4_AddOn_TF101G_Kernel_01.zip
gapps-KatKiss-4.4.2_20140221b.zip
When rebooting I couldn't acces anything but CWM.
Well I came to ask, what should I do, what should I check, what I shouldn't do?
I've tried to use the function Restore, because when I installed CWM I made a backup as instructed, but it seems to fail when I want to restore.
In need for answers, I thank you in advance for any piece of advice.
Since I got no answers I tried by myself some stuffs
I installed CyanogenMod 9.1.0-tf101 (only problem I can't connect to home wifi :good
I can access to the desktop of the tablet now (that's nice!)
But I have still some problems for which I'm looking answers.
In my reserches in found that the biggest mistake I made was to install Rom Manager (5.0.2.0) to access CWM
(Well, i'm a rookie...)
Now my best wish would be to run the tablet Katkiss 4.3 (i've seen that there were some compatible version for my TF101)
- How can I manage to get rid of Rom Manager ?
- How can I replace CMW by TWRP ? (It seems to be way better than RomManager & CWM)
- How to install
I don't understand all of the technical terms, Kernel Roms Drivers Flash Cyanogenmod Katkiss RomManager CWM TWRP what does what, i'm kind of lost, if any good samaritan read this I'd be so happy to have some advice of what I should do or just show me the path to some places where i can find specific answers i'd be glad..
System Info :
- Android 4.0.4
- Kernel 2.6.39.4-ge33a197

[Q] Help: Bootloop after upgrading CWM

Hi all,
For backup purpose :angel:, I tried to upgrade to the latest Recovery_CWM_6.0.4.7_I9100.zip using Install Zip from an older CWM of my Samsung Galaxy S2.
And I'm in big trouble because after installing the clockworkmod recovery the phone won't boot anymore. It's stuck on "Galaxy SII - GT-I9100 - SAMSUNG" splash screen :crying:
The CWM works and gives this log:
I:Can't partition non mmcblk device: /devices/platform/dw_mmc//mmc_host/mmc0/mmc0
I can mount partition and accessed it from my pc.
I wiped cache and dalvic cache without more luck.
There is no vibration on boot either.
As my data aren't backup yet, I don't want to wip them out with some ROM. Did I miss something?
Any hint about what I should do to have the phone boot again would be greatly appreciated! :highfive:
Cheers
@GalaxyS2u did you flashed the right cwm/kernel for your rom since they are included in one boot.img? If you cannot flash an new rom anymore in the recovery or reflash the kernel /recovery then you need to flash an kernel/recovery in odin. Try an odin philz kernel if there is one else flash siyahkernel with odin.
And that partition thing is that even an valid partition ?
Backup your data first in recovery then try my things i suggested. I still think that the reason why it doesnt boot is because you flashed the wrong recovery/kernel.
Are you on stock btw? I suggest to try to flash philz kernel if you are on stock.
@wulsic
Thanks a lot for your hint :good:. That saves my precious! :victory:
I can manage to come back to my old CWM recovery with a flash of siyah with odin.
The new CWM works only with a new ROM and not with my old stock. With this experience, I am even able to upgrade to the KitKat version.
Viva this model and this community!
@GalaxyS2u glad to hear you figured it out I also had that problem when i flashed S2 first i soon found out that kernel/recovery were in one happy flashing?

Categories

Resources