Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,248 Members 37,687 Now Online
XDA Developers Android and Mobile Development Forum

CyanogenMod on LGC660

Tip us?
 
aiamuzz
Old
#41  
Senior Member
Thanks Meter 19
Posts: 176
Join Date: Dec 2011
Quote:
Originally Posted by aremcee View Post
OK, next step: Do you have ADB installed on your computer? If so, run "adb shell", and inside the shell do "su" followed by "cat /data/data/com.koushikdutta.rommanager/files/rommanager.sh" (i need the output of this last command)
Code:
adb shell
$ su
# cat /data/data/com.koushikdutta.rommanager/files/rommanager.sh
After that, download http://download.clockworkmod.com/rec...0.2.7-c660.img, put it in your SD card, open adb shell again, and do "su", followed by "/data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/recovery-clockwork-5.0.2.7-c660.img". Once again, I need the output of the last command.

Code:
adb shell
$ su
# /data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/recovery-clockwork-5.0.2.7-c660.img


The first set of commands when executed gives the following output...
Code:
$ su
# cat /data/data/com.koushikdutta.rommanager/files/rommanager.sh
echo 3 > /proc/sys/vm/drop_caches ; /data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/clockworkmod/download/1816511162 ; sync ;#
The second set of commands when executed gives the following output...

Code:
# /data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/recovery-clockwork-5.0.2.7-c660.img
[1]   Illegal instruction     /data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/recovery-clockwork-5.0.2.7-c660.img
When executed with the true path '/mnt/sdcard/'
Code:
# /data/data/com.koushikdutta.rommanager/files/flash_image recovery  /mnt/sdcard/recovery-clockwork-5.0.2.7-c660.img
[1]   Illegal instruction     /data/data/com.koushikdutta.rommanager/files/flash_image recovery /mnt/sdcard/recovery-clockwork-5.0.2.7-c660.img
When executed from within SD card where the .img file resides.
Code:
# /data/data/com.koushikdutta.rommanager/files/flash_image recovery recovery-clockwork-5.0.2.7-c660.img
[1]   Illegal instruction     /data/data/com.koushikdutta.rommanager/files/flash_image recovery recovery-clockwork-5.0.2.7-c660.img

awaiting next set of diagnostic procedures ...

thnx.

---------- Post added at 06:42 AM ---------- Previous post was at 06:10 AM ----------

Could the 'Illegal Instructions' error be a result of improper R/W permission ???
 
Angenit
Old
#42  
Angenit's Avatar
Senior Member
Thanks Meter 40
Posts: 134
Join Date: Dec 2011
Ok now i get this!! But when trying the second one still receiving "[1] Illegal instruction"
Attached Thumbnails
Click image for larger version

Name:	dos2.jpg
Views:	81
Size:	13.3 KB
ID:	840289  
 
varoon88
Old
#43  
varoon88's Avatar
Member
Thanks Meter 6
Posts: 32
Join Date: May 2011
Quote:
Originally Posted by aremcee View Post
OK, next step: Do you have ADB installed on your computer? If so, run "adb shell", and inside the shell do "su" followed by "cat /data/data/com.koushikdutta.rommanager/files/rommanager.sh" (i need the output of this last command)
Code:
adb shell
$ su
# cat /data/data/com.koushikdutta.rommanager/files/rommanager.sh
After that, download http://download.clockworkmod.com/rec...0.2.7-c660.img, put it in your SD card, open adb shell again, and do "su", followed by "/data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/recovery-clockwork-5.0.2.7-c660.img". Once again, I need the output of the last command.

Code:
adb shell
$ su
# /data/data/com.koushikdutta.rommanager/files/flash_image recovery /sdcard/recovery-clockwork-5.0.2.7-c660.img

Good to see Ricardo here

Here you go man, i am attaching the output you asked for those commands
and the Log file

For me the Recovery installation in Rom manager, takes like 2 mins (Depends on internet conn i think)


PS: I am getting the same results as everyone else. " Illegal instruction"

Awaiting you response
Attached Thumbnails
Click image for larger version

Name:	1st command.jpg
Views:	85
Size:	24.9 KB
ID:	840361   Click image for larger version

Name:	2nd command.jpg
Views:	66
Size:	31.9 KB
ID:	840362  
Attached Files
File Type: pdf alogcat.2012-01-03-12-17-57+0530.pdf - [Click for QR Code] (56.0 KB, 32 views)
 
aiamuzz
Old
#44  
Senior Member
Thanks Meter 19
Posts: 176
Join Date: Dec 2011
aremcee is Ricardo !!!
sorry i didn't look into your profile...
thanks for looking into.
 
aremcee
Old
#45  
Recognized Developer
Thanks Meter 1,827
Posts: 452
Join Date: Feb 2010
Quote:
Originally Posted by aiamuzz View Post
aremcee is Ricardo !!!
sorry i didn't look into your profile...
thanks for looking into.
OK, got it. It's a bug in ROM Manager, I'll ask koush to take a look. In the meantime, use the attached flash_image (unzip it, "adb push flash_image /data/local/; chmod 755 /data/local/flash_image)
Attached Files
File Type: zip fi.zip - [Click for QR Code] (6.8 KB, 192 views)
The Following 2 Users Say Thank You to aremcee For This Useful Post: [ Click to Expand ]
 
varoon88
Old
#46  
varoon88's Avatar
Member
Thanks Meter 6
Posts: 32
Join Date: May 2011
Quote:
Originally Posted by aremcee View Post
OK, got it. It's a bug in ROM Manager, I'll ask koush to take a look. In the meantime, use the attached flash_image (unzip it, "adb push flash_image /data/local/; chmod 755 /data/local/flash_image)
Thanks Ricardo !! Would be great if you could forward it to Koush

If we use this flash image , would it then fix the problem ?
plz could you explain a bit.

THanks a lot ricardo, appreciated !
 
aiamuzz
Old
#47  
Senior Member
Thanks Meter 19
Posts: 176
Join Date: Dec 2011
Quote:
Originally Posted by aremcee View Post
OK, got it. It's a bug in ROM Manager, I'll ask koush to take a look. In the meantime, use the attached flash_image (unzip it, "adb push flash_image /data/local/; chmod 755 /data/local/flash_image)
This is what i did.......i think i have flashed the recovery successfully.......

1. adb push flash_image /data/local/
Output :
Code:
223 KB/s (13964 bytes in 0.060s)
2. adb shell
3. su
4. chmod 755 /data/local/flash_image
5. /data/local/flash_image recovery /mnt/sdcard/recovery-clockwork-5.0.2.7-c660.img
Output
Code:
flashing recovery from /mnt/sdcard/recovery-clockwork-5.0.2.7-c660.img
mtd: successfully wrote block at b10c00000000
mtd: successfully wrote block at b10c00020000
mtd: successfully wrote block at b10c00040000
mtd: successfully wrote block at b10c00060000
mtd: successfully wrote block at b10c00080000
mtd: successfully wrote block at b10c000a0000
mtd: successfully wrote block at b10c000c0000
mtd: successfully wrote block at b10c000e0000
mtd: successfully wrote block at b10c00100000
mtd: successfully wrote block at b10c00120000
mtd: successfully wrote block at b10c00140000
mtd: successfully wrote block at b10c00160000
mtd: successfully wrote block at b10c00180000
mtd: successfully wrote block at b10c001a0000
mtd: successfully wrote block at b10c001c0000
mtd: successfully wrote block at b10c001e0000
mtd: successfully wrote block at b10c00200000
mtd: successfully wrote block at b10c00220000
mtd: successfully wrote block at b10c00240000
mtd: successfully wrote block at b10c00260000
mtd: successfully wrote block at b10c00280000
mtd: successfully wrote block at b10c002a0000
mtd: successfully wrote block at b10c002c0000
mtd: successfully wrote block at b10c002e0000
mtd: successfully wrote block at b10c00300000
mtd: successfully wrote block at b10c00320000
mtd: successfully wrote block at b10c00340000
mtd: successfully wrote block at b10c00360000
mtd: successfully wrote block at b10c00380000
mtd: successfully wrote block at b10c003a0000
mtd: successfully wrote block at b10c003c0000
mtd: successfully wrote block at b10c003e0000
mtd: successfully wrote block at b10c00400000
mtd: successfully wrote block at b10c00420000
mtd: successfully wrote block at b10c00000000
So should i try restarting into recovery ???

thnx.
The Following User Says Thank You to aiamuzz For This Useful Post: [ Click to Expand ]
 
varoon88
Old
#48  
varoon88's Avatar
Member
Thanks Meter 6
Posts: 32
Join Date: May 2011
Quote:
Originally Posted by aiamuzz View Post
This is what i did.......i think i have flashed the recovery successfully.......

1. adb push flash_image /data/local/
Output :
Code:
223 KB/s (13964 bytes in 0.060s)
2. adb shell
3. su
4. chmod 755 /data/local/flash_image
5. /data/local/flash_image recovery /mnt/sdcard/recovery-clockwork-5.0.2.7-c660.img
Output
Code:
flashing recovery from /mnt/sdcard/recovery-clockwork-5.0.2.7-c660.img
mtd: successfully wrote block at b10c00000000
mtd: successfully wrote block at b10c00020000
mtd: successfully wrote block at b10c00040000
mtd: successfully wrote block at b10c00060000
mtd: successfully wrote block at b10c00080000
mtd: successfully wrote block at b10c000a0000
mtd: successfully wrote block at b10c000c0000
mtd: successfully wrote block at b10c000e0000
mtd: successfully wrote block at b10c00100000
mtd: successfully wrote block at b10c00120000
mtd: successfully wrote block at b10c00140000
mtd: successfully wrote block at b10c00160000
mtd: successfully wrote block at b10c00180000
mtd: successfully wrote block at b10c001a0000
mtd: successfully wrote block at b10c001c0000
mtd: successfully wrote block at b10c001e0000
mtd: successfully wrote block at b10c00200000
mtd: successfully wrote block at b10c00220000
mtd: successfully wrote block at b10c00240000
mtd: successfully wrote block at b10c00260000
mtd: successfully wrote block at b10c00280000
mtd: successfully wrote block at b10c002a0000
mtd: successfully wrote block at b10c002c0000
mtd: successfully wrote block at b10c002e0000
mtd: successfully wrote block at b10c00300000
mtd: successfully wrote block at b10c00320000
mtd: successfully wrote block at b10c00340000
mtd: successfully wrote block at b10c00360000
mtd: successfully wrote block at b10c00380000
mtd: successfully wrote block at b10c003a0000
mtd: successfully wrote block at b10c003c0000
mtd: successfully wrote block at b10c003e0000
mtd: successfully wrote block at b10c00400000
mtd: successfully wrote block at b10c00420000
mtd: successfully wrote block at b10c00000000
So should i try restarting into recovery ???

thnx.
Sorry, but did u unzip the flash_image in a specific folder or anywhere ?

I wish u all the luck, whatever u do, Please keep us posted

Thanks
 
aiamuzz
Old
#49  
Senior Member
Thanks Meter 19
Posts: 176
Join Date: Dec 2011
Thank you so much Ricardo !!!

Code:
ClockworkMod Recovery v5.0.2.7

- reboot system now
- apply update from sdcard
- wipe data/factory reset
- wipe cache partition
- install zip from sdcard
- backup and restore
- mounts and storage
- advanced
- poweroff
-+++++Go Back+++++
_________________________________

ClockworkMod Recovery v5.0.2.7
E: Bad boot message
"recovery "

Is the 'bad boot message' error normal ? or needs some fixing ?

@Ricardo
So now can you please advice which version of the Cyanogen Nightly build ROM do we attempt first ?

thanks,

---------- Post added at 12:27 PM ---------- Previous post was at 12:20 PM ----------

Quote:
Originally Posted by varoon88 View Post
Sorry, but did u unzip the flash_image in a specific folder or anywhere ?

I wish u all the luck, whatever u do, Please keep us posted

Thanks
Yes !

Please extract the file somewhere and then run this command

adb push /complete/path/where/file/has/been/extracted/flash_image /data/local/

and follow the rest of the commands as mentioned earlier.......
The Following User Says Thank You to aiamuzz For This Useful Post: [ Click to Expand ]
 
varoon88
Old
#50  
varoon88's Avatar
Member
Thanks Meter 6
Posts: 32
Join Date: May 2011
Quote:
Originally Posted by aiamuzz View Post
Thank you so much Ricardo !!!

Code:
ClockworkMod Recovery v5.0.2.7

- reboot system now
- apply update from sdcard
- wipe data/factory reset
- wipe cache partition
- install zip from sdcard
- backup and restore
- mounts and storage
- advanced
- poweroff
-+++++Go Back+++++
_________________________________

ClockworkMod Recovery v5.0.2.7
E: Bad boot message
"recovery "

Is the 'bad boot message' error normal ? or needs some fixing ?

@Ricardo
So now can you please advice which version of the Cyanogen Nightly build ROM do we attempt first ?

thanks,

---------- Post added at 12:27 PM ---------- Previous post was at 12:20 PM ----------



Yes !

Please extract the file somewhere and then run this command

adb push /complete/path/where/file/has/been/extracted/flash_image /data/local/

and follow the rest of the commands as mentioned earlier.......
Mann !!!
I did what Ricardo said and then did what you said.
Dont know what went wrong.
But now i cant move past the LG logo ???
Nothing is happening, Please tell me there is a way to fix this
Please anybody please help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes