Guest Fran80 Posted October 25, 2009 Report Posted October 25, 2009 Hello, congratulations for your great work. I love this rom but I have a problem I am not able to get a solution. When I run "adb shell" and then "ls", I get something like this. If I run "adb shell...." from recovery everything is normal. I have tried to solve this formatting my sdcard, reinstalling the rom, installing htc's official and 2.8 again. I've wiped everything I can :D. The phone is working right, I can save things in the sdcard, install applications.... p.d: sorry for my english ; )
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 (edited) Seems I don't see received SMS in Handcent anymore... I am putting back Mms.apk and Mms.odex to see if it solves the issue... My bad, I was hitting the delete button on Handcent's popup. I guess compiling your own kernel makes you paranoid... Too many hours compiling, decompiled my brain...I need to rest... ;-) [EDIT] Well after thorough testing seems if you remove HTC's Messages (Mms.apk and Mms.odex), Handcent's SMS receives messages (ie: notification appears) but the sms is not "saved" in the "chat" view... I reinstalled (just by copying back) the Messages app and everything works perfectly again. Edited October 25, 2009 by teknologist
Guest worcester4x4 Posted October 25, 2009 Report Posted October 25, 2009 What am I doing wrong? When I run adb remount it returns error: device not found. Help?
Guest uk786 Posted October 25, 2009 Report Posted October 25, 2009 What am I doing wrong? When I run adb remount it returns error: device not found. Help? Try enabling 'usb debugging' its somewhere in the setting on your device.
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 (edited) What am I doing wrong? When I run adb remount it returns error: device not found. Help? Yes, Enable debugging in Settings/applications/Development/Usb debugging Also, your USB connection might be used by usb storage...make sure the sdcard is not mounted...or "captured" by vmware or another virtualization software Edited October 25, 2009 by teknologist
Guest themadczech Posted October 25, 2009 Report Posted October 25, 2009 Investigating ext4 issues... P Formatted EXT partition to EXT4. updated to ROM 2.8, restarted and... device starts okay, which is the good news. The bad news is that majority of icons turn to "program not found". Going to the Market however knows all programs that I have installed, so there are somewhere, but not on the home screen nor in programs. Going to Settings >Applications only shows the small list of default apps. Also, status of Internal phone Storage shows only 82MB, i.e. A2SD didn't work correctly. Searching the EXT4 partition with DiskInternals Linux Reader (i appreciate that it might not be 100% EXT4 compatible), displays 3 folders - apps , apps-private, lost+found. All seem to be empty. Thinking about rolling back to EXT3, but want to hold off to your assessment. Thanks, Petr
Guest worcester4x4 Posted October 25, 2009 Report Posted October 25, 2009 USB debugging is on and the SD card isn't mounted, or captured so far as I can see.
Guest Keramidas Posted October 25, 2009 Report Posted October 25, 2009 Hello, congratulations for your great work. I love this rom but I have a problem I am not able to get a solution. When I run "adb shell" and then "ls", I get something like this. If I run "adb shell...." from recovery everything is normal. I have tried to solve this formatting my sdcard, reinstalling the rom, installing htc's official and 2.8 again. I've wiped everything I can :D . The phone is working right, I can save things in the sdcard, install applications.... p.d: sorry for my english ; ) Apparently, the "ls" command sends ANSI color codes. It seems cmd.exe doesn't even support colors, so try a better terminal emulator...
Guest worcester4x4 Posted October 25, 2009 Report Posted October 25, 2009 Yes, Enable debugging in Settings/applications/Development/Usb debugging Also, your USB connection might be used by usb storage...make sure the sdcard is not mounted...or "captured" by vmware or another virtualization software 'twas a driver problem. Reinstalled the ADB driver set and it's fine now.
Guest Fran80 Posted October 25, 2009 Report Posted October 25, 2009 Apparently, the "ls" command sends ANSI color codes. It seems cmd.exe doesn't even support colors, so try a better terminal emulator... Ok, you are right :D. Thinking was phone's problems and it results to be a Windows problems :P. Thank you
Guest masterpfa Posted October 25, 2009 Report Posted October 25, 2009 What's wrong with it. All pics on my Flickr page taken with Hero. http://www.flickr.com/photos/gavinfabl100/ Are you tapping screen to focus key part , holding tractable to auto focus ? Great pictures, hard to believe these are from a camera phone!
Guest worcester4x4 Posted October 25, 2009 Report Posted October 25, 2009 What files do I need to remove to get rid of Peep?
Guest clarkEEE1 Posted October 25, 2009 Report Posted October 25, 2009 What files do I need to remove to get rid of Peep? adb remount adb shell rm system/app/*Twit* That gets rid of peep.
Guest cyde Posted October 25, 2009 Report Posted October 25, 2009 I have managed to compile a 2.6.27 kernel for hero with the following enabled: tunk.ko working compcache kernel modules (including lzo and swapnotify kernel patch) with a 64Mb backingswap partition working .... .... seems to work good so far. i'll update after more testing. Cheers, --Eric PS: Paul, my tun.ko is working without tunnel4.ko and ipip.ko so I removed them from my update.zip Great to know. I am not at that level of hacking of my hero yet, but a question about your tun.ko. Have you tried just using your tun.ko file in Paul's 2.8 update? I would be happy to try it (and it would give me a reason to do the update to 2.8) if you want to send a copy to me. -Randy
Guest Keramidas Posted October 25, 2009 Report Posted October 25, 2009 Last but not least: # cat /proc/ramzswap DiskSize: 64260 kB MemLimit: 64200 kB NumReads: 726 NumWrites: 1393 FailedReads: 0 FailedWrites: 0 InvalidIO: 0 NotifyFree: 42 ZeroPages: 16 GoodCompress: 100 % NoCompress: 0 % PagesStored: 1118 PagesUsed: 280 OrigDataSize: 4472 kB ComprDataSize: 1101 kB MemUsedTotal: 1120 kB BDevNumReads: 90 BDevNumWrites: 232 Hi teknologist, This is great ! So you now have 64MB of compressed swap, but can you also enable a compressed pool (say, 64MB too) in RAM ?
Guest keef319 Posted October 25, 2009 Report Posted October 25, 2009 (edited) Hi all. Sure someone can help me here. The first 3 apps I removed with ADB shell were Footprints (*Foot*), Peep (*Twit*) and Stocks (*Stocks*). No probs, everything ok. So then I decided to try out Handcent, which I like a lot. Which apk's do I need to remove to get rid of the HTC messages app? I thought it would be Mms.apk? Also, I've found IM when I look through "system/app", which I assume is the Instant Messenger app, but I can't see the app anywhere, and I also thought it'd been removed in MCR 2.5??? Either way, removing Mms.app or IM.app (don't know which did it!!) buggered up the virtual keyboard. I couldn't get it to appear at all. Not in Handcent, Twidroid, Browser, etc etc. Re-flashing the MCR 2.8 install.zip cured it, though everything came back. I wanted to remove Gtalk as well, but I guess this is part of the Google Apps??? Please help. T.I.A. :-) Edited October 25, 2009 by keef319
Guest gavinfabl Posted October 25, 2009 Report Posted October 25, 2009 Great pictures, hard to believe these are from a camera phone! thanks :D
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 Hi all. Sure someone can help me here. The first 3 apps I removed with ADB shell were Footprints (*Foot*), Peep (*Twit*) and Stocks (*Stocks*). No probs, everything ok. So then I decided to try out Handcent, which I like a lot. Which apk's do I need to remove to get rid of the HTC messages app? I thought it would be Mms.apk? Also, I've found IM when I look through "system/app", which I assume is the Instant Messenger app, but I can't see the app anywhere, and I also thought it'd been removed in MCR 2.5??? Either way, removing Mms.app or IM.app (don't know which did it!!) buggered up the virtual keyboard. I couldn't get it to appear at all. Not in Handcent, Twidroid, Browser, etc etc. Re-flashing the MCR 2.8 install.zip cured it, though everything came back. I wanted to remove Gtalk as well, but I guess this is part of the Google Apps??? Please help. T.I.A. :-) At the end I had to reinstall the Mms.apk as I had problems with SMS not being saved to the chat window although the notification still appears..weird (look at my earlier posts edited). I didn't remove IM.apk and never had any issues with the keyboard.
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 (edited) Hi teknologist, This is great ! So you now have 64MB of compressed swap, but can you also enable a compressed pool (say, 64MB too) in RAM ? Well I just tried to follow the guides at compcache's website...they just talk about adding a compressed swap device with or without backing swap. If you have any infos about that, I'd be glad to hear. I activated all this by writing the following userinit.sh script: #!/system/bin/sh /system/xbin/bb/insmod /system/lib/modules/lzo_decompress.ko /system/xbin/bb/insmod /system/lib/modules/lzo_compress.ko /system/xbin/bb/insmod /system/lib/modules/compcache/xvmalloc.ko /system/xbin/bb/insmod /system/lib/modules/compcache/ramzswap.ko memlimit_kb=64200 backing_swap=/dev/block/mmcblk0p3 /system/xbin/bb/swapon /dev/block/ramzswap0 From compache's website: # -- backing_swap: # This is block device to be used as backing store for ramzswap. # When pages more than memlimit_kb as swapped to ramzswap, we store # any additional pages in this device. We may also move some pages # from ramzswap to this device in case system is really low on # memory (TODO). # This device is not directly visible to kernel as a swap device # (/proc/swaps will only show /dev/ramzswap0 and not this device). # Managing this backing device is the job of ramzswap module. I don't really understand what you mean...I guess it's one or the other. i.e. with or without backing swap. with backing swap: /system/xbin/bb/insmod /system/lib/modules/compcache/ramzswap.ko memlimit_kb=64200 backing_swap=/dev/block/mmcblk0p3 without backing swap (compressed pool in RAM): /system/xbin/bb/insmod /system/lib/modules/compcache/ramzswap.ko disksize_kb=65536 Please anyone with more knowledge of compache, correct me if I am wrong... Anyway, Works great ! performance is very good (actually haven't ever experienced my Hero with such responsiveness) . Don't see abnormal battery drain for the moment. Phone has been very stable for 6 hours now (tested using everything, sms/email/web/weather/calling etc.) If you want to try my update.zip file, PM me I'll send it to you...no warranty of course ;-) It also has a working tun.ko and the swap notification callback patch on the kernel. Cheers, --Eric P.S. More memory stats for the brave (after 6 hours of using): # cat /proc/ramzswap DiskSize: 64260 kB MemLimit: 64200 kB NumReads: 3586 NumWrites: 5251 FailedReads: 0 FailedWrites: 0 InvalidIO: 0 NotifyFree: 163 ZeroPages: 278 GoodCompress: 100 % NoCompress: 0 % PagesStored: 3896 PagesUsed: 866 OrigDataSize: 15584 kB ComprDataSize: 3402 kB MemUsedTotal: 3464 kB BDevNumReads: 660 BDevNumWrites: 953 # cat /proc/meminfo MemTotal: 196304 kB MemFree: 2864 kB Buffers: 60 kB Cached: 53144 kB SwapCached: 11828 kB Active: 151784 kB Inactive: 15020 kB SwapTotal: 64252 kB SwapFree: 43864 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 109292 kB Mapped: 38600 kB Slab: 7400 kB SReclaimable: 1644 kB SUnreclaim: 5756 kB PageTables: 8924 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 162404 kB Committed_AS: 2732852 kB VmallocTotal: 319488 kB VmallocUsed: 83948 kB VmallocChunk: 187388 kB # free total used free shared buffers Mem: 196304 192728 3576 0 60 Swap: 64252 20388 43864 Total: 260556 213116 47440 Edited October 25, 2009 by teknologist
Guest keef319 Posted October 25, 2009 Report Posted October 25, 2009 At the end I had to reinstall the Mms.apk as I had problems with SMS not being saved to the chat window although the notification still appears..weird (look at my earlier posts edited). I didn't remove IM.apk and never had any issues with the keyboard. Do you not receive duplicate notifications though? That's why I wanted to remove the built in HTC Messages app...not going to use it and it takes up space...
Guest payne4life Posted October 25, 2009 Report Posted October 25, 2009 At the end I had to reinstall the Mms.apk as I had problems with SMS not being saved to the chat window although the notification still appears..weird (look at my earlier posts edited). I didn't remove IM.apk and never had any issues with the keyboard. Unfortunately i guess i'm forced to reinstall Mms.apk too because the same problems appeared here too. At first it was all ok. I rebooted and then it was all ok too! i got amazed! But then i shutted down my hero for 3 hours and when i opened i had serious probs. Nothing appers on inbox..
Guest payne4life Posted October 25, 2009 Report Posted October 25, 2009 Do you not receive duplicate notifications though? That's why I wanted to remove the built in HTC Messages app...not going to use it and it takes up space... You disable the notifications provided by the default HTC Messages app. Go to setting somewhere. Anyone knows how to reinstall Mms.apk and Mms.odex?
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 (edited) You disable the notifications provided by the default HTC Messages app. Go to setting somewhere. Anyone knows how to reinstall Mms.apk and Mms.odex? Just copy the files back to /system/app, reboot and you are set. It worked for me. Edited October 25, 2009 by teknologist
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 Do you not receive duplicate notifications though? That's why I wanted to remove the built in HTC Messages app...not going to use it and it takes up space... Yep just deactivate notifications for builtin Messages app. in settings. you won't get duplicate notifications
Guest teknologist Posted October 25, 2009 Report Posted October 25, 2009 (edited) Just copy the files back to /system/app and you are set. It worked for me. By the way I am not seeing any of the weird issues related here (virtual keyboard gone etc.) I have rebooted several times and the phone is rock solid and very fast with the compache kernel and backing swap. Again I didn't remove anything except Stock/Peep/Wap browser/HTC Mail As far as I can tell HTC Mail can be safely removed, K9 works perfectly for me even with HTC Mail removed as opposed to SMS/MMS Don't remove anyhting else if you don't know what you are doing Edited October 25, 2009 by teknologist
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now