Help fixing soft-bricked / boot loop - Galaxy S 5 Q&A, Help & Troubleshooting
I recently restarted my phone after the battery died, and now every time it gets to the lock screen, I can unlock it, and it'll function seemingly fine for up to 30 seconds (usually more like 5-10), but then it automatically restarts.
The only apps I've installed since last restarting, maybe a week ago, are FolderSync and Tasker. It's possible I haven't restarted since installing AnyConnect and OpenConnect, although I'm pretty sure I did restart at least once after those, and haven't touched them since. OpenConnect did have some permissions fix item in the settings menu that would supposedly attempt to get it to work on devices where it wouldn't (it didn't work on mine), so that has me suspicious, especially since it seems sometimes these boot loops are related to permissions errors.
I'm running Philz recovery, which I can get into fine. I read about a permissions fix in some recoveries, but Philz (at least mine) doesn't seem to have it.
When the battery died, I was connected to a bluetooth speaker, playing music with Spotify. Not sure if something could have gotten corrupted having it die while the bluetooth connection was active.
It's a T-Mobile S5 and the ROM I'm running XtreSoLite 2.1 Lollipop XXU1BOC7.
Any suggestions for things to check to get it to stop restarting? If I have to wipe it, are there any ways to sort of partially wipe it? Are there a series of things I can try that would go from least extreme (not losing anything) to most extreme (fully re-flashing)? I have been able to open an adb shell and pull everything from internal storage that I don't want to lose.
Thanks in advance for any help.
Boot into recovery and clear the CACHES
Boot back up, see if that fixes it, if it died while busy, it might just be a corrupted cache
Don't factory reset while you are running that ROM, it is a deadly bricking ROM because it doesn't allow you to disable Reactivation Lock, if you missed the setting during first boot, it's now permanently enabled and will lock you out of your phone if you try to flash something else, or reset
I tried "wipe cache partition" and "wipe dalvik cache" with no luck. After dalvik, it even did the "optimizing x out of y android apps" thing at startup, getting my hopes up that at least *something* was happening so it'd possibly get fixed.
So no factory reset... is there any way to then to get the ROM back to its original, freshly-installed, state? I guess the way to do it would be to install the ROM again with the zip file in recovery.
Are there any system logs that show what's happening at startup? There's gotta be a way to figure out what step it's getting to that causes it to restart... there's definitely a consistent set of things that happen before it does it. Lock screen comes up, the "no sim installed" notification comes up. There's an "unable to update automatically" message pop up (not in the notification panel), which I think is from the clock being unable to update from the internet from having no network connection. Usually happens right after that. Wish I could get a task manager installed that could view which processes/services are running.
Use an adb log/shell, just get adb working and then you can have it so adb sits there waiting for the device and starts spewing logs as soon as it can until it looses the device.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Having trouble getting the logs. I boot into recovery, connect via USB, then on my PC, enter "adb locat".
I got "/sbin/sh: exec: line 1: logcat: not found"
After a quick search, found that I should go into the "Mounts and Storage" menu in recovery, and mount /system. Did that, now I got some output:
Code:
--------- beginning of system
I/Vold ( 203): Vold 2.1 (the revenge) firing up
D/Vold ( 203): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 203): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 203): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 203): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 65, PARTN 1
D/Vold ( 203): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
--------- beginning of main
I/ARMAssembler( 201): generated scanline__00000077:03545402_00000A02_00000000 [ 31 ipp] (53 ins) at [0xb3acc1f0:0xb3acc2c4] in 72552 ns
I/ARMAssembler( 201): generated scanline__00000077:03545402_00000A01_00000000 [ 31 ipp] (52 ins) at [0xb3acc2d0:0xb3acc3a0] in 45208 ns
I/ARMAssembler( 201): generated scanline__00000077:03545402_00000A08_00000000 [ 31 ipp] (53 ins) at [0xb3acc3b0:0xb3acc484] in 38177 ns
I/ARMAssembler( 201): generated scanline__00000077:03545402_00000000_00000000 [ 30 ipp] (44 ins) at [0xb3acc490:0xb3acc540] in 36562 ns
I/Vold ( 203): /dev/block/vold/179:65 being considered for volume sdcard1
D/Vold ( 203): Volume sdcard1 state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/Vold ( 203): Trying to get filesystem type for /dev/block/vold/179:65
I/fsck_msdos( 203): ** /dev/block/vold/179:65
D/Vold ( 203): Found vfat filesystem on /dev/block/vold/179:65
I/fsck_msdos( 203): ** Phase 1 - Read and Compare FATs
I/fsck_msdos( 203): Attempting to allocate 3747 KB for FAT
I/fsck_msdos( 203): Attempting to allocate 3747 KB for FAT
I/fsck_msdos( 203): ** Phase 2 - Check Cluster Chains
I/fsck_msdos( 203): ** Phase 3 - Checking Directories
I/fsck_msdos( 203): ** Phase 4 - Checking for Lost Files
I/fsck_msdos( 203): 176 files, 3026368 free (749934 clusters)
I/Vold ( 203): Filesystem check completed OK
W/Vold ( 203): blkid failed to identify /dev/block/vold/179:65
D/Vold ( 203): Volume sdcard1 state changing 3 (Checking) -> 4 (Mounted)
I restart the device through the "reboot" menu option in recovery, and the logcat session exits. I retype "adb logcat", and then I get
"- waiting for device -"
Seems promising, like once the OS on the device starts loading I might start getting log messages, but nothing happens, and it just sits there. Device starts up, then restarts like it's been doing.
Anything obvious I'm doing wrong regarding getting a realtime output of the log? Anything of interest in the log output that did get while it was in recovery? That "blkid failed to identify /dev/block/vold/179:65" could be something, couldn't it?
While in recovery, USB connected, after mounting /system so logcat works, started logcat. Then mounted /data. Then mounted /storage/sdcard1. This was the logcat output:
Code:
--------- beginning of system
I/Vold ( 204): Vold 2.1 (the revenge) firing up
D/Vold ( 204): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 204): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 204): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 204): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 65, PARTN 1
D/Vold ( 204): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
--------- beginning of main
I/ARMAssembler( 202): generated scanline__00000077:03545402_00000A02_00000000 [ 31 ipp] (53 ins) at [0xb3aa01f0:0xb3aa02c4] in 70573 ns
I/ARMAssembler( 202): generated scanline__00000077:03545402_00000A01_00000000 [ 31 ipp] (52 ins) at [0xb3aa02d0:0xb3aa03a0] in 46563 ns
I/ARMAssembler( 202): generated scanline__00000077:03545402_00000A08_00000000 [ 31 ipp] (53 ins) at [0xb3aa03b0:0xb3aa0484] in 37604 ns
I/ARMAssembler( 202): generated scanline__00000077:03545402_00000000_00000000 [ 30 ipp] (44 ins) at [0xb3aa0490:0xb3aa0540] in 36042 ns
I/Vold ( 204): /dev/block/vold/179:65 being considered for volume sdcard1
D/Vold ( 204): Volume sdcard1 state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/Vold ( 204): Trying to get filesystem type for /dev/block/vold/179:65
D/Vold ( 204): Found vfat filesystem on /dev/block/vold/179:65
I/fsck_msdos( 204): ** /dev/block/vold/179:65
I/fsck_msdos( 204): ** Phase 1 - Read and Compare FATs
I/fsck_msdos( 204): Attempting to allocate 3747 KB for FAT
I/fsck_msdos( 204): Attempting to allocate 3747 KB for FAT
I/fsck_msdos( 204): ** Phase 2 - Check Cluster Chains
I/fsck_msdos( 204): ** Phase 3 - Checking Directories
I/fsck_msdos( 204): ** Phase 4 - Checking for Lost Files
I/fsck_msdos( 204): 176 files, 3026368 free (749934 clusters)
I/Vold ( 204): Filesystem check completed OK
D/Vold ( 204): blkid identified as /dev/block/vold/179:65: UUID="9016-4EF8" TYPE="vfat"
D/Vold ( 204): Volume sdcard1 state changing 3 (Checking) -> 4 (Mounted)
The /dev/block/vold/179:65 were written after mounting /storage/sdcard1. So I wonder if that "blkid failed to identify /dev/block/vold/179:65" message indicates some issue with my internal storage. Could it somehow be unavailable once the OS starts up?
Brent212 said:
I tried "wipe cache partition" and "wipe dalvik cache" with no luck. After dalvik, it even did the "optimizing x out of y android apps" thing at startup, getting my hopes up that at least *something* was happening so it'd possibly get fixed.
So no factory reset... is there any way to then to get the ROM back to its original, freshly-installed, state? I guess the way to do it would be to install the ROM again with the zip file in recovery.
Are there any system logs that show what's happening at startup? There's gotta be a way to figure out what step it's getting to that causes it to restart... there's definitely a consistent set of things that happen before it does it. Lock screen comes up, the "no sim installed" notification comes up. There's an "unable to update automatically" message pop up (not in the notification panel), which I think is from the clock being unable to update from the internet from having no network connection. Usually happens right after that. Wish I could get a task manager installed that could view which processes/services are running.
Click to expand...
Click to collapse
No, don't flash anything custom, not even the same ROM
That ROMs links were removed from XDA because of this problem, where did you get it from?
Go into settings, hit the magnifying glass at the top, and search for "Reactivation Lock" - it's possible you might find it that way, and if you do, disable it immediately
Once it's turned off, you can factory reset, or flash another ROM
I have a vague memory of someone else finding it that way
*Detection* said:
No, don't flash anything custom, not even the same ROM
That ROMs links were removed from XDA because of this problem, where did you get it from?
Go into settings, hit the magnifying glass at the top, and search for "Reactivation Lock" - it's possible you might find it that way, and if you do, disable it immediately
Once it's turned off, you can factory reset, or flash another ROM
I have a vague memory of someone else finding it that way
Click to expand...
Click to collapse
Wow, so reactivation lock is enabled by default for this ROM, but is it possible to set it to disabled at some point during the install process, and if so, is there a way I can see if I set it to disabled?
I got the ROM almost a year ago, so it doesn't look like this issue was known at that point, at least in the ROM's thread.
I'm running 2.1. Is it possible the reactivation lock wasn't an issue with that version (latest is 2.2, although looks like there are unofficial versions 2.3 and 2.4)?
Would I be able to re-install the ROM from zip file in recovery, then at first boot follow this procedure? -- http://myandroid.nl/reactivation-lock-solution-for-galaxy-s5/
Or actually, upon looking at that, can I just go into settings-->security and uncheck "Reactivation Lock"? It sometimes gives me up to 30 secs before restarting, so I could probably manage that.
If the setting is there, disable it and you're golden
The problem was with the latest version (2.2 I think), the only setting was during 1st boot
Possibly able to find using the search function in settings too according to a member here but not 100% on that
I was finally able to get some potentially useful logs.
Not sure if it was all necessary, but I enabled developer options by doing the "tap build number 7 times" thing, then enabled USB debugging, which I thought I've always had on for every phone/ROM I've had, but must not have ever done it for this one. Then I had to either plug in the USB cord after the phone started booting up, or select the USB connection options notification (not sure which of those actions did it), and I was suddenly able to maintain an adb shell while the phone continuously booted up and restarted.
At first, trying to use logcat, I'd get a "Unable to open log device 'main'" error message. So I had to comment out the "rm /dev/log/main" line from /system/etc/init.d/logcat. Which I was only able to do which the phone in recovery mode. However, in recovery mode, I didn't have vi in my path, but eventually found it under /system/xbin (just putting that here in case it helps anyone in the future).
So finally logcat was working while the boot loop was in progress, and I got the attached logs. The first one was taken starting from right after the phone restarted. It went until it got to the lock screen, then for some reason my adb session would get dropped, even though I could immediately reconnect. The second file is from right after that happened to just after the restart happened again.
Any obvious messages that explain why it's restarting?
"FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine" doesn't look good.
"FATAL EXCEPTION: UlrDispSvcFastTask" also... I see here that enabling "keep awake" permission for Play services fixed that, so I'll try to figure out how to do that.
There are a lot of "Unknown permission" messages.
Lot of "RuntimeException: android.os.DeadObjectException" and "RuntimeException: Package manager has died" errors. Maybe some/all of these are caused by the system shutting down and aren't actually problematic.
Also looks like some warnings/errors could be related to lack of any network connectivity (no SIM installed and I have wifi off).
Thanks for any help deciphering this stuff.
I'm not into the coding side of Android, so it would be the blind leading the blind if we went down that route
--Try safe mode--
Turn on safe mode
Turn the device off.
Press and hold the Power key.
When 'Samsung Galaxy S5' appears on the screen, release the Power key.
Immediately after releasing the Power key, press and hold the Volume down key.
Continue to hold the Volume down key until the device finishes restarting.
Thanks for the suggestion, but that was actually the very first thing I tried. I was totally confident it *must* be an issue with one of the two apps I installed since last rebooting, so all I'd have to do is start in safemode, remove those apps, and it'd be fixed, right? Man I wish it had been that easy.
Is it even possible to set reactivation lock to disabled at some point during the ROM install process, or is it just forcefully enabled? Seems like a lot of people must not be having this issue, so they must have been able to disable it at some point, unless it's just that all those people haven't had to reset, reinstall, or install a new ROM. Really wish I could see if it's enabled or disabled for me, as I can't see myself enabling it if given the choice. If that question came up during the install, I'm pretty sure I'd have looked up what "reactivation lock" was and chosen to disable it.
Didn't have any luck finding a way to enable "keep awake" permission for Play services. At least, under settings-->Application Manager-->Google Play Services, I see a bunch of descriptions for permissions, but no way to enable/disable them. And I haven't even been able to find one that looks like it'd be the "keep awake" permission.
Looking at t-mobile's page on reactivation lock, they have directions for enabling/disabling it: https://support.t-mobile.com/docs/DOC-21136
Logging into http://findmymobile.samsung.com/, my account shows that no devices are associated with it. Would that indicate that I haven't had reactivation lock enabled before, or is this completely irrelevant?
Boot into download mode and check if it tells you Reactivation Lock is enabled (Volume Down & Home & Power)
Problem is, if you flash that ROM again, to initiate setup, you'll get locked out most likely
There is a solution, which works for 'most' people, but lately it's been less and less effective, and it means risking locking yourself out to try it
Flashing a stock KitKat ROM, and logging into your Samsung / Google accounts on first boot, allows disabling of reactivation lock
Problem would only start, if ODIN fails to flash that KitKat ROM
Like I say, this usually works, but with newer revisions of the S5, it's been failing for a few people lately
You say you have had this ROM installed for a year, and I got my S5 around a year ago, and I can flash with ODIN fine, so you will likely be OK to go for it
Other alternative would be to remove the apps manually from recovery or ADB via PC USB
*Detection* said:
Boot into download mode and check if it tells you Reactivation Lock is enabled (Volume Down & Home & Power)
Click to expand...
Click to collapse
Okay, I went into download mode and it's not giving me any sort of info that blatantly tells me whether or not RL is enabled/disabled. This is what I get:
Code:
ODIN MODE
PRODUCT NAME: SM-G900T
CURRENT BINARY: Custom
SYSTEM STATUS: Custom
KNOX WARRANTY VOID: 0x1 (4)
QUALCOMM SECUREBOOT: ENABLE (CSB)
RP SWREV: S1, T1, R1, A1, P1
SECURE DOWNLOAD : ENABLE
UDC START
Then there's the message on the middle of the screen with the green android logo saying "Downloading... Do not turn off target".
*Detection* said:
Like I say, this usually works, but with newer revisions of the S5, it's been failing for a few people lately
You say you have had this ROM installed for a year, and I got my S5 around a year ago, and I can flash with ODIN fine, so you will likely be OK to go for it
Click to expand...
Click to collapse
I got it almost two years ago, pretty much right when the S5 came out, so it's probably the first version.
*Detection* said:
Other alternative would be to remove the apps manually from recovery or ADB via PC USB
Click to expand...
Click to collapse
How would I go about doing that? In recovery I can't find any option that looks related to app removal, and I can't even really browse+delete files from there (there is an "aroma file manager" item, which fails because it says it's not installed). From ADB I could delete files, but I'm not sure what all I'd need to delete in order to fully remove an app. Plus, I've already uninstalled the apps that should, *in theory*, be the only possible offenders, just through regular means (app drawer, drag app icon to "uninstall") during the small window of time I get after each boot.
I was expecting a screen showing this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For removing the apps, you'd need to navigate to /data/app and delete any packages you think could be the offenders
That should be enough to kill them from starting up with Android
but it could also be a system app, /system/app
Other location could be /data/data
If the phone is 2 years old, I'd say you have a very good chance of just flashing a KitKat ROM and then boot into recovery > factory reset > log in with your Samsung & Google accounts and disable reactivation lock (If it is enabled, which I assume it will be)
Looking at the thread, and in particular this guy's post, it sounds like the reactivation lock issue might have been introduced in 2.2. Since I'm on 2.1, maybe I can still re-install 2.1 without RL-related problems. Seems like people with the RL enabled can't even boot into recovery. I've been living in recovery.
Even if I can't, and I get locked out after re-installing the ROM, I can still go back and flash a KK ROM with Odin, disable the RL setting, which is what I'd have to do anyway, right? Is there any disadvantage to trying to install the ROM directly to see if I have RL disabled?
Give it a shot, phone is not usable as it is
I went ahead and installed the original version I was on, 2.1, but tried selecting the non-full wipe option in an attempt to keep my apps/settings. Basically did nothing. Phone still restarted after booting. Then I did a full wipe+install, got through the startup prompts, including the "do you want to enable reactivation lock?", which I unselected (and am now positive I unselected the first time as well). Google/Android gives an option to restore apps/settings from some backup done through your google account, so I selected a few that I knew I'd need right away and/or have extensive setup.
Unfortunately, I think that last step was a bad one, because I still got the auto restarts. So I did the whole thing again, and instead selected the option that's along the lines of "set this up as a new device". Everything worked fine after that. Phone boots up, and amazingly, stays on.
I even went ahead and upgraded to 2.2, since I figured, if I'm going to start from ground zero, I might as well use a newer version of the ROM, mainly because I'm hoping I can use the KToonsez kernal, which I remember seemed to cause my phone to be unstable/buggy when I first installed 2.1 almost a year ago.
Related
Possible reason for HD2 CoreDroid HD GB 2.3.3 V2 slowness
Seems like having SD card inserted causes high IOWait. User 1%, System 3%, IOW 95%, IRQ 0% User 5 + Nice 0 + Sys 10 + Idle 0 + IOW 291 + IRQ 0 + SIRQ 0 = 306 Currently running smsBackup+ that restores sms messages from Gmail (1 message in 4 sec) This also seems to cause reported installation issues: (thread http://forum.xda-developers.com/showthread.php?t=926507) Installed several times myself... waited up to 0.5 hour.. still splash screen. Several processes (com.android.phone, etc) got "Force" or "Wait" messages. Only after connecting ADB console was i able to see that android was still initializing.. waited for longer and in the end ~1 - 1.5 hours phone booted up. Are you affected? .. Try removing SD card.. does HD2 boot up within 10 min.? .. then probably you have the same issue. (not really usable with no SD card.. settings are lost on each boot)
This is discussed very often in the developing thread that you already mentioned: Dev Thread The first time it needs a lot of time - in my case it was more then one hour before the splash screen was away - for the FCs just press the "Wait" button and wait - after the first time it will become less and less and the device will work quite fast (just the known bugs are still there). Some people told that they had to wait for 2 or one even for 4 hours before the splash screen was away. I had very strong problems with installing and it did not disappear after 6 hours. If you have that try the following: 1.) data wipe 2.) d-cache wipe 3.) starting in MAGLDR 4.) USB flasher / DAF.exe 5.) recovery menu / cwm partition sd card (1024/0M) 6.) mounting and transfering .zip 7.) install .zip 8.) reboot hope i got you right
[GUIDE] My Bell Canada flashing/rooting procedure
Update: I upgraded my phone with XXKI3 2.3.5 firmware, from XXKH3. The lag is gone, definitely a big improvement compared to XXKH3 version. The phone is very responsive and fast. Quadrant shows 4200+, pretty impressive: { "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous", "lightbox_error": "The requested content cannot be loaded. Please try again later.", "lightbox_start_slideshow": "Start slideshow", "lightbox_stop_slideshow": "Stop slideshow", "lightbox_full_screen": "Full screen", "lightbox_thumbnails": "Thumbnails", "lightbox_download": "Download", "lightbox_share": "Share", "lightbox_zoom": "Zoom", "lightbox_new_window": "New window", "lightbox_toggle_sidebar": "Toggle sidebar" } The bootloader was updated, you cannot reset anymore your phone with a download jig. However, Intratech uploaded the old bootloader: Intratech said: If you've already flashed a full package from elsewhere and cannot reset your binary counter using the Jig just flash this package in the PDA or Bootloader (Yes both will work) section of Odin to replace the bootloaders and then you can reset the counter: http://www.multiupload.com/LQQBRQVJUD Click to expand... Click to collapse Personally, I flashed the file with Odin (PDA). The phone ring is set to silent, instead of default "Over the horizon" ringtone. Make sure you change it, your phone is not broken. See the complete list of changes, related to previous ROM. Guide I'm posting this procedure in a separate thread, as is easier to be linked into different forum posts. My Bell Canada phone came originally with the UGKG2 firmware, so everything listed below is based on my own experience with this version, I do not know or confirm it will work with other firmware. I currently run the official (?) XXKI3 Gingerbread 2.3.5 firmware, downloaded from samfirmware.com site (see details below). This is a wipe device release. Personally, I read that other people flashed their phones with a different firmware... but I did not wanted to do it on my phone. I sticked with the same family XXKGx, just to be safe. Please read Electroz's explanation below. There are 3 types of release builds: leaked, Frankenstein (compiled and tested by devs, based on demand) and official (Kies updates). The procedure is simple (I presume you are familiar with Odin, Download Mode &Co.): 1) Get yourself the stock firmware and kernel (thank you Intratech) 2) Setup your drivers properly, avoid the Kies insanity (see below) 3) Flash the new firmware (my flash procedure, you can/should skip Re-Partition/PIT as Intratech explained) 4) Flash phone with CF-Root (I used the CF-Root-SGS2_XX_OXA_KI3-v4.1-CWM4.zip file) 5) Wipe (cache + factory reset) 6) Uninstall all Samsung crap and install additional system apps (i.e. Car Home) 7) Flash back the stock KI3 kernel (thank you Intratech, password: [email protected]) 8) Wipe (cache + factory reset) 9) Connect your device to a download jig, to reset the flash counter (old bootloader needed) Phone & Modem Drivers Setup Note: This procedure was tested with Windows 7 Ultimate 64bits. If you already installed Kies, uninstall all related software/drivers and clean your registry. Or do a clean Windows install just to be safe. 1) With your anti-virus off, put your phone in Download mode and connect the USB cable. Windows Update will start to download right away the modem and USB drivers. Make sure you select the Windows Update option, when asked into driver install window. 2) Once the modem drivers installed, disconnect the cable, reboot the phone in normal mode and reconnect the cable again. A new set of drivers will be installed for the rest of USB interface. Important: You need do it in the SPECIFIC order mentioned above, or else the modem drivers will not be installed and you will not be able to use properly Odin. I know this because I tried the other way around. Initial Phone Setup Once the phone rebooted, you will be welcomed to the Android Setup. 1) First, set the language from English UK to whatever you like. A Network warning related to Date and Time will pop, tap on Cancel. 2) Tap the Android robot and setup your phone. There is NO need to change any other settings, the phone will automatically detect the Bell network. If for some reason it does not, once you completed your basic setup go to: Settings > Wireless and Network > Mobile networks > Network operators It will start the scanning and pop 3 Bell networks, pick the first one. Again, this is in case your phone does not work with calls, voicemail or SMS. Notes You should uninstall the CWM app once you flashed back the stock kernel, is half useless. I tested the new Superuser app from Android Market, it will properly upgrade to latest version and also upgrade the su binary on XXKI3 firmware. If you plan to poke around your phone with the Terminal, you will lose all the fancy Linux commands. (grep etc.) Personally, I purchased ChainsDD's Superuser Elite key. It will allow you to pin protect your rooted device, among other useful things that are planned to be added (built-in terminal). I upgraded Superuser to version 3 and everything works properly. Battery Power Savings I always leave my phone with all default options, including screen auto-adjust. The only options I turn off are: Settings > About phone > Software update > Auto update Disabled Settings > Applications > Samsung Apps > Off Personally, I have no idea who started the battery calibration myth in S2. It is useless to "overcharge" the battery, as the software has a check to stop automatically the charge once the battery is 100% while the battery itself has a build-in controller that can't be wiped. Example of battery stats with the phone in idle mode for approx. 18hrs (86%) and 109hrs (2%): Running Services I use Wifi N with a Cisco E4200 DD-WRT (phone at 20"), these are my running services: Code: PID USER VSZ STAT COMMAND 1 root 508 S /init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [migration/0] 5 root 0 SW [watchdog/0] 9 root 0 SW [events/0] 11 root 0 SW [khelper] 15 root 0 SW [async/mgr] 16 root 0 SW [pm] 19 root 0 SW [suspend] 20 root 0 SW [sync_system_wor] 151 root 0 SW [s5p-tmu] 337 root 0 SW [sync_supers] 339 root 0 SW [bdi-default] 341 root 0 SW [kblockd/0] 356 root 0 SW [khubd] 359 root 0 SW [kseriod] 394 root 0 SW [irq/331-max8997] 434 root 0 SW [kmmcd] 527 root 0 SW [kondemand/0] 540 root 0 SW [pet_watchdog/0] 549 root 0 SW [khungtaskd] 550 root 0 SW [kswapd0] 599 root 0 SW [aio/0] 612 root 0 SW [crypto/0] 1237 root 0 SW [sec_jack_wq] 1240 root 0 SW [irq/350-sec_hea] 1245 root 0 SW [spi_gpio.3] 1262 root 0 SW [svnet_txq] 1274 root 0 SW [file-storage] 1300 root 0 SW [irq/328-mxt224_] 1306 root 0 SW [irq/325-k3g] 1312 root 0 SW [irq/326-proximi] 1315 root 0 SW [cm3663_light_wq] 1316 root 0 SW [cm3663_prox_wq] 1366 root 0 SW [mali_dvfs] 1369 root 0 SW [mali-pmm-wq] 1378 root 0 SW [sii9234_wq] 1379 root 0 SW [irq/481-mhl_int] 1380 root 0 SW [irq/496-mhl_wak] 1383 root 0 SW [irq/343-max1704] 1394 root 0 SW [kstriped] 1396 root 0 SW [kmpathd/0] 1398 root 0 SW [kmpath_handlerd] 1399 root 0 SW [ksnapd] 1400 root 0 SW [kconservative/0] 1414 root 0 SW [ktflash_requlat] 1429 root 0 SW [usbhid_resumer] 1432 root 0 SW [binder] 1441 root 0 SW [irq/333-IPC_HOS] 1452 root 0 SW [mmcqd] 1481 root 0 SW [l2cap] 1482 root 0 SW< [krfcommd] 1488 root 0 SW [dynamic hotplug] 1501 root 0 SW [melfas_touchkey] 1506 root 0 SW [fimc0_iqr_wq_na] 1509 root 0 SW [fimc1_iqr_wq_na] 1512 root 0 SW [fimc2_iqr_wq_na] 1515 root 0 SW [fimc3_iqr_wq_na] 1518 root 0 SW [hdcp work] 1529 root 0 SW [tvout resume wo] 1535 root 0 SW [sec-battery] 1538 root 384 S /sbin/ueventd 1761 root 0 SW [Si4709_wq] 1782 root 0 SW [jbd2/mmcblk0p9-] 1784 root 0 SW [ext4-dio-unwrit] 2563 root 0 SW [jbd2/mmcblk0p7-] 2564 root 0 SW [ext4-dio-unwrit] 2566 root 0 SW [jbd2/mmcblk0p1-] 2567 root 0 SW [ext4-dio-unwrit] 2570 root 0 SW [jbd2/mmcblk0p10] 2571 root 0 SW [ext4-dio-unwrit] 2579 system 868 S /system/bin/servicemanager 2580 root 6616 S /system/bin/vold 2581 system 1972 S /system/bin/notified_event 2583 root 732 S /system/bin/debuggerd 2584 radio 9512 S /system/bin/rild 2585 system 4624 S /system/bin/npsmobex 2586 system 8476 S /system/bin/drexe 2590 bluetoot 1372 S /system/bin/dbus-daemon --system --nofork 2591 root 932 S /system/bin/installd 2592 keystore 1804 S /system/bin/keystore /data/misc/keystore 2594 system 14192 S /system/bin/tvoutserver 2595 shell 800 S /system/bin/sh /system/bin/rtc_log.sh 2612 shell 780 S /system/bin/immvibed 2907 wifi 2644 S /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/wifi/bcm_su 3374 media 56536 S < /system/bin/mediaserver 3375 root 15472 S /system/bin/netd 3376 root 126m S zygote /bin/app_process -Xzygote /system/bin --zygote --star 3391 system 276m S system_server 3496 root 0 SW [iscan_sysioc] 3497 root 0 SW [dhd_watchdog] 3498 root 0 SW [dhd_dpc] 3499 root 0 SW [dhd_sysioc] 3502 system 152m S com.android.systemui 3511 app_99 168m S com.sec.android.inputmethod.axt9 3521 radio 155m S com.android.phone 3522 app_66 148m S android.process.media 3528 app_53 134m S com.sec.pcw.device 3532 system 134m S com.samsung.bt.avrcp 3536 bluetoot 134m S com.broadcom.bt.app.system 3544 app_12 176m S com.sec.android.app.twlauncher 3604 app_54 173m S com.google.process.gapps 3631 app_12 148m S android.process.acore 3688 app_84 135m S com.sec.android.app.FileTransferManager 3777 app_36 137m S com.sec.android.widgetapp.weatherclock 3927 app_38 136m S com.sec.android.widgetapp.apnews 4193 app_91 137m S com.sec.android.app.clockpackage 4220 app_16 137m S com.android.providers.calendar 4234 app_100 134m S com.sec.android.daemonapp.accuweather 4255 app_78 159m S com.google.android.gm 4333 app_81 174m S com.cooliris.media 4366 app_119 144m S com.google.android.apps.reader 4376 app_103 170m S com.levelup.beautifulwidgets 4435 app_37 138m S com.sec.android.widgetapp.stockclock 4453 app_16 138m S com.android.calendar 4476 system 156m S com.android.settings 4486 app_112 177m S com.google.android.music 4633 app_82 137m S com.sec.android.app.fm 4752 app_40 135m S com.sec.android.app.samsungapps.una 6623 app_68 185m S < com.google.android.apps.maps 9014 dhcp 916 S /system/bin/dhcpcd -ABK eth0 10732 graphics 139m S com.sec.android.app.screencapture 11958 system 138m S com.wssyncmldm 11989 system 135m S com.sec.android.providers.drm 11997 app_1 139m S com.smlds 12037 app_102 139m S com.skype.raider 13094 app_5 141m S jackpal.androidterm 13136 app_115 135m S com.noshufou.android.su 13170 app_68 149m S com.google.android.apps.maps:NetworkLocationService 13180 app_68 144m S com.google.android.apps.maps:FriendService 13503 app_83 141m S com.sec.android.app.FileTransferServer 13579 root 0 SW [flush-179:0] 13646 shell 1684 S /sbin/ext/busybox sh /sbin/sleep 3600 13651 shell 1676 S /sbin/ext/busybox /sbin/sleep 3600 13707 app_68 154m S com.google.android.apps.maps:HotpotService 13788 system 135m S com.android.MtpApplication 13825 app_5 796 S /system/bin/sh - 13858 root 796 S sh - 13966 root 1684 S /sbin/ext/busybox sh /sbin/ps 13971 root 1716 R /sbin/ext/busybox /sbin/ps CSC (Cell Site Controller) The default CSC setting in XXKI3 is KOR. You can check it with: *#272*{IMEI}# where the {IMEI} value represents the 15 digits of your IMEI (International Mobile Equipment Identity). I personally used the default option (KOR) and the phone works perfect, with great reception: There are some people who wonder if they should change the CSC. I will quote Intratech on this matter as he answered perfectly to my question: Intratech said: Some people do and some just use the CSC packaged with whichever firmware they flash. As long as your APN and SMS/MMS settings are ok there is no need to flash another CSC package. Click to expand... Click to collapse Fast Dormancy Some people noticed that their network idle on 3G, instead of HSPA+. That is absolutely normal, because of the "fast dormancy" feature. If enabled, HSPA+ will rapidly disconnect from the network once the information is sent or received. That will penalize the actual network you are on, unless the carrier network and your phone talk to each other in a way that takes battery life as well as network congestion into consideration. For this to work, both networks and smartphones have to implement a standardized version of the fast dormancy feature. Bell Canada supports this feature and by default Fast Dormancy is enabled into XXKI3 firmware. You can check it with: *#9900# You should call your carrier to see if they have it implemented. Probably your tech support will look like you are speaking Chinese and escalate it to a more knowledgeable guy. This is the average download speed I get on XXKI3 (network is switching automatically on HSPA+): There are some reports where people confirmed that the UGKG2 build allowed you to reach faster download speeds (up to 9MB). Personally I think 6MB over a cell network is already more than perfect for tethering, not to mention that there are many factors to be taken into consideration when you deal with a wireless transmission. (location, tower antenna, weather, etc.) Random Restart The screen needs minimum 500Mhz to get out of Sleep Mode. Some custom ROM's use a low voltage or "underclock" feature that reduces the power consumption but also the number of CPU steps. That is what makes your phone crash and reboot randomly. If you use an external sdcard, do a sd wipe just to be safe. It should take several hours, so do it over the night. Personally, I did not experienced any random reboots using neither the XXKH3 or XXKI3 firmware. Some people might have bad battery contacts on their S2. Basically, the phone shuts down while in your pocket. Clean the battery terminals with some audio head tape cleaner and cotton swabs, than make sure the contacts are proper. You could also have a RAM (hardware) issue. Bad memory degrades fast so you will see your random reboots pop at a faster frequency. If you did all the above and still experience random reboots, run adb logcat to see what is going on at that specific moment. If you get error codes like: Code: code 1 (SEGV_MAPERR), fault addr 00000000 you are dealing with bad memory unfortunately and need to service your phone. Manage system apps with Terminal Personally, I decided to stick with a terminal for now, I feel more comfortable to see what is going on with my own eyes in my phone. A good alternative to Terminal would be the SystemApp Remover, is faster and more robust compared to Titanium Backup as it does only one task (backup/remove system apps). I did an output list of all the packages: Code: $ pm list packages -f >> /sdcard/packages 2>&1 so I know now where each package is located and what is the associated name. All I have to do is run: Code: $ su # rm -f /system/app/package.{apk,odex} # pm clear PACKAGE # pm uninstall PACKAGE Running "mount | grep system" tells me right away where and how /system is mounted: Code: /dev/block/mmcblk0p9 on /system type ext4 (ro,relatime,barrier=1,data=ordered) so all I have to do is change the mount perms to write, instead of read: Code: # mount -o remount,rw /dev/block/mmcblk0p9 /system Package Manager commands: Code: # pm usage: pm [list|path|install|uninstall] pm list packages [-f] [-d] [-e] [-u] [FILTER] pm list permission-groups pm list permissions [-g] [-f] [-d] [-u] [GROUP] pm list instrumentation [-f] [TARGET-PACKAGE] pm list features pm list libraries pm path PACKAGE pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH pm uninstall [-k] PACKAGE pm clear PACKAGE pm enable PACKAGE_OR_COMPONENT pm disable PACKAGE_OR_COMPONENT pm setInstallLocation [0/auto] [1/internal] [2/external] The list packages command prints all packages, optionally only those whose package name contains the text in FILTER. Options: -f: see their associated file. -d: filter to include disbled packages. -e: filter to include enabled packages. -u: also include uninstalled packages. The list permission-groups command prints all known permission groups. The list permissions command prints all known permissions, optionally only those in GROUP. Options: -g: organize by group. -f: print all information. -s: short summary. -d: only list dangerous permissions. -u: list only the permissions users will see. The list instrumentation command prints all instrumentations, or only those that target a specified package. Options: -f: see their associated file. The list features command prints all features of the system. The path command prints the path to the .apk of a package. The install command installs a package to the system. Options: -l: install the package with FORWARD_LOCK. -r: reinstall an exisiting app, keeping its data. -t: allow test .apks to be installed. -i: specify the installer package name. -s: install package on sdcard. -f: install package on internal flash. The uninstall command removes a package from the system. Options: -k: keep the data and cache directories around. after the package removal. The clear command deletes all data associated with a package. The enable and disable commands change the enabled state of a given package or component (written as "package/class"). The getInstallLocation command gets the current install location 0 [auto]: Let system decide the best location 1 [internal]: Install on internal device storage 2 [external]: Install on external media The setInstallLocation command changes the default install location 0 [auto]: Let system decide the best location 1 [internal]: Install on internal device storage 2 [external]: Install on external media Removed System Apps This is the list of /system apps I removed from XXKI3 firmware: BuddiesNow.apk Days.apk DigitalClock.apk (I use Beautiful Widgets instead) Email.apk (I use Gmail only) EmailWidget.apk GameHub.apk GenieWidget.apk install_flash_player.apk Kies.apk KiesAir.apk kieswifi.apk Kobo.apk MiniDiary.apk MusicHub_U1.apk MusicPlayer.apk (I use Google Music instead) PolarisOffice.apk PressReader.apk ReadersHub.apk SamsungApps.apk SamsungAppsUNA3.apk SamsungIM.apk SecretWallpaper1.apk SecretWallpaper2.apk SevenEngine.apk ShareApp.apk SnsAccountFb.apk SnsAccountLi.apk SnsAccountMy.apk SnsAccountTw.apk SnsDisclaimer.apk SnsImageCache.apk SnsProvider.apk SocialHub.apk VoiceToGo.apk (I use Car Home instead) Zinio.apk Apps ported to Galaxy S2 Some of my favorite apps, not available into Market and ported to Galaxy S2: Google Car Home Market Access Google+ 2.0 (works with a Google Apps account) Terms ROM - software stored into read-only memory. ROM retains its contents even when the phone is turned off. ROM is referred to as being nonvolatile, whereas RAM is volatile. Kernel - portion of the OS that handles drivers, hardware control and access for the rest of the OS. Modem - handles the communication with your carrier. Root - superuser privileges in any Linux OS.
yqed said: I'm posting this procedure in a separate thread, as is easier to be linked into different forum posts. My Bell Canada phone came originally with the UGKG2 firmware, so everything listed below is based on my own experience with this version, I do not know or confirm it will work with other firmware. I currently run the official (?) XXKG3 Gingerbread 2.3.4 firmware, downloaded from samfirmware.com site (see details below). Personally, I read that other people flashed their phones with a different firmware... but I did not wanted to do it on my phone. I sticked with the same family XXKGx, just to be safe. Click to expand... Click to collapse This is wrong. I'm not sure where you got that XXKG3 is remotely the same as UGKG2, but here's an explanation of the firmware version numbers: This is standard across most Samsung Phones. I9000 = Model # UG = Carrier/Area code. For example, XX = Europe, UG = Bell Mobility Canada. K = Year = 2011 G = Month = July (H = August, I = September) 2 = Revisions that month for the specific region (aka. UG, XX, XW). A lot of people on here think the last 3 digits are important and that if you have 2 KG3 firmware that they are the same. However, this is not the case. You need to go by all 5 letters due to the fact that each firmware is customized by different groups at Samsung. And to prove this, just look at KG2. There are 2.3.3 KG2's and there are 2.3.4 KG2's. It's actually possible that one area's KG2 could have been newer than another area's KG4. The best way to check, is to look at the build date in the Build.prop for each firmware. But your assuming that KGx means they're the same is wrong. All that those numbers mean is what month/revision the firmware is. Samsung has several different teams producing firmware independently of each other for different regions. The only letters that mean the firmwares are similar are the country/carrier code (ie. UG, XX, XW). Also, your idea of what Official firmware is, is flawed. Just because it's on samfirmware, DOES NOT make it official. Most of their firmwares are leaked test builds. If it's not released on Kies, it's not official.
Thanks for the great explanation, much appreciated. It should help many people understand better how the versioning works. About the "official" part, that's the reason why I mark it with a (?). As you said very well, it is official once is released by Samsung through updates. The thread is related to my own experiences with the Europe MULTI firmware, based on the fact that a Bell phone specs are identical to the Europe model. Edit: I upgraded to XXKH3 firmware successfully just now, everything works great.
I currently have a Bell branded SGSII with baseband version UGKG2. I originally flashed it with CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip and then I re-flashed it with the original UGKG2 Stock Kernel from Bell. Now my phone is rooted and stock. Any positive/negative feedback from users running XXKH3 firmware (2.3.4) would be very much appreciated.
thvpham said: I currently have a Bell branded SGSII with baseband version UGKG2. I originally flashed it with CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip and then I re-flashed it with the original UGKG2 Stock Kernel from Bell. Now my phone is rooted and stock. Any positive/negative feedback from users running XXKH3 firmware (2.3.4) would be very much appreciated. Click to expand... Click to collapse I ran the KH3 firmware briefly with no issues. The only annoying this was when using the program monitor widget I would experience some lag or choppiness when switching homescreens(same on KG6/KH4). On the positive side the gps accuracy and lock time was greatly improved.
Aha, I had no idea as I don't use that widget... thanks for the tip. I usually hold the Home button until the Task Manager pops, to see the running apps. But I got used already to press the Back key every time I deal with an app... that automatically closes it. About the GPS, the accuracy is greatly improved indeed. It takes me 1-3secs max to get a lock (with wireless networks disabled) and the accuracy is always 5meters. Edit: There is a new Digital Clock service running now... I have no idea what makes it start, please let me know. I use Beautiful Widgets on my home screen.
The digital clock service should be part of the digital clock widget. You can try to end the process under running services and see if it stops it.
I downloaded the XXKH3 firmware but I'm not sure which files I should be using with Odin (Bootloader, PDA, Phone & CSC).
KayvinM said: The digital clock service should be part of the digital clock widget. You can try to end the process under running services and see if it stops it. Click to expand... Click to collapse I use Beautiful Widgets, so DigitalClock.apk should not be starting... Weird. I just uninstalled the system app, no more running services. It was wasting my battery for nothing. thvpham said: I downloaded the XXKH3 firmware but I'm not sure which files I should be using with Odin (Bootloader, PDA, Phone & CSC). Click to expand... Click to collapse See step 3 and skip the PIT file (re-partition unchecked). Also see the Update note into OP.
thvpham said: I downloaded the XXKH3 firmware but I'm not sure which files I should be using with Odin (Bootloader, PDA, Phone & CSC). Click to expand... Click to collapse I ended up re-downloading the XXKH3 from Intratech's thread and it was much easier flashing the one PDA file. Now do I need to flash the XXKH3 stock kernel or my default stock Bell kernel?
You need the XXKH3 stock kernel, Intratech has it linked below the actual firmware link.
does it matter if CSC changes? right now, (before root + update firmware), I still have BMC.... but once it's changed, would that create problems? If yes, what kind of problems. If no, then why do we care about CSC?
Personally, I used the samfirmware files and the phone works great. The pda.bell.ca info is present into ASN also.
Thanks for the responses everyone. I ended flashing the stock XXKH3 kernel with the firmware. So far the upgrade has been good to me, I noticed improved battery life for the first 18 hours of usage. I will continue to use this build until I find something that is more stable and efficient then this.
A BIG THANK YOU!!!! I finally rooted and unlocked. Originally: UGKF6 Now: XXKG5 Thanks for the guide!!! Just 1 question though, do I HAVE TO do a factory after root? Any problem if I don't?
One thing is sure, the battery life degraded compared to XXKG3 firmware. XXKG3 | XXKH3 (about 4hrs lost) When I took the screenshot on KG3, I was using the phone for about 2 hours to read a book (notice the sudden drops because of the white screen), while the KH3 was always in sleep mode. So ya, there is a significant change in battery life with a tradeoff for the GPS gains. I updated the OP. clb09 said: A BIG THANK YOU!!!! I finally rooted and unlocked. Originally: UGKF6 Now: XXKG5 Thanks for the guide!!! Just 1 question though, do I HAVE TO do a factory after root? Any problem if I don't? Click to expand... Click to collapse Just curious, why you did not used the KH3 to take advantage of amazing GPS? The battery life should be a bit better also, compared to KG5. What do you mean by "do a factory"? You will lose root only if you flash back the firmware, flashing the kernel will not delete the su binary. You want to keep your phone rooted. I strongly recommend you to spend $1 and get ChainsDD's Superuser Elite key, it will allow you to pin protect your rooted device. I upgraded to 3.0 Beta4 and everything works properly. Worth the dollar in so many ways, not just for securing the su access.
What you use to remove system app. Thanks
Fizwiz said: What you use to remove system app. Thanks Click to expand... Click to collapse I use Titanium Backup PRO. It allows me to backup, freeze and uninstall the unwanted apps.
One thing i have see with the XXKH3. With the KG2 im stable on H+, now im switching between 3G and H+. Anyone else?
See Fast Dormancy info in OP. Is normal and the intended way to save you battery and bandwidth congestion.
Unable to use Glowlight
Hi guys, I've got a little problem here. I played with my Nook Simple Touch Glowlight and even rooted it. But I couldn't install apps for some reason, so I decided to restore and root it again with other tool (Glownooter) so I could have Google's App Market. Here comes my first fault. I installed [NST]Touch-Formatter v2 .zip - I didn't notice it is only for the normal NSG - using CWM. Everything worked fine, I registered my Nook and then, using CWM, installed glownooter. But instead of showing me Android homescreen, it rebooted itself. And it got stuck booting (five dots loading) until the battery died. So I charged it and then I tried it again (NST Touch Formatter, Glownooter...). And "surprisingly", I ended up with the same result. I tried that about four or five times and then I gave up for two days. Today, I wanted to read something, so I used only the Touch Formatter, registered it, uploaded the book on it... And held the "n" button to turn the glowlight on. But nothing happened. So I went to settings and there wasn't anything about glowlight. Well then, I had a backup, so I restored from backup. When it booted, it kept me showing the screen "your system is damged" (or something like that) "you must perform a system restart". Tried that 2 times. Didn't help. I did factory reset (holding the two bottom buttons during boot up). After that, I had trouble with connecting to my wifi, so I skipped the registration proccess. Now, I can use it, but without Glowlight and that was the main reason why I bought Nook and not Kindle. I guess, the Touch Formatter somehow installed the normal NSG software, so the device thinks, it's the old model. And that may also be the reason why Glownooter didn't work. Then again, my opinion has 90% to be wrong - given to what I did with my nook, and that this is my first Android device. I did the backup with Windows, everything else using Terminal in OS X (if that info helps). Thanks for any idea that comes up onto your mind. P.S.: Sorry for mistakes in my text, I'm not a native speaker and I've been learning English for 3 years (plus it's 1 a.m. ). ,
The good thing about that screen that says "You must reboot your Nook" is that it means that your Nook is almost working. At least in some cases it's caused by not being able to mount partitions. Here's an example: Code: I//system/bin/fsck_msdos( 744): ** /dev/block//vold/179:6 I//system/bin/fsck_msdos( 744): Invalid cluster size: 0 I/logwrapper( 744): /system/bin/fsck_msdos terminated by exit(8) D/vold ( 744): Filesystem check failed (unknown exit code 8) E/vold ( 744): vfat filesystem check failed on 179:6 (I/O error) D/SurfaceFlinger( 811): Frame buffer posted; elapsed time = 34 msecs D/MountListener( 811): handleEvent volume_checking:/media D/MountListener( 811): handleEvent volume_damaged:/media I/ActivityManager( 811): Starting activity: Intent { flg=0x10000000 cmp=android/com.android.interna l.app.RebootRequiredActivity (has extras) } I/RebootRequiredActivity( 811): getReason(): received reason [REASON_MEDIA_UNMOUNTABLE [/media]] The easy solution is to check whether all the partitions mount. You can do that with noogie and a Linux system or Clockwork Recovery. If you still can't figure it out, get ADB over USB working on your Nook and get a logcat.
[Q] Wi-Fi connection fails (do not activate)
Every time I try to activate wifi the following error appears in logcat: Code: I/WifiManager( 1421): setWifiEnabled : true I/WifiService( 879): setWifiEnabled: true pid=1421, uid=10141 E/WifiHW ( 879): ##################### set firmware type 0 ##################### E/WifiHW ( 879): Cannot open "/data/.cid.info": No such file or directory E/WifiHW ( 879): ==========[WIFI] Station firmware load =========== D/SSRMv2:Monitor( 879): SIOP:: AP = 400 (read only) E/WifiHW ( 879): return of insmod : ret = -1, No such device E/WifiStateMachine( 879): Failed to load driver D/WfdService( 879): intent recieved android.net.wifi.WIFI_STATE_CHANGED D/STATUSBAR-NetworkController( 1421): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE D/STATUSBAR-NetworkController( 1421): Nothing, mRoamingIconId = 0 I/elm ( 2716): MainReceiver.onReceive() : android.net.wifi.WIFI_STATE_CHANGED E/WifiStateMachine( 879): sendErrorBroadcast code:10 E/WifiController( 879): Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET I/elm ( 2716): MainReceiver.onReceive() END - - - - - : android.net.wifi.WIFI_STATE_CHANGED D/elm ( 2716): ELMEngine.getInstance(). I/DownloadNowBroadcastReceiver( 3770): onReceive D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.TMNetworkReceiver() Enter 1 main D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.StartTMHandler - enter D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.StartTMHandler - exit D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.onReceive() Enter D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.onReceive() Action android.net.wifi.WIFI_STATE_CHANGED D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.onReceive() UnHandled D/TMSERVER/TMNetworkReceiver( 3738): TMNetworkReceiver.onReceive() Exit D/MTPRx ( 4799): DRIVER_TIME_OUT 60s lapsed and I tried all sorts of wifi fixers available in the forum without success. After some research I found the following post: http://forum.xda-developers.com/showthread.php?t=1652702 what makes me think it's a problem with the driver. The solution was found by this user: I fixed this issue by copying libhardware_legacy.so from my OEM ROM to the ported ROM. Rebooted and WiFi worked just fine Click to expand... Click to collapse I would like to know how to apply this solution to the GT-I9505. I must confess I do not think there is a solution to my problem, so any suggestion will be very welcome. I am using Stock 4.3 Thanks in advance
Must have something similar I've gone 3 days without WiFi I'll give this a go and get back to you. :good: Edit: What a random series of events! I looked at the line in your Logcat 'E/WifiHW ( 879): Cannot open "/data/.cid.info": No such file or directory' and when I looked I did have this file so deleted it and tried Wifi, nothing. So I tried to replace that 'libhardware_legacy.so' file, but without thinking about it I'd taken it from a stock TW rom when I'm on a AOKP based rom. Doh! Of course, it didn't boot and then I was left thinking "Oh ****" I then tried flashing an old Android 4.2 rom I had on my SDCard but I did it lazily by only formatting the system and clearing Cache and Dalvik. When I restarted it showed the boot image and then did nothing, so I went back into recovery and restored the system partition from a backup I created the other day (But whilst it was broken) of the same ROM I was on at the beginning of this post. When it booted again it had a weird corrupted image, from my experience that's normally Kernel related, I also had a copy of KT Kernel on my SDCard, so flashed that, then wiped Cache and Dalvik Low and behold when it finally booted, I went into settings and there was Wifi switched on and had found all my local Wifis. I got it to connect and ran some speed tests. Also restarted the phone and switched it on and off to make sure it wasn't just a fluke or hoax and now it seems I'm all sorted! .... But for how long....
Pulse654321 said: Must have something similar I've gone 3 days without WiFi I'll give this a go and get back to you. :good: Edit: What a random series of events! I looked at the line in your Logcat 'E/WifiHW ( 879): Cannot open "/data/.cid.info": No such file or directory' and when I looked I did have this file so deleted it and tried Wifi, nothing. So I tried to replace that 'libhardware_legacy.so' file, but without thinking about it I'd taken it from a stock TW rom when I'm on a AOKP based rom. Doh! Of course, it didn't boot and then I was left thinking "Oh ****" I then tried flashing an old Android 4.2 rom I had on my SDCard but I did it lazily by only formatting the system and clearing Cache and Dalvik. When I restarted it showed the boot image and then did nothing, so I went back into recovery and restored the system partition from a backup I created the other day (But whilst it was broken) of the same ROM I was on at the beginning of this post. When it booted again it had a weird corrupted image, from my experience that's normally Kernel related, I also had a copy of KT Kernel on my SDCard, so flashed that, then wiped Cache and Dalvik Low and behold when it finally booted, I went into settings and there was Wifi switched on and had found all my local Wifis. I got it to connect and ran some speed tests. Also restarted the phone and switched it on and off to make sure it wasn't just a fluke or hoax and now it seems I'm all sorted! .... But for how long.... Click to expand... Click to collapse You are lucky! Can you explain the process of extract 'libhardware_legacy.so from a stock ROM and flash it on lhe device? About lhe kernel, i Tried them all with no success. Thank tou!
arleybarros said: You are lucky! Can you explain the process of extract 'libhardware_legacy.so from a stock ROM and flash it on lhe device? About lhe kernel, i Tried them all with no success. Thank tou! Click to expand... Click to collapse Well I actually took it from a ROM that was in zip format, that you can flash in CWM so was quite easy. I've included it for you to try. It may not work the same as mine so make sure you have a backup to revert to! And the KT kernel I used was KT-SGS4-JB4.3-AOSP-INTL-11.14.2013, but you'll need the TW version if you're on stock ROM? That version can be downloaded Here.
Pulse654321 said: Well I actually took it from a ROM that was in zip format, that you can flash in CWM so was quite easy. I've included it for you to try. It may not work the same as mine so make sure you have a backup to revert to! And the KT kernel I used was KT-SGS4-JB4.3-AOSP-INTL-11.14.2013, but you'll need the TW version if you're on stock ROM? That version can be downloaded Here. Click to expand... Click to collapse I really appreciate the help, but this also did not work. I'm starting to think I have a hardware problem. is possible to diagnose it via ADB?
I'm thinking that I must have a problem with the permissions of folders and partitions, because the file "/ data / .cid.info" should be created automatically (if I'm not mistaken) and here, no matter what I do, this file is not available. Could someone show me how to check the correct permissions for the folders and partitions?
Yeah that's really odd. The file is recreated for me when I was deleting it before and restarting. I'm not sure which file browser I'm using atm. 2 secs and I'll get some pictures up and the permissions for folders. This is the file manager I'm using, should work ok. Hopefully it works with root features. I've included pictures of permissions for folders, hopefully they help.
Whoops mis interpreted the pictures Cat you give an example of what should be in the .cid.info?
How to encrypt device w/o "Encryption" options (Huawei Y625-U51)
Hi, I have a Huawei Y625-U51 (Dual-SIM) running stock Android 4.4.2/EMUI 2.3 Lite and I would like to encrypt the device, but there are no Encryption options in "Settings > Personal > Security". Is there a way to make these options available or otherwise carry out a system encryption (i.e. using adb)? Here's the about info to the device: Model: HUAWEI Y625-U51 Android: 4.4.2 Secpatch-Lvl: 2015-11-01 EMUI: EMUI 2.3 Lite Kernel: 3.4.0 Build-Number: Y625-U51V100R001C577B108 I already tried carrying out a factory reset but that didn't bring up the encryption options. I'm well-versed with Windows/Linux system hacks but new to Android, so please bear with me. Any help would be greatly appreciated. Thx.
Encrypt Huawei Y625 via rooting and shell commands After reading up a few articles on different ways to start encryption from the command line in various Android versions, I decided to experiment and got lucky. Here's what I did (if you want to repeat these steps I suggest you attach your phone to the charging cable first. Also remember that this will likely void your warranty bla bla ) : rooted the Huawei Y625 using kingoRoot installed Android Terminal Emulator and ran it Once inside the terminal I entered Code: su setenforce 0 vdc cryptfs enablecrypto inplace <YourPasswordInCleartext> (I'm not sure whether the 'setenforce' command that sets SELinux to permissive mode is actually necessary. However, this will only change runtime mode, so you needn't worry that it may persist over reboots). The screen then immediately went blank. I had forgotten to attach the phone to the charging cable so I scrambled to find it and finally got the phone attached. But it looked pretty much dead now. After nothing happened for another while, I pressed the start button. The screen remained blank but I got to hear the familiar boot melody. After a while (maybe 2 or 3 minutes) I pressed start again. This time, a message appeared "Wait while your phone is being encrypted" plus a slowly increasing percentage. * When the encryption had finished, the phone booted up as usual, only this time the familiar melody and splash screen was interrupted by the message "Type password to decrypt storage" Minor drawbacks: The boot process is interrupted somewhat uglily in the middle of the melody and splash screen to ask for the encryption password TouchPal's data transfer agreement pops up every time you start to enter the decryption password (presumably because the answer is written to the /data partition which is still and encrypted and therefore not available yet at this point) Bigger drawback: There is no way to change the encryption password using the GUI. You have to run 'vdc cryptfs changepw <YourPasswordInCleartext>' from a shell (Result should be "200 0 0"). That's a bummer if you want to enable encryption for someone reliant on GUI apps. One last note: this being Android 4.4.2 there is no way to encrypt the whole system. The method described above will encrypt the userdata partition (mounted as /data) only. P.S.: Sorry for not sharing article and app links, but xda anti-spam settings prevented me as a new user from posting links. So sorry for the missing convenience, but I'm sure you'll be able to find the apps mentioned yourself and as for the articles - they were interesting but relating to wildly different Android versions with different command syntax, so you're propably better off just following the steps above anyway