« first day (806 days earlier)      last day (4130 days later) » 

6:11 PM
@t0mm13b Regarding your answer to android.stackexchange.com/questions/37492/…
It won't work, as /data can only be read by the Android system, and apps can read their individual /data/data/<package name> directory.
 
6:22 PM
Hey everyone
Anyone home?
 
I'm here
 
cool
I may have bricked my phone
so uh, I tried to look round the site for advice/help and I couldn't find anything useful
 
Poor you :( What phone?
And what are the symptoms?
 
samsung galaxy S2
 
Excellent (thats mine)
So, symptoms? Can you get into ODIN mode?
 
6:34 PM
I tried to use Heimdall to flash it with new firmware, it would only show the charging battery sign, would start to load in then it goes black.
 
Right...
 
Yeah I can I think, I tried to reload (reflash) the firmware again but now I don't even get the 'charging screen'
 
Hand on, looking for something
 
This implies that I need to factory reset
and loose my data
 
Yeah, you will.
 
6:36 PM
I can't flash it again?
And can I get my data off some how?
 
ce4
@Pureferret: is it modded already?
or not?
 
@ce4 nope
 
You should always wipe data when installing a new ROM.
 
I just downloaded the LPH firmware from here
 
Or you get /data conflicts
 
6:39 PM
it's not a ROM
I just wanted to root
 
ce4
@LiamW: Depends (updrades within CM10.1 are OK, and so is an upgrade from CM10 to CM10.1)
 
so I don't think I installed(?) a new rom
 
Ah, I see. You should really have used ODIN...
 
ce4
What did you do?
Nope, Odin is not good.
Take heimdall
 
@ce4 I should have said 'You always have to wipe data when moving to a different ROM brand'
Some things don't work with Hiemdall
 
ce4
6:40 PM
yeah, that makes more sens
 
@LiamW I've tried ODIN on my windows machine and I couldn't fathom it
Heimdall-frontend likewise was confusing so I used the terminal version
 
ce4
And what happened?
 
Right, I'm off now.
 
@ce4 This.
 
ce4
?? (link points to my post)
 
6:42 PM
8 mins ago, by Pureferret
I tried to use Heimdall to flash it with new firmware, it would only show the charging battery sign, would start to load in then it goes black.
it seemed to work fine
 
ce4
Can you go back to 'flashmode'?
 
I do have the CWM-based recovery mode
 
ce4
Does it work?
 
@ce4 Down Volume ->Middle->power?
@ce4 Which part of it?
 
ce4
OK, again: Does CWM mode (recovery mode) start up?
 
6:44 PM
yes
 
ce4
@Pureferret This is not enough information
 
Rebooting option goes back to black screen, backing up might have worked but it errored at some point
 
ce4
What did you install
 
@ce4 What else do you need to know
5 mins ago, by Pureferret
I just downloaded the LPH firmware from here
 
ce4
Ok, you presumably did: Download heimdall, CWM-recovery.zip and what else?
 
6:45 PM
@ce4 CF-Root-SGS2_XX_OXA_LPH-v5.2-CWM5.zip
I didn't download the CWM-Recovery
I tihnk it came bundled with the file fomr the link I just posted
 
ce4
urgs, confused
 
@ce4 So, from the top
 
ce4
At least, it's not bricked if you have access to CWM
 
My suggestion: Use heimdall to flash a new ROM.
Wiping data in the process.
 
1. Downloaded Heimdall_something_64bit_.deb
2. Downloaded CF-Root-SGS2_XX_OXA_LPH-v5.2-CWM5.zip from this [post](http://forum.xda-developers.com/showpost.php?p=20075898&postcount=5)
3. Unzipped it twice to get the zImage
4. Went into odin mode on my phone
5. Ran this command
sudo heimdall flash --kernel zImage
6. Black screen/boot loop
 
ce4
6:49 PM
Let him first do a backup, then comes all else
@Pureferret: OK, that's better (the info)
 
...link doesn't work....
how do you suggest I back up?
I never got Kies to work either on my windows boot
 
ce4
Boot into CWM (ClockworkModRecovery), then 'backup'
 
not enough space
I already tried once but it must have filled it up
 
ce4
another SD card, maybe?
 
I don't have one
no shops would be open at this hour
 
ce4
6:53 PM
That's a showstopper then
 
is there anything I could install (windows or linux) that would just read my phone as a mass storage unit?
 
ce4
until you get one
 
@ce4 ouch
 
ce4
yeah, but that is complicated
(the mass storage stuff)
is CWM running?
let's try it
 
@ce4 I can handle complicated, hopefully
@ce4 yes
 
ce4
6:54 PM
fine
you need : uuencode (ubuntu/deb: sharutils package)
Go through the partitions one by one, then. Just pulling them using adb (it's a little complicated though) And sloooow.
one sec
(trying this on my s2)
 
ok, I'm downloading the sharutils package
do I just run uuencode form the terminal?
 
ce4
nope, wait
.. testing the command
here's the partition list: cat /proc/partitions
need to deduce later on which is for what
 
got you
 
ce4
To backup, you'll have to 'cat' it through adb, as pull doesn't work
BUT...
 
dun dun dun
 
ce4
6:59 PM
adb's terminal (sucks and) inserts CarriageReturns, that's why you need to 'protect' the data using uuencode before
 
got you
what is adb?
ok cool
 
ce4
adb shell cat /dev/block/mmcblk0p1 \| gzip -1 \| uuencode o | uudecode -o - | gzip -d > mmcblk0p1.img
it's the adb debugging bridge for android, part of the sdk.
It gives you various commands, amongst them 'adb shell' let's you hop onto the device and get a console
You probably need to download the SDK (if you're new to this)
adb is part of the platform-tools package in the Android-SDK
 
sudo apt-get install Android-SDK ?
 
ce4
nope, it's propriertary and not part of any distro
 
@ce4 then how do I get it?
 
@ce4 downloading
 
ce4
Alas, the SDK is a little big, adb is a tiny part of it and standalone, but it's the safest way to get a proper binary
(Not suggesting filestube or xda)
 
@ce4 fair point
 
ce4
Maybe you'll find future use for having the SDK installed :-)
 
@ce4 I think I will
I have some ideas for apps I'd like to code
 
ce4
7:11 PM
Once you've finished, here's the whole backup code:
for i in mmcblk0p{1..12} mmcblk1p{1,2}; do adb shell cat /dev/block/$i \| gzip -1 \| uuencode o | uudecode -o - | gzip -d > /tmp/$i.img;done
That's my backup script for my S2, btw
 
and that backs up just my phone or .... all my partitions?
 
ce4
Yep, all
Wait a sec, here's the partition listing:
There's one problem: IT's slow as ...
You can later try a 'file mmc*' to find out, what is ext4 (and what binary)
 
@ce4 so..uh, how is it going to back up the data on my other partitions which are much larger...? Am I not getting something?
 
ce4
The same way
 
@ce4 sure, but.... I don't have space on my HDD to back up everything on my HDD
if that makes sense?
 
ce4
7:18 PM
:-) OK
You probably don't have to backup the big sdcard partition
mmcblk1p2
 
@ce4 how is that ok? Won't it get to my 'data' one, fill up my HDD and then fail over?
 
ce4
A wipe doesn't delete the sdcard partition
Only the data partition
and I think stuff in the /efs partition as well (e.g. encryption keys)
 
sure, I'm not worried about that, that's like 16 gb? I thought as this went over all of my mounts/partitions on my PC, one of which is my phone?
 
ce4
:-)
you have the 16GB model?
to clarify:
it does a loop over all your phone's partitions, which sum up to 16GB
 
@ce4 also, off your last link I downloaded this: developer.android.com/sdk/index.html#ExistingIDE
@ce4 AH!
Not my HDD partitions
or some such
 
ce4
7:21 PM
Of course not
 
Right
I was getting a tad confused
 
ce4
it's sort of like scp'ing remote data to your local pc
 
@ce4 sweet
 
ce4
adb shell gives you a shell and you can see the output of commands you execute
 
ok cool
 
ce4
7:22 PM
so: adb shell cat $partition outputs partition data
 
so I downloaded the Android SDK, which is now a folder on my PC
 
ce4
but before it does so it, there's gzip+uuencode
fire up 'android'
it's in ./android-sdk/tools/android
Then install platform-tools
 
@ce4 already have it
 
ce4
ok, the 'adb' binary is in android-sdk/platform-tools/adb
 
@ce4 cool....
how do I use it?
 
ce4
7:26 PM
it needs proper usb access rights, so either adjust udev or run it as root
try an "adb devices"
(adb is in my path, so 'adb' works for me)
 
How do I add it to my path?
or add platform tools to my path?
 
ce4
i symlinked it to /usr/local/bin
but you just can go to that folder or copy it over
 
ln -s <platform-tools> /usr/local/bin ?
 
ce4
yep
erm, nope
ln -s 'bla/platform-tools/adb' /usr/local/bin/adb
(i.e. only link the single binary, not the folder)
 
@ce4 got you
 
ce4
7:33 PM
ready?
try "adb shell" or "adb devices"
 
@ce4 I am, my machine is slowing down atm
 
ce4
If you have a shell or see output like '0009d7fc073573 device', it's working
 
command not found
sudo ln -s '/home/craig/Android\ Dev/sdk/platform-tools/adb' /usr/bin/adb
 
ce4
nevermind, fix that later
just cd to the platform-tools and run from there using "./adb"
 
@ce4 ok
 
ce4
7:38 PM
ah, have you installed the 'platform-tools' package for the SDK, already?
 
installed? No
 
ce4
ah, fire up ./tools/android before and install it
 
Hmm, it says it's installed
`* daemon not running. starting it now on port 5037 *`
`* daemon started successfully *`
`List of devices attached`
But no devices
 
ce4
do you run it as root?
(if not kill the daemon again and restart)
(adb kill-server)
Then: Connect your S2 and start CWM
You should see it then
 
nope I can't see it, even as root (sudo will do won't it?)
 
ce4
7:44 PM
yep
S2 is connected and running CWM?
 
yes
 
ce4
Try replugging the micro-usb port on the device end
 
@ce4 nope
 
ce4
CWM looks something like this?: pcgerms.com/wp-content/uploads/2012/12/…
 
yeah
what does it do?
 
ce4
7:47 PM
it's the recovery system. It offers the adb functionality we want to use now
It's basically a fork of the original recovery with addons
 
@ce4 yes...
were you showing me the menu, or that menu item?
 
ce4
try a few more times to replug (slowly)
Known issue
Bus 001 Device 116: ID 04e8:6860 Samsung Electronics Co., Ltd
BTW: This should be visible via "lsusb"
 
nope
:(
 
ce4
What version of CWM is installed, ?
 
5.0.2.7
 
ce4
7:54 PM
I have: 6.0.2.7
ok
Need to first fix that connectivity problem
there's no kernel message, anything?
dmesg -c , then replug, dmesg?
[3494527.692772] usb 1-2.2.1: new high speed USB device number 117 using ehci_hcd
This is what dmesg gives me when I plug it in
 
[60156.524088] usb 2-4: new high-speed USB device number 54 using ehci_hcd
[60156.656842] usb 2-4: no configurations
[60156.656853] usb 2-4: can't read configurations, error -22
[60156.772061] usb 2-4: new high-speed USB device number 55 using ehci_hcd
[60156.904965] usb 2-4: no configurations
[60156.904976] usb 2-4: can't read configurations, error -22
[60157.020087] usb 2-4: new high-speed USB device number 56 using ehci_hcd
[60157.064547] usb 2-4: device descriptor read/8, error -71
[60157.208414] usb 2-4: device descriptor read/8, error -71
 
ce4
ok
replug it, Sloooooowly
 
Ok...I tired
 
ce4
better?
we had that recently already, seems like the connection needs to settle before it can be polled by your linux
 
no, not better....
can I force it to poll?
 
ce4
7:59 PM
not sure
maybe restart to CWM when plugged in
 
when I run it, it just spits out that text, are you expecting it to keep running and display new devices?
 
ce4
@ce4 <= nope, just the single line, that i posted above
 
@ce4 no it doesn't do that
I selected the rboot option from the CWN menue
 
ce4
yep, you get those errors, strange
 
should I go back to the CWM menu and running that command again?
 
ce4
8:03 PM
hmm
 
AHA!
 
ce4
?
 
If I'm no in the CWM menu, I get that line
just tried it now
 
ce4
the regular boot?
 
no...when I select 'reboot' it goes into 'black screen mode' as though it's off
which it may be for all I know
 
ce4
8:05 PM
ah, the broken normal system
and you don't have CWM 6.0.2.7 but only 5.0.2.7?
 
the 5 version
 
ce4
ok, is there an option to enable adb in under advanced?
My CWM automatically starts it
former versions didn't
 
Ahh ok
let me boot into it and see
I have:
`Boot Recovery`
`Wipe Dalvik Cache`
`Wipe Battery Stats`
`Report Error`
`Key Test`
`Show log`
`Partition SD Card`
`Fix Permissions`
 
ce4
missing. hmm, should be started then
does show log say sth?
 
yes
two salient lines:
init.svc.adbd=running
and
 
ce4
8:11 PM
it should really work, very strange...
 
I:Skipping execution of extendedcommand, file not found...
 
ce4
thats ok
 
Hmmm
 
ce4
So: adbd is running, but the USB-enumeration fails with your PC
 
yes
 
ce4
8:13 PM
i.e. your kernel is maybe too fast to poll the S2 (hasn't settled just after plugging in)
Hence the "reboot phone while connected"
And the 'replug it slowly'
You can try another thing:
 
ce4
mounts and storage => mount usb
 
sounds good
 
ce4
maybe this forces a re-enumeration
 
how do I get to that? Is that command or a menu in linux?
 
ce4
8:15 PM
in CWM again
It gives you access to your SDcard on your linux (totally forgot about that)
You can also use it to copy stuff
given it works
 
E:'Unable to open ums lunfile
 
ce4
lol
:-(
 
how about 'mount /data' etc?
lol?
 
ce4
that's just internally
lol because it's a hard nut to crack
 
@ce4 yeah
 
ce4
8:18 PM
Hmm, heimdall once again? Flash the new 6.0.2.7 CWM?
 
how do I do that?
is there a guide somewhere?
 
ce4
xxx
argh, it's for the sgh-t959
 
Ahhhh
 
ce4
This one has touch-enabled recoveries, and v.5.8.xx
I once used that
 
@ce4 which one?
 
ce4
8:28 PM
Samsung Galaxy S2 Download ROMs 4.0.1.5 5.8.1.5
The 4.0 is an old regular version, the 5.8.x is a newer touch-enabled one
 
@ce4 ok
 
ce4
Oh, and you have the i9100 (and not the i9100G)?
 
@ce4 I think I have the former
 
ce4
then 'heimdall flash --recovery image.img' again
 
ok hang on, I'm trying to find the img file in the zip, it's not like the last one I downloaded
I downloaded: recovery-clockwork-touch-5.8.1.5-galaxys2 but it doesn't have a .img
 
ce4
8:54 PM
@Pureferret: the difference is: the image is for flashing with heimdall, while the .zip (not containing an image) is for flashing via CWM itself
 
@ce4 Ahaha
looks like it's booting properly
 
ce4
you've flashed it?
 
Quplah
 
ce4
ah, fine
 
indeed
 
ce4
8:57 PM
hopefully adb comes up now
 
nope
 
ce4
same usb problems?
 
yeah
 
ce4
shh...
there's one more you can try
 
Hi all.
 
ce4
8:59 PM
hey @LiamW
 

« first day (806 days earlier)      last day (4130 days later) »