Jump to content

10/Mar 3.2 - MoDaCo Custom ROM for GSM Hero (now with online kitchen)


Recommended Posts

Guest electrocat
Posted

1.

The idea of having it in ROM is that it can't be 'uninstalled' using conventional methods by a thief.

write new rom != conventional methods?

2.

Wavesecure is at /system/app/com.wsandroid.apk in case you wish to remove it! smile.gif

:)

Guest Keramidas
Posted (edited)
The idea of having it in ROM is that it can't be 'uninstalled' using conventional methods by a thief.

I have closely watched the battery usage scenario and have seen no noticeable impact.

P

Here is a script I made, that can measure CPU usage while the phone is sleeping:

PATTERN="cpu0 \([0-9]\+\) \([0-9]\+\) \([0-9]\+\) \([0-9]\+\) .*"

while [ 0 ]; do

USER=`sed -n "s/$PATTERN/\1/p" /proc/stat`

IDLE=`sed -n "s/$PATTERN/\4/p" /proc/stat`

if [ ! -z "$PUSER" ]; then

NUSER=$((USER-PUSER))

NIDLE=$((IDLE-PIDLE))

echo "Percent (x1000) = $(((100*1000*NUSER)/(NUSER+NIDLE)))"

fi

PUSER=$USER

PIDLE=$IDLE

sleep 60

done

Here's a howto:

- save this script to "stat.sh" on your computer

- connect phone to your computer (USB cable)

- put your phone in standby (power button)

- adb push stat.sh /sdcard/stat.sh

- adb shell

- sh /sdcard/stat.sh

Don't touch your phone anymore. Every minute a number is displayed in the console. Wait for everything to settle (ie: ignore the first 2-3 numbers). If your phone has no power-hungry app, and no receive no mails/rss/whatever at the moment, the readings should be between 450-800, which means 0.45% - 0.8% CPU used. That's less than 1% CPU, and that's GOOD.

Now, there are a few applications that are very nice, but VERY power hungry for no reason. Such an application is "openloopz": you will see constant CPU usage near 8000, which means 8% CPU and will drain 20% of your battery (instead of <3%) in a single night.

Maybe somebody can try it and see if WaveSecure really uses no CPU while phone is sleeping ?

Edited by Keramidas
Guest electrocat
Posted
I doubt the average phone thief (or random finder) is gonna get the setup required to remove an app from the system partition!

imho,

average phone thief will drop sim card and will sell the phone

for random finder.. maybe its work

Posted
imho,

average phone thief will drop sim card and will sell the phone

for random finder.. maybe its work

Yes, but as soon as a different SIM is swapped in, Wavesecure will let you know.

P

Guest David B.
Posted

Hello,

I've installed the ROM 2.6 (thanks Paul ;-)) and I've configured WaveSecure. It seems OK but I can't read the SMS they send to me !!!

I have a notification but, when I want to read the SMS, it disapears !!!

I've asked someone else to send me a SMS and it is OK...

There's no modification in SMS database ?

Thanks.

David.

Guest rico2k_uk
Posted
Hello,

I've installed the ROM 2.6 (thanks Paul ;-)) and I've configured WaveSecure. It seems OK but I can't read the SMS they send to me !!!

I have a notification but, when I want to read the SMS, it disapears !!!

I've asked someone else to send me a SMS and it is OK...

There's no modification in SMS database ?

Thanks.

David.

thats because the software deletes the txt when it recieves it. Your not supposed to get it. Its only code anyway.

Guest Beekhouse
Posted (edited)
I restored nandroid backup of 2.3, wifi working in browser! reloaded apps, wifi had stopped.

Removed all my apps still not working, did a wipe, working again.

Flashed 2.5.1 wifi still working in the browser.

Reloaded apps one at a time (leaving of any wifi based apps).

All working fine now, it must have been one of the apps or a combination of what i had loaded.

Hope this helps

Which apps did you leave behind? And latest radio?

* Edit *

Did wipe installed 2.6 Wifi works, all apps installed still works.

Then I added apn settings for my mobile data connection Wifi hangs as soon is a used the mobile internet.

Is your provider Vodafone? because it looks like as soon as you add your mobile internet apn settings and use these the browser dont wont to surf using wifi.

This is the problem:

http://code.google.com/p/android/issues/detail?id=3688

Because Vodafone is using a proxy the browser keeps this setting when using mobile internet, so your browser also uses this setting with wifi and can't connect.

If you put out your apn and reboot and use wifi immediatly it should work.

So after you did a wipe or something you probably manually configured your APN settings with a proxy but you have to leave it blank in order for the wifi to work in the browser.

So use the vodafone apn settings without the proxy and port and it all should work fine.

Edited by Beekhouse
Guest David B.
Posted
thats because the software deletes the txt when it recieves it. Your not supposed to get it. Its only code anyway.

Ah, ok ! It's clear !!!

Thank you very much !

David.

Guest keef319
Posted

Hi all.

Paul, or anyone who knows...

There's a few apps I want to remove, such as Peep and Stocks. Can these be deleted by using Linda File Manager, then going into system/app and simply remove the apk? Or is there more to it than that?

com.htc.StockWidget.apk

com.htc.TwitterWidget.apk

HtcTwitter.apk

Stock.apk

Any others I'd need to delete? I see there's DCSStock.apk (??)

Also what are the .odex files?

Cheers.

Guest Keramidas
Posted (edited)
Hi all.

Paul, or anyone who knows...

There's a few apps I want to remove, such as Peep and Stocks. Can these be deleted by using Linda File Manager, then going into system/app and simply remove the apk? Or is there more to it than that?

com.htc.StockWidget.apk

com.htc.TwitterWidget.apk

HtcTwitter.apk

Stock.apk

Any others I'd need to delete? I see there's DCSStock.apk (??)

Also what are the .odex files?

Cheers.

Hi,

As far as I know, regular file managers can't do it because you need to remount /system read-write. You would need something like "root explorer" which I haven't tried.

Personally, what I do is:

- create a text file on the sdcard, named "cleanup.sh"

- install "better terminal" or "connectbot"

- start a terminal session and do: "su" and then "sh /sdcard/cleanup.sh"

Here is what I have in cleanup.sh:

mount -o remount,rw /system

echo "Removing HTC Sync"

rm /system/app/PCSCII.*

echo "Removing WAP Browser"

rm /system/app/WapBrowser.*

rm /system/lib/libwapcore.*

(...)

mount -o remount,ro /system

Works well for me. You could also do without a script, and type the commands in adb shell. Or even create a script on your computer, which itself calls adb commands.

PS: Sorry, I don't know what .odex files are.

Edited by Keramidas
Guest chesterman
Posted
Which apps did you leave behind? And latest radio?

* Edit *

Did wipe installed 2.6 Wifi works, all apps installed still works.

Then I added apn settings for my mobile data connection Wifi hangs as soon is a used the mobile internet.

Is your provider Vodafone? because it looks like as soon as you add your mobile internet apn settings and use these the browser dont wont to surf using wifi.

This is the problem:

http://code.google.com/p/android/issues/detail?id=3688

Because Vodafone is using a proxy the browser keeps this setting when using mobile internet, so your browser also uses this setting with wifi and can't connect.

If you put out your apn and reboot and use wifi immediatly it should work.

Im on orange, what i did notice was when i did a wipe the apns for mms and mobile data had returned to the default orange ones (not sure how this happened). Previous to this i had set them up manually

and given them slightly different names.

So i could have something to do with that.

Guest keef319
Posted (edited)
Hi,

As far as I know, regular file managers can't do it because you need to remount /system read-write. You would need something like "root explorer" which I haven't tried.

Personally, what I do is:

- create a text file on the sdcard, named "cleanup.sh"

- install "better terminal" or "connectbot"

- start a terminal session and do: "su" and then "sh /sdcard/cleanup.sh"

Here is what I have in cleanup.sh:

mount -o remount,rw /system

echo "Removing HTC Sync"

rm /system/app/PCSCII.*

echo "Removing WAP Browser"

rm /system/app/WapBrowser.*

rm /system/lib/libwapcore.*

(...)

mount -o remount,ro /system

Works well for me. You could also do without a script, and type the commands in adb shell. Or even create a script on your computer, which itself calls adb commands.

PS: Sorry, I don't know what .odex files are.

Cheers for your help. Lost me though. LOL!!!

I've never played around with Better Terminal or ConnectBot...nor ADB Shell. Look confusing. Never been a programmer and can't even remember much in DOS!!

I look at all that and think, "I'm gonna bugger this up"...so never try...LOL

Edited by keef319
Posted
Hi,

As far as I know, regular file managers can't do it because you need to remount /system read-write. You would need something like "root explorer" which I haven't tried.

Personally, what I do is:

- create a text file on the sdcard, named "cleanup.sh"

- install "better terminal" or "connectbot"

- start a terminal session and do: "su" and then "sh /sdcard/cleanup.sh"

Here is what I have in cleanup.sh:

mount -o remount,rw /system

echo "Removing HTC Sync"

rm /system/app/PCSCII.*

echo "Removing WAP Browser"

rm /system/app/WapBrowser.*

rm /system/lib/libwapcore.*

(...)

mount -o remount,ro /system

Works well for me. You could also do without a script, and type the commands in adb shell. Or even create a script on your computer, which itself calls adb commands.

PS: Sorry, I don't know what .odex files are.

Did you know if you put that in /data/init.sh it would run at every startup, even after a reflash? :)

P

Guest Beekhouse
Posted
Im on orange, what i did notice was when i did a wipe the apns for mms and mobile data had returned to the default orange ones (not sure how this happened). Previous to this i had set them up manually

and given them slightly different names.

So i could have something to do with that.

Maybe the default also includes a proxy that is not necessary and therefore you have the same problem.

Posted
If this wavesecure is installed as part of a ROM like this, does that mean it's forever there or could we later remove it with a flash of a different ROM? Past experience of these things on laptops is that they're irreversible, and I'm a little bit nervous about doing that to my phone. I'd prefer it as an option.

i have no idea what you are talking about "on laptops", but you can delete the app via adb from your pc. or you can do what i just did: unzip the rom, delete tools i don't need (twitter, stocks, qoffice etc), apply the evil unlockscreen update (because it looks way cooler than the stock one;) ), then zip it, sign it and flash it... this way it will never be installed on your phone.

more on signing update & apk zips here: http://forum.xda-developers.com/showthread...ght=rom+cooking

Guest rico2k_uk
Posted

I created an old .bat dos file with some menus that will remove selected programs, upload certain changes, upload update.zip, reboot to bootloader, etc etc. Makes life sooooo much easier! Just press 1,2,3,4,etc for whatever is needed!:)

Guest Mike Beecham
Posted

Hi guys...just updated to 2.6 and included the latest radio. All is good with the exception of my mobile signal.

I'm on Orange UK, and have dropped from 4 bars to 1 bar on an area where I know I should be quite high.

Any suggestions?

Guest Dan Mullen
Posted

For info, I've just upgraded to MCR 2.6 Enhanced and it's fixed my market issues... all apps available again :)

Guest phillevy
Posted

2.6 over 2.5.1 - all working fine as before - love the WaveSecure! Thanks yet again Paul.

Guest Dan Mullen
Posted
2.6 over 2.5.1 - all working fine as before - love the WaveSecure! Thanks yet again Paul.

Regarding WaveSecure, does this require a subscription? Looks like it from the FAQ. If so, I'd have preferred to see separate apps that do the same job, but for free!

Guest keef319
Posted
Regarding WaveSecure, does this require a subscription? Looks like it from the FAQ. If so, I'd have preferred to see separate apps that do the same job, but for free!

Subscription is Free at the moment...don't know if it's time limited, doesn't look like it for now.

On the subject of Wave Secure...is it just me or does it suck way too much power??? Their site says it'll only shorten the battery life by 3%, but it looks like HSDPA / 3G is connected ALL the time, constantly uploading/downloading.

My battery only lasted 8hrs today!!!

Problem is it seems to start itself up again, even once I've TasKilled it...

Is there a way to manage startup apps? When I reboot, a lot of apps start up of their own accord...

Guest milko9000
Posted
i have no idea what you are talking about "on laptops", but you can delete the app via adb from your pc.

cheers for the tip and direction. So once it is installed it can be relatively easily removed later? As for laptops, I'm talking about things like Computrace. Dell stuck this in a BIOS update for the Mini 9 and got the yes/no option the wrong way round. Once it's installed, there's no way to uninstall it, at all! Apparently. Which meant you always had the processes for it running, even if you couldn't use the software or didn't want to. This is amongst the reasons I tend to wait a few days before I install new BIOS files and ROMs, to let the more eager guinea pigs do some testing :)

Guest Takigama
Posted

I'm having dramas going to 2.6 from 2.3 personally. As soon as the thing tries to load main screen it crashes... i get the "drag down to unlock" and if i do, i get a loading screen and then a crash...

adb logcat outputs alot of java exceptions and so forth, but theres also one error that says:

 E/AndroidRuntime( 1041): java.lang.RuntimeException: Error receiving broadcast Intent { action=android.intent.action.BOOT_COMPLETED } in com.android.providers.htcCheckin.htcCheckinService$BootCompleteReceiver@43839278

 E/AndroidRuntime( 1041):		at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThread.java:675)

 E/AndroidRuntime( 1041):		at android.os.Handler.handleCallback(Handler.java:587)

 E/AndroidRuntime( 1041):		at android.os.Handler.dispatchMessage(Handler.java:92)

 E/AndroidRuntime( 1041):		at android.os.Looper.loop(Looper.java:123)

 E/AndroidRuntime( 1041):		at com.android.server.ServerThread.run(SystemServer.java:409)

 E/AndroidRuntime( 1041): Caused by: android.database.sqlite.SQLiteException: no such table: message: , while compiling: SELECT * FROM message

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteProgram.native_compile(Native Method)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:110)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:59)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:49)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1139)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:312)

 E/AndroidRuntime( 1041):		at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:262)

 E/AndroidRuntime( 1041):		at com.android.providers.htcCheckin.htcCheckinProvider.query(htcCheckinProvider.java:154)

 E/AndroidRuntime( 1041):		at android.content.ContentProvider$Transport.query(ContentProvider.java:129)

 E/AndroidRuntime( 1041):		at android.content.ContentResolver.query(ContentResolver.java:149)

 E/AndroidRuntime( 1041):		at com.android.providers.htcCheckin.htcCheckinService.isAllowDownload(htcCheckinService.java:1130)

 E/AndroidRuntime( 1041):		at com.android.providers.htcCheckin.htcCheckinService.access$2200(htcCheckinService.java:125)

 E/AndroidRuntime( 1041):		at com.android.providers.htcCheckin.htcCheckinService$BootCompleteReceiver.onReceive(htcCheckinService.java:2089)

 E/AndroidRuntime( 1041):		at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThread.java:664)

 E/AndroidRuntime( 1041):		... 4 more

I know when i installed 2.3 there was an SQL fix because my phone couldn't receive sms messages but I cant find the related bits.

Unfortuneately, the backup i too prior to the update appears as if its corrupt, when i try to restore it the phone just ignores me basically. Thats not a huge problem if i just deploy 2.3 over the top it seems to work ok.

Regards, Paul

Guest Mike Beecham
Posted

so no-one experienced a drop in mobile network signal on the new radio then? hmmmm

Posted (edited)
2.6 over 2.5.1 - all working fine as before - love the WaveSecure! Thanks yet again Paul.

Me too! Thanks a lot, Paul! :-)

Edited by Krissi

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.