hoanglanton / cyanogen-updater

Automatically exported from code.google.com/p/cyanogen-updater
0 stars 0 forks source link

"No CM updates found" #148

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
First this is not a Bugtracker for Cyanogen-Rom Bugs. Only for the updater.
The other Bugtracker can be found here:
http://code.google.com/p/cyanogenmod/issues/list

What steps will reproduce the problem?
1.Able to open CM updater
2.Click check now and shows no updates available
3.Have tried going uninstalling/reinstalling, checking/unchecking display
all/experimental, changing update server to beta, and back using reset, has
been like this for the past few cm updates and have been unable to use to
update.

What is the expected output? What do you see instead?
To see newer CM's, 4.2.6, 4.2.7, but instead see message "No CM updates found"

What ROM are you running?(including Version)
Cyanogenmod-4.2.5
What Version of CM-Updater are you running??(When using an Experimental
one, please Provide the SVN Release Number)
4.5.1
Please provide a logcat of the issue:
If you get a Force close do an: adb logcat
If somethings wrong in the app do an: adb logcat cmupdater:V *:S
For older Versions of the updater: adb logcat | grep "<CM-Updater>"

Please provide any additional information below.

Original issue reported on code.google.com by shshc...@gmail.com on 3 Dec 2009 at 4:43

GoogleCodeExporter commented 8 years ago
Please do an
adb logcat cmupdater:V *:S
after checking for updates and post the output here.

Original comment by FireFart on 3 Dec 2009 at 7:26

GoogleCodeExporter commented 8 years ago
# logcat cmupdater:V *:S
D/cmupdater( 1128): MainActivity: onResume called
D/cmupdater( 1128): MainActivity: No Intent. Starting App in Default mode
D/cmupdater( 1128): Preferences: UpdateFolder: cm-updates
D/cmupdater( 1128): State: Called LoadState
D/cmupdater( 1128): Preferences: Opening Database
D/cmupdater( 1128): Preferences: Closing Database
D/cmupdater( 1128): Preferences: Display Experimental Rom Updates: true
D/cmupdater( 1128): Preferences: Display All Rom Updates: true
D/cmupdater( 1128): Preferences: Display Experimental Theme Updates: true
D/cmupdater( 1128): Preferences: Display All Theme Updates: true
D/cmupdater( 1128): Preferences: ThemeFile: /system/framework/themes.theme
D/cmupdater( 1128): Preferences: No Theme File found. Using Wildcard for Theme
Updates instead
D/cmupdater( 1128): Preferences: Display Experimental Rom Updates: true
D/cmupdater( 1128): Preferences: Display All Rom Updates: true
D/cmupdater( 1128): Preferences: Display Experimental Theme Updates: true
D/cmupdater( 1128): Preferences: Display All Theme Updates: true
D/cmupdater( 1128): Preferences: Opening Database
D/cmupdater( 1128): Preferences: Closing Database
D/cmupdater( 1128): PlainTextUpdateServer: Wildcard is used for Theme Updates
D/cmupdater( 1128): Preferences: Rom MetadataFile-Url:
http://cyanogen-updater.googlecode.com/files/update_file.json
D/cmupdater( 1128): PlainTextUpdateServer: Found 8 mirrors in the JSON
D/cmupdater( 1128): PlainTextUpdateServer: Found 7 updates in the JSON
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.7.1 
(mod
mismatch)
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.6 (mod
mismatch)
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.5 (mod
mismatch)
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.4 (mod
mismatch)
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.3.1 
(mod
mismatch)
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.2 (mod
mismatch)
D/cmupdater( 1128): PlainTextUpdateServer: Discarding Rom CyanogenMod-4.2.1 (mod
mismatch)
D/cmupdater( 1128): State: Called LoadState
D/cmupdater( 1128): PlainTextUpdateServer: Called FilterUpdates
D/cmupdater( 1128): State: Called SaveState
D/cmupdater( 1128): UpdateCheck: No updates found
D/cmupdater( 1128): State: Called LoadState
D/cmupdater( 1128): Preferences: Opening Database
D/cmupdater( 1128): Preferences: Closing Database
D/cmupdater( 1128): Preferences: Display Experimental Rom Updates: true
D/cmupdater( 1128): Preferences: Display All Rom Updates: true
D/cmupdater( 1128): Preferences: Display Experimental Theme Updates: true
D/cmupdater( 1128): Preferences: Display All Theme Updates: true
D/cmupdater( 1128): MainActivity: Orientation Changed. New Orientation: 2
D/cmupdater( 1128): MainActivity: Orientation Changed. New Orientation: 1

Original comment by shshc...@gmail.com on 3 Dec 2009 at 7:42

GoogleCodeExporter commented 8 years ago
Looks like you're trying a hardware that is not supported.
Only these for the current release:
trout,sapphire

Just look in the file /system/build.prop for the property ro.product.board

There must be the string trout or sapphire. Otherwise you wont see the udpate

Original comment by FireFart on 3 Dec 2009 at 8:01

GoogleCodeExporter commented 8 years ago
I'm not sure I understand? I have the same g1 i've had since last december 
that's
always worked, but you mentioning build.prop reminds me of the messing around I 
did
to get google maps navigation on my phone before it was released on the market, 
which
was a trial and error process. Could that be the cause? Do you know what I 
should do?
I'm not stupid but I'm not a wiz with this either, basically everything you said
makes no sense to me. :( Maybe I should google the steps to replace old 
build.prop,
and build trout prop? Could be a fix? Or could I maybe do a wipe to fix it if 
that
doesn't work? I'm assuming you want to have the fix up here for reference of 
others
if we get to a fix, but if you'd like to work with me I'll be signed on 
gmail/gtalk.
Thank you

Original comment by shshc...@gmail.com on 3 Dec 2009 at 8:07

GoogleCodeExporter commented 8 years ago
you have to change/add the property
ro.product.board
to trout

ro.product.board=trout

reboot phone and all will work again

Original comment by FireFart on 3 Dec 2009 at 8:10

GoogleCodeExporter commented 8 years ago
I don't know how to do that, I tried typing "su" in terminal emulator then
"ro.product.board=trout", but it said not found. So i'm not sure how I'm 
supposed to
do this, I downloaded original build prop files, which contains build.prop,
build.sapphire.prop, and build.trout.prop, I don't have the sdk/adb it wasn't
compatible with my computer, so I have to use terminal emulator if possible, I 
can
copy those build prop files to the sdcard but not sure what to do after that, 
if you
could help me with commands, otherwise I would have to try and refer to the maps
navigation commands and might mess something up :\ sorry to be so noobish.

Original comment by shshc...@gmail.com on 3 Dec 2009 at 8:22

GoogleCodeExporter commented 8 years ago
conenct phone to pc

adb remount
adv pull /system/build.prop .

change the values

adb push build.prop /system/build.prop
adb shell reboot

Original comment by FireFart on 3 Dec 2009 at 8:24

GoogleCodeExporter commented 8 years ago
So I'm assuming there's no way to do this using the terminal on the g1, i'm 
working
with the android sdk manager now, downloaded the usb driver package, enabled usb
debugging, tried using adb command in the command prompt? It didn't work I'm 
assuming
I'm doing something wrong. I have no idea what I'm doing so some help would be
greatly appreciated, like I said I'm signed on gmail/gtalk, thank you for all 
the
help so far though if you can't go any further.

Original comment by shshc...@gmail.com on 3 Dec 2009 at 8:45

GoogleCodeExporter commented 8 years ago
http://developer.android.com/sdk/installing.html#Installing

Original comment by FireFart on 3 Dec 2009 at 8:50

GoogleCodeExporter commented 8 years ago
Okay, I pulled the file, added the line like you said (because there was no 
similar
line with a different value) saved, then pushed, rebooted, no fix. So using the
original build prop files which i have uploaded to
http://www.mediafire.com/?tdizwmdot2h for anyone in the future, used the 
commands
from google nav installation which were:

adb remount
adb push build.prop /system/
adb push build.trout.prop /system/
adb push build.sapphire.prop /system/
adb shell reboot

now all is good.
also for those without the ability or knowledge to use adb commands like me you 
can
also copy those files to the sdcard main directory, then open terminal on the 
phone,
then use these commands

su
mount -o remount,rw /system/
cp /sdcard/build.prop /system/
cp /sdcard/build.trout.prop /system/
cp /sdcard/build.sapphire.prop /system/
reboot

Thank you so much for working with me! Glad I got this taken care of and also 
now
know a bit more and can finally use adb. 

Original comment by shshc...@gmail.com on 3 Dec 2009 at 9:29

GoogleCodeExporter commented 8 years ago

Original comment by FireFart on 23 Dec 2009 at 9:04