Hi all,
No enhancements, this is just a fix for Launcher2 force-closing whenever you long-press on a widget. More info: http://forum.xda-developers.com/showthread.php?t=613835
I have yet to test it very thoroughly, got to go out soon. To install, do the following:
Code:
adb remount
adb shell rm /system/app/Launcher2.odex
adb push Launcher2.apk /system/app/
apk (unzip and push as per above instructions): http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Launcher2_Fix.zip
update.zip (reboot to recovery and flash): http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Launcher2_Fix_Update_Signed.zip
source: http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Launcher2_Src.zip
Please report if it works or does not work for you.
Special thanks to cyanogen for the tip about PRODUCT_LOCALES and MontAlbert for offering to help!
Update:
240110: Catch some more NullPointerExceptions, as well as added a few more System.gc(). FCs still occur from time to time due to OutOfMemoryError, I doubt I can fix it without spending too much time .
nice work.
Do you have any plans to mod the launcher any more?
Can i put in requests?
1. Folders in Launcher/tab/menu
2. Ability to hide apps
3. Ability to change number of homescreens
basically what rogro and irrenhaus did with advanced launcher.....
thanks mate. If you need help theming it etc let me know....
***edit*** i notice enomther also has a modded launcher in the themes/apps section- not sure if he has a github etc where you can collaborate.... that'd be good...
Wysie said:
Hi all,
FCs are reduced, but not completely gone. The error is no longer NullPointerException but OutOfMemory -_-. will look into it tonight...
Click to expand...
Click to collapse
The out of memory error is half the problem. According to the Android team, "Long pressing a widget just triggers an out of memory error. A solution (unfortunately) is to uninstall a few apps. It's a known issue that will be fixed in a future version of Android." So while I have not tried your fix yet (I will when I get around to pushing it), it "only" solves the NullPointerException problem. For those of us with 200+ apps, or I suppose a very high number of apps, the out of memory error will still occur. I'm still not sure how the number of apps installed has anything to do with it. Shouldn't it have to do with how many apps are running?
My friend is using your fix and says he hasn't had a force close since. However, I think he has less than 100 apps installed on his N1 so will not trigger the out of memory exception. I believe that this is an especial problem for people with a large number of apps. I find the answer given by the Android team member appalling. $575 for a device that, as it is, can't handle that many apps and we are now being told that the limited space is being even further limited.
Thanks for your help. Maybe I will look at the code if I have the time. I'm still working on fixes for my app so it isn't likely.
Actually I doubt it's the number of applications installed, but the number of applications running. I'm currently testing another version (just added more System.gc() actually), and it's able to handle up to 2 4x4 widgets with no FCs. However, when there're 4 of 4x4 widgets, it no longer FCs, but long-press just stops working on them (due the handling the nullpointerexception). In other words, I can safely say that the NPE happens due to OOM (one is a precursor of the other).
In addition, I found out that when viewing a folder, the folder's title and the contents are not aligned -_-. It seems increasingly obvious to me that Nexus One, and in particular, Launcher2, was not tested thoroughly (Polar Clock FCs, etc.). Look at the following screenshot:
I've reported it as an issue: http://code.google.com/p/android/issues/detail?id=6232
i will redo the ninepatch drawables from the apk you have posted in first post mate- cant test it though sorry- my nexus arrives wednesday (Australia day public holiday tuesday)...
Wysie said:
Actually I doubt it's the number of applications installed, but the number of applications running. I'm currently testing another version (just added more System.gc() actually), and it's able to handle up to 2 4x4 widgets with no FCs. However, when there're 4 of 4x4 widgets, it no longer FCs, but long-press just stops working on them (due the handling the nullpointerexception). In other words, I can safely say that the NPE happens due to OOM (one is a precursor of the other).
In addition, I found out that when viewing a folder, the folder's title and the contents are not aligned -_-. It seems increasingly obvious to me that Nexus One, and in particular, Launcher2, was not tested thoroughly (Polar Clock FCs, etc.). Look at the following screenshot:
I've reported it as an issue: http://code.google.com/p/android/issues/detail?id=6232
Click to expand...
Click to collapse
I cannot agree with you more when you say that the new launcher was not tested. It fails at almost everything. I think the Android developer meant to say running apps rather than installed apps.
I am going to keep using Launcher+ for the time being. Thanks for your work on this. It is much appreciated.
here is the Launcher2.apk with the 9patch images hopefully fixed.
try it out and let me know how it goes. i havent tested it as i dont have my nexus yet.
just remove the .zip extension and push the file across.
***edit*** tried to upload here but it kept failing... here is a 4shared link for it...i am sure if it works wysie will upload somewhere else...
Launcher2.apk.zip
MontAlbert: Could you email me the uncompiled images (with the black lines)? thanks!
crap mate- already deleted them- if you want i can redo them....
***edit*** redid them and emailed mate. let me know how they go
MontAlbert: Please do . Thanks!
I've updated it with a version that is more resistant to FCs .
Maybe marginally better
Still getting lots of FCs (some NULL pointer and some Out of Memory)
( ...and I was so excited to see that this most annoying problem might have been solved )
May be slightly less than before the update...
I JUST RESENT YOU THE REPATCHED images (sorry about the caps- work pc has caps on all the time).... if these dont work there must be something in the code that stretches them incorrectly (if i understand ninepatch drawables properly).... i mean, the patch/black lines seem ok when compared with how you do it on G1/Magic, and the patches match up between the top and bottom of launcher (well, they do now) so that means they should be the same.
let me know how this goes. If this doesn't work may be time to hit up the godfather of theming- Stericson.
... no Launcher2.odex found
[[email protected] tools]$ sudo ./adb shell rm /system/app/Launcher2.odex
rm failed for /system/app/Launcher2.odex, No such file or directory
vk2bea said:
[[email protected] tools]$ sudo ./adb shell rm /system/app/Launcher2.odex
rm failed for /system/app/Launcher2.odex, No such file or directory
Click to expand...
Click to collapse
if you have enomther's addon there are no odex files.
MontAlbert said:
if you have enomther's addon there are no odex files.
Click to expand...
Click to collapse
Yes, that's it...
Related
Hi folks,
I have even more customized the Launcher.apk from rogro82.
I implemented some functionality to create folders in the launcher and to move apps from the launcher into these folders.
As the result the "main menu" should be more clear and controllable.
I'm confused by myself. So here's the description: u17 ist still the old version for cupcake releases. There is a standalone and a replacement. Both are for cupcake based builds.
Then there ist v2.0.1. It's the new version. It's for donut based builds. And it's currently only the replacement version, standalone will come.
So don't use v2.0.1 on cupcake based builds (like cyanogen's 4.0.4 stable) and don't use u17 or u17_replacement on donut based builds (like the cyanogen experimental branch).
Ideas:
Code:
- In the app tray launcher give the possibility to group apps and folders so that they are divided by a thin line with the group name
- Fast up the icon loading even more
- More customization options
Installation (Standalone Version)
Just install the AdvancedLauncher as every other app - It's a "real" home replacement now.
Installation (Replacement Version)
- Plug your USB cable into the phone and your computer
- Make a backup of your original launcher: "adb pull /system/app/Launcher.apk LauncherBAK.apk"
- Remount the /system filesystem: "adb remount"
- Unzip the advanced launcher "unzip Launcher_update_x.zip"
- Push the advanced launcher "adb push AdvancedLauncher_replacement.apk /system/app/Launcher.apk"
- Remove the odex file "adb rm /system/app/Launcher.odex"
- Reboot your phone.
Reverting the installation after making a backup (Replacement Version)
- Remount the /system file system: "adb remount"
- Push your backup: "adb push LauncherBAK.apk /system/app/Launcher.apk"
- Reboot your phone.
Misc things
- Themed Version from overground - Thanks a lot and keep this work up ^^ [v2.1 replacement][Hero-Themed]
- Themed Version for XROM also from overground [v2.1 replacement]
----------------------------------------------------------------------------------------------------------------------------------------------
v2.1 - 25.09
- Readded the standalone version
- Added possibility to disable titles for desktop icons
- Some more I forgot about
v2.0.1 - 16.09
- Fixed hiding from tray launcher
v2.0 - 16.09
- Changed the version numbering xD
- Rebased on Donut
- Added Home-Screen-Full-Bug-Fix (xD) from xidominicanoix
- Back button now closes the submenus
- Added the sensless possibility to configure the count of columns of the tray launcher
- Added the sensless possibility to disable the app names in the tray launcher (if disabled, only the icons are shown)
This works on the CM experimental branches ^^ - Well, it should...
Only the replacement version for this time, sorry about that. The standalone will come soon.
Update 17 - 02.09
It's just a very small update.
- Fixed the shortcut-delete-bug when pushing the replacement version
- Added the possibility to add custom wallpapers for our themers
So there's no need to upgrade for all those who has update 16 installed
Update whatever xD
- Added replacement version from u16. Testet on cm4.0.4
Update 16 - 31.08
- Fixed "drop-beside-folder" crash
- Added possibility for backup/restore of settings/submenu data
- For all themers: Resigning and installing should now work, sorry for that.
If you can't install or anything please post logcats of the process Thank you all.
Update 15 - 30.08
Warning: This version is the first which is a "real" home replacement. This means it can be installed like any other app and you can choose between the original launcher and the advanced launcher. This also means the package name has changed which causes your configuration data to be invalid.
You can "import" you configuration data by copying it into the new folder:
Code:
cp /data/data/com.android.launcher/shared_prefs/extendedlauncher.xml /data/data/com.irrenhaus.advancedlauncher/shared_prefs/
cp /data/data/com.android.launcher/databases/extendeddrawer.sqlite /data/data/com.irrenhaus.advancedlauncher/databases/
cp /data/data/com.android.launcher/databases/extendedsensor.sqlite /data/data/com.irrenhaus.advancedlauncher/databases/
cp /data/data/com.android.launcher/databases/submenu.sqlite /data/data/com.irrenhaus.advancedlauncher/databases/
cp /data/data/com.android.launcher/databases/extendedhome.sqlite /data/data/com.irrenhaus.advancedlauncher/databases/
cp /data/data/com.android.launcher/databases/launcher.db /data/data/com.irrenhaus.advancedlauncher/databases/launcher.db
- Fixed the "cannot-add"-bug
- Fixed the "same-name"-bug
- Removed submenu settings
- Submenu handling is now done fully by drag and drop (Drop a folder from the launcher into the delete zone to delete it. In the menu there is a create submenu button. Long press close button of a submenu to rename it.)
- Added choice dialog when dropping an app icon from the launcher or a submenu onto the delete zone (Default action [hide, mvoe to main menu] or uninstall) so the apps can be uninstalled easier
- Added the possibility to create shortcuts to the submenus onto the home screen
- Hiding & Unhiding apps is now faster
- A few other things I can't remember
Update 14 - 24.08
- Well, no bug fixes, sry. u14 is u13 - but on CM 4.0.2
Update 13 - 14.08
- Fixed the "'" bug
- The only times when the app list is reloaded now is the startup and when you quit the settings dialog, so when you move apps using drag and drop the list is immediately updated. The whole thing is faster now.
The source can be found at my git repository
Have fun with it
whoa very nice gonna follow this development =D
nicee i really like where this is going. having ability for folders within the drawer and putting apps within those folders is AWESOME! subscribed. can we hope for one to come to the jac hero roms? haha
im assuming this is built off of rogro82's launcher mod right?
with this launcher are we able to choice how many screens we want? If so what needs to happen to get this to Hero so we can have only 3 screens while using Touch?
Wow, this will be very useful when done. I hope this gets into a nice theme too.
I would like to have something like this with the other launcher that can hide the icons. Best of both worlds, being able to hide stuff completely (ie widget icons) but also manage the apps you dont want hidden.
Good work
advanced features
Looks really good so far!
I think if you could add a feature that popped up a context menu when you pick up an icon and drop it. (like dxtop) Its way more convenient and 90% of the reason that I use dxtop. Uninstalling programs and finding them in the market takes a tenth of the time.
Please consider trying it, IMO, It would put this launcher over the top!
Amazing. I've been waiting for exactly this since day one of apps2sd. I cant wait till its ready. I'd love to beta test for you if your looking. otherwise, i'll just have the wait patiently.
Nice nice nice! Just yesterday I was thinking about this feature ;D
Very nice idea! I would love to hide all the useless crap in my main menu Like the themes and icon packs I have installed... or the default apps that I never use (google chat, amazon MP3, email, netcounter, Terminal, twidgit (it's a widget...), voice dialer, voice search )
Any way I can port this to Magic's cyanogen 3.6.8?
Well, the Launcher is based on the one out of the repositories from cyanogen. This launcher is the one from rogro82 with my patch to close folders when an app is started out of it.
At this point I just have customized it more so thanks to rogro82 you can completely hide apps AND create subfolders.
I really don't know on which mods it will run 'cause I ever used cyanogen's...
But when its ready, we will know for shure
I haven't tested this code yet.. Is it ready? Let me know and I'll pull from you.
Not yet ready but I am close to it ^^ I'll let you know
irrenhaus said:
Not yet ready but I am close to it ^^ I'll let you know
Click to expand...
Click to collapse
I pulled it into my tree just to keep up.. Looking promising.
great job on the updates still following your progress =D
Draxter said:
Very nice idea! I would love to hide all the useless crap in my main menu Like the themes and icon packs I have installed... or the default apps that I never use (google chat, amazon MP3, email, netcounter, Terminal, twidgit (it's a widget...), voice dialer, voice search )
Any way I can port this to Magic's cyanogen 3.6.8?
Click to expand...
Click to collapse
you never use Terminal!! wow, also u can delete amazon mp3, remount system as read/write and rm the amazon.apk from /system/app folder i wouldnt do that for email or google chat though
Looks really great. But what about performace?
Im also going to pull your code, so that we are on the same level again... Are you working on other features at the moment?
Im thinking about a setting to show the active homescreen number.
Too bad we cant use one thread so that this board doesnt get flooded with changes and will get hard to keep up with by users. Maybe we should setup a "shared" thread and use something like a google project to have a shared base. I dont know how you think about this.
Hi, i think your job is all we was wating , folders into menu! It's fast.
Thanks.
BR.
Tiny Hero
Many, many thanks to both Enomther and akirah. This is mostly their work that I took and mashed together to make this build work. They're both easily the most helpful guys in the community (and they do reply to PMs!)
Change log in post #2 (I have to use it for something)
What is this?
This is a Hero Build that fits completely on the system partition of Haykuro's special SPL. Nothing is written to data, nothing is written to app_s. There's no official support for a2sd (although you can download the app from the market and use it, it should work fine). It does compcache with backing swap in your linux-swap partition by default if you have a third partition.
What's different about all other Hero builds?
This build was put together with one goal in mind; having as full a Hero experience without requiring/using a2sd or usage of the data partition.
This build doesn't require you to have an apps2sd partition set up, or a swap partition, though swap is recomended for aggressive use of the build.
What does this build require?
All this build requires is the newest radio and haykuro's SPL ("new spl"). I put in a lot of things in the system partition, though you still have about 1 MB free for you to play with.
What's missing in this build?
Due to size constraints, I had to do away with some things (not a lot though), compromise with other things, and add other things. Here's a short list:
-Bluetooth doesn't work on any hero build, move on...
-Footprints. Really.... Do you use it?.... Anyway, requires a lot of space... no thanks.
-PDF Reader. I removed PDF Reader because of the size of the library required to run it. I won't be adding that library because it's too big.
-Java. I didn't want to remove this, but the app and libs are much too big to justify.
-Stocks app and widget
-Weather app and widget. They're much, much too big and nothing but eye candy. if you really need a weather widget, there's several free small ones in the market. I also removed them because I the Clock widget doesn't seem to work right at displaying weather info anyway, so having the apps or not didn't make a difference that way.
-Maps. Big app. I removed it because you can download it from the market, and you can upgrade it later on.
-Wifi Tether. It's not included in this build so you can upgrade it, when it's part of /system, upgrade fails. Plus, I wanted to give you the choice to have it. It does work.
-Alarms, Notifications, and Ringtones. Only left one of each for size. Sorry.
What's included in this build?
I'm pleased to announce that this newer build is much, much better than the old beta I had made before (and that had been understandably ignored by pretty much everyone) here's what's still in the build:
-Flash Player. Yay!!!!. A build under 87 MB (original build, 89 MB with rev1) with full flash support, both in the browser and as streaming video. It's a resoruce hog, though, so use with care (you can disable plugins in the browser settings to deal with this). Note though, because I didn't test, original build and rev1 dont support flash. It was a simple issue, but rev2 is the same as the other two but much, much better. Instead of me uploading the previous two builds with flash working, i recomend you install the newest build instead.
-Social Networking. It's all there and they all work as you'd expect them to. Facebook, Twitter, Flickr, even Plurk. It's also got Plurk's and Twitter's widgets.
-Widgets!!!!!. This build has the HTC Bookmarks, Calendar, Clock, Mail, Messages, Music, People, Photo Album and Photo Frame, Plurk, Search, Settings, and Twitter Widgets. Short of Stocks and Weather, that's all of them!!!
-HTC_IME!!!!!. I made it fit!!!!! Latin_IME was removed because HTC_IME is so much better. I kept a replacement, though, CN Thai Keyboard, it's a very, very very light app (20k) that doesn't require any libraries, being 50 times smaller than Latin_IME (with libs), the choice was obvious.
-HTC Music, MMS, and Lockscreen. I've included these three in the same category because the Lockscreen brings them together. When playing with HTC music and you lock your phone, you can use the lockscreen controls, you also get MMS previews at the lockscreen.
-Quickoffice. Added it back to the build. If HTC includes it, then I guess it's ok.
-HTC World Clock
-HTC Camera and albums. I would have included Google's camera, because it's a 5 MB savings and it works exactly the same, but then that would have broken the ability to add wallpapers for home and lockscreen and I wasn't going to have that... by the way....
-PC Sync. I made this rom with this goal in mind; Nothing force-closes. Other hero roms you have to be careful not to click, say, Plurk during HTC Setup or PC Sync at settings because they're removed. I wanted to give you the freedom to click anything on this rom with the guarantee that it wouldn't force close, so I included all required apps by all the possibly clickable things available in the build.
-Market. No market problems here. Test it though and let me know.
Recomendations
-Use Sense (pun intended). Your HTC Dream has less memory than HTC Hero. Swap should never be considered to be real memory (it's not). I recomend that, if you use Rosie, populate only 3, max 5 screens. A lot of widgets slow the Launcher down, eat up memory, and you end up dropping processes a lot more than you should.
-Install OverclockWidget. This rom is not overclocked (mostly, because I've no idea yet how to set it to 528mhz by default, plus for battery reasons), and OverclockWidget gives you good control over your settings. It's a free market app, so there's no reason not to get it.
-Enable linux-swap if you have a class 6 card. Again, swap should never be considered working memory (because it's not) but having a bigger swap file means less processes are lost (since they're dumped to the swap file when physical memory is full and needed). If you don't use linux swap, the rom reverts to compcache only (without backing swap) with 32 MB of compcache and a swappiness of 0 (this seems to prevent Rosie re-loads). If you don't have a class 6 card, you can still use backing-swap if you have a third partition, though doing many things simultaneously (like playing music while on the browser) will slow your phone down and have music skips.
-Reboot your phone nightly (per charge). This clears swap and ram and gives your device that fresh feeling every time.
-Donate to devs. The pioneer devs deserve it. They don't run on hopes and dreams and without them, your device wouldn't be better than what you originally bought.
Click to expand...
Click to collapse
Flash the rom the usual way. Again, make sure you have Haykuro's Radio and SPL (install radio first). First boot takes a while (sorry, I tried making an odexed version with 89 MB free on first boot, but it adds about 20 MB to system and that's just unacceptable, I'd lose too many apps. Maybe I'll try later for giggles.). After it's done dexopting, the HTC Setup wizard takes a while to start (this is the same on all 2.x hero versions). I tried to fix this by using Google's setup instead, but for some reason it made the build lose support for SD Card and media, so HTC Setup stays.
Here's the download link for the roms:
Tiny Hero (rev2)
MD5SUM: 1836c45daecbf2cd41c63b9cdf0e5877
Tiny Hero (rev1)
MD5SUM: f9cfe8784c5c5289d3a4d1a17aad9ec1
ROM: Tiny Hero Original
MD5SUM: 012fd4c8ec1a78450c3dc08b1f577f7b
Lastly, this rom is provided as is. It's your responsibility if you want to flash it. Any damages are your own fault. I reserve the right to support this rom from requests, and I don't plan on having a regular update schedule. This is just here for people to play with and see if they like it, or for devs to take it and maybe make it better. In case of thermonuclear warfare, wipe your phone and install Cyanogen's instead.
Credit goes to HTC for making the Hero build, Enomther (boot.img, expinit script, and the knowledge to make it all work. This is one of the most helpful guys in the community, so donate to him), Tehseano(Alarm clock skin and several skins in the google launcher), Akirah and Jac (2.83.x.x build and akirah's libs to make it work on the G1), Manup and Ted (skins for music and search widgets), Cyanogen (I believe parts of the included scripts are his ideas) and whoever else's work is in one way or another in this build, if I missed you, PM me, tell me what you did, and I'll add it. I did not make this, I merely put it together and made it work.
Change log
=jmHero.zip=
-Initial Release
-No Support for HTC_IME
-Missing StreetView
-Only one alarm, notification, and ringtone
-Expinit enables only compcache with 40 swappiness by default, no linux-swap (it's supported, but not enabled by the script)
=jmHerov1r1b0.zip= ~Because version numbers matter~
v1 means version 1 (same version as initial release)
r1 means revision 1 (added HTC_IME support and Streetview)
b0 means bugfix 0 (didn't fix anything, sorry)
-Added HTC_IME support:
-libt9.so in /system/lib
-Clicker.apk in /system/app
-push it back through adb to /data/app (pull it from another build)
-Added StreetView.apk so you can use StreetView (sorry, I overlooked in initial release)
-Added all notification and alarm sounds
-Modified the expinit script, swappiness is now more agressive (40), compcache size is now "real" 32 mb (32,768 kb up from 32,000 kb), and linux-swap is now enabled by default if a third partition is present
=jmHerov1r2b0.zip= ~Fit, damn it, fit!~
-Removed AlarmClock as HTC World Clock and Widgets are now included (along with all 12 clocks)
-Added CNSoftKeyboard to replace Latin_IME as an input option. It's much, much smaller.
-Added HTC_IME as standard keyboard
-Added Terminal Emulator
-Added Weather Provider and Location Picker, necessary for HTC World Clock and Widget
-Added HTC Photo Widget, this came from the beta version of hero because the newest one wouldn't work without some big libs I removed. It works fine, but no animations.
-Added Quickoffice
-Added HTC Search Widget
-Added /clockwidget/ and /lockscreen/land/ folders in /etc to enable the additional 7 clocks and landscape lockscreen wallpaper
-Added WP_0409WWE.db to /etc, this is basically the City list you get in Location Picker
-Replaced fonts with a smaller (per byte) set
-Replaced libicudata.so in /lib with a smaller one from ADP 1.5. This lib controls video compression for the camera, and it seems to work just fine, plus it's 2 MB smaller than the hero one.
-Removed akmk8973, bts, ssd_bma150_usr, and zcghd in /bin. bts is used for controling bluetooth aspects of the build, but bluetooth doesn't work, so i removed it (and it was big, 1 MB). The other three, I have no idea what they do, but nothing broke afterwards, so they stay off.
-Removed Hero and Sapphire hardware libraries, this is a Dream build.
-Removed alarms and notifications that I had uploaded in previous build, did this for size (though I'm still debating which was better, having all 7 clocks, or all notifications and alarms). Kept only one of each.
-Removed keyboards and keyboard layouts for non-english non-qwerty keyboards. Sorry, somebody else can work them back into another build.
-Modified expinit script to enable either standalone compcache or compcache with backing swap and adjust the swappiness depending on expected usage. I also included a call for a2sd, though I didn't include an a2sd script because I couldn't make one that worked. If somebody wishes to work on this, all you need to do is have an a2sd script in /system/bin, and expinit will automatically call it. DONT USE EXISTING SCRIPTS, they don't work and they'll break whatever you have in your second partition.
Wow never thought that this could b done gonna test it now
I'll look at it in some time
POST FROM OLDER BUILD, IGNORE
Please have a look at Market downloads if all works. I might have to add some things to build.prop and update-script. I made a build of this same one but for my own use (added all my backed-up apks to /data/app inside the update.zip) and market won't work, but I remember it working on the original one I had made. I don't know if it's broken on this one, and I'll be sleeping soon and then working so I won't be able to flash again until tomorrow and I want to know if I have to fix Market.
---Edit---
Tested this myself. Market works (don't know about paid apps, never bought anything). When I downloaded from the market on my other build it would give me an error saying there was no space left anymore, when I had a full 48mb left. My guess is that I have to set up persmissions for data/app in update-script to fix this.
jubeh said:
Please have a look Weat Market downloads if all works. I might have to add some things to build.prop and update-script. I made a build of this same one but for my own use (added all my backed-up apks to /data/app inside the update.zip) and market won't work, but I remember it working on the original one I had made. I don't know if it's broken on this one, and I'll be sleeping soon and then working so I won't be able to flash again until tomorrow and I want to know if I have to fix Market.
---Edit---
Tested this myself. Market works (don't know about paid apps, never bought anything). When I downloaded from the market on my other build it would give me an error saying there was no space left anymore, when I had a full 48mb left. My guess is that I have to set up persmissions for data/app in update-script to fix this.
Click to expand...
Click to collapse
Ok i test it and it runs good but u need app2sd method so it can run faster and fix the lockscr
Lockscreen to put a wallpaper and fix the appdrawer to move the apps upand down and other than that good job great work on ur hero
This seems like it has potiential to have a really fast responsive Rosie !
Awesome work and I look forward to the newer more stable builds.
POST FROM OLDER BUILD, IGNORE
thanks to barakinflorida, I might have a solution for the lockscreen (different boot.img). I'll try it and see if it doesn't break anything else.
ive been trying to do this with the newest release, but no luck so far, cant get it to boot once i get it small enough and some reason not getting any log cat to say where im goin wrong, downloading urs to try now and might try some optimizing on that instead if thats ok with u
RaiderX303 said:
ive been trying to do this with the newest release, but no luck so far, cant get it to boot once i get it small enough and some reason not getting any log cat to say where im goin wrong, downloading urs to try now and might try some optimizing on that instead if thats ok with u
Click to expand...
Click to collapse
you need a custom build.prop so it can boot!
POST FROM OLDER BUILD, IGNORE
Removing busybox helps a lot, but then you lose things like a2sd, and other things. With this build you won't have any space left in system to play around with, but feel free to improve it. I want people to do that.
I'll actually start working on a build using what I learned from this one but based on Jac and Drizzy's hero. If I'm right, I should have 87mb free in data w/o a2sd on first boot.
I dont c contacts(people or dialer) in my app tray ...wht to do ?
POST FROM OLDER BUILD, IGNORE
Daneshm90 said:
I dont c contacts(people or dialer) in my app tray ...wht to do ?
Click to expand...
Click to collapse
Reboot the phone. If that doesn't work, wipe and flash again. Make sure you have the correct SPL (it should throw an error during installation if you don't because system will run out of space quickly).
I've been thinking that there might be slight differences in partitions, some people might have a few kb less than others. I'll try to re-work the build with a 5 mb headroom for error.
I'm at work, so it'll take a day maybe.
---edit---
Ok, weird bug. This happened to me too. I lost the AlarmClock.apk, but it's still in there. I seem to be losing space in /system, so I do think I crammed too much in there. I'll check some more, but for now, restore your nandroid backups, this build is as of now unstable.
POST FROM OLDER BUILD, IGNORE
Ok, the problem is not too severe. I did use a lot more space than I should have in /system, and that's why the app lossage is happening. Unfortunately, it seems you don't have a say which apps you lose, like Daneshm, you might lose a system critical one like the phone. I'll re-work it down to ~85 MB and put it up again. Right now I'm at work checking the forum from my phone, so I can't work the fix, but I'll be home at around 5 AM East Time, so maybe I'll test a slimmer build and put it up (sorry guys, we might lose Twitter)...
im gonna work on getting this to work with a2sd and the stock spl
RaiderX303 said:
im gonna work on getting this to work with a2sd and the stock spl
Click to expand...
Click to collapse
Shouldn't be too hard. I think the system is about 60 mb with app removed, so moving that to app_s and symlinking it would certainly make it work with a2sd, but my original intent was to not use a2sd at all. I like being able to hot-swap my memory card.
I'm home now, so I'll work on a different idea I had. I won't promise anything though.
ok im uploading a version for stock spl now, it still doesnt use a2sd but im working on adding that if needed
pdf reader
I noticed you are hanging on to PDF viewer .... Small app LARGE lib...
2.5 Meg combined... first thing to axe ;-)
libpdfreader.so 2.4m
POST FROM OLDER BUILD, IGNORE
how big is the stock spl?
Yeah. I know about flash reader, but some people like it. What I think I'll do later on is add it instead to /data/app along with Quickoffice and Big fat HTC_IME
POST FROM OLDER BUILD, IGNORE
I haven't been able to replicate the problem with the disappearing apps yet, plus I'm working on another project (the tiny hero based on the new releases). I'm also thinking I'll remove the Lockscreen and fix the hero beta one (it's completely transparent) instead. The lockscreen lags, and without the HTC music app, it's also kind of useless
After taking a look at the Google apps download that matches up with Cyanogenmod 5.0.x, I found that with using a modified version of daneshm's apk manager script and doing some .PNG optimization I could shrink the total size it takes up on /system/app by about 2.7MB. Some apps also appear to load a bit faster (such as marketplace). I have tested this with no ill effects so far and thought it might be handy for those who for whatever reason are running low on /system space.
(Note, the zip file itself is not much smaller than the original because the original could be compressed further because it wasn't optimized)
Without further ado:
http://www.megaupload.com/?d=C6FVMRHM
[edit]
I know that this may belong in the app section, but as the Google apps are sort of an essential part of Cyanogen's ROM, I thought this section was more appropriate.
Good ****. This will also help even more for those using firerats patch and running cm5 on non-danger device which puts gapps on /data. Ill let you know how it effects them when I update my friends g1 (I'm on death spl)
now can i flash it on top of my already installed (superE + GApps)?
truemagic said:
now can i flash it on top of my already installed (superE + GApps)?
Click to expand...
Click to collapse
yeah, can we flash this on top of what we have already?
you should be able to flash this right on top of what you have already without any issues. Let me know if you run into any problems with it.
anomalous3 said:
you should be able to flash this right on top of what you have already without any issues. Let me know if you run into any problems with it.
Click to expand...
Click to collapse
question, this will probably replace what icons we have now correct?
smjfosho said:
question, this will probably replace what icons we have now correct?
Click to expand...
Click to collapse
If you have themed icons you will have to re-theme them and that may undo some of the optimization. A lot of themers, however, are pretty good about optimizing the images they replace already. If you're talking about just their location on the desktop, yeah, you will probably need to re-add any apps that you have on your desktop.
anomalous3 said:
If you have themed icons you will have to re-theme them and that may undo some of the optimization. A lot of themers, however, are pretty good about optimizing the images they replace already. If you're talking about just their location on the desktop, yeah, you will probably need to re-add any apps that you have on your desktop.
Click to expand...
Click to collapse
oh ok thank you
update: flashed it, and i must say, things open speedier, good job, and my icons are still the same....
Very nice! Every free megabyte of internal memory counts with the G1, just incase future ROMs grow bigger
Great stuff..It released just over 2MB
i still have 47mb used
testing right now on a mytouch, and everything ok, so far....
jj71787 said:
i still have 47mb used
Click to expand...
Click to collapse
That isn't your /system memory lol
Goto terminal and type df and look for /system
By the way fantastic job on this, thanks a lot for posting.
Thank you very much for providing the optimized gapps
2 quick questions
1) how exactly do you do the optimization? If there's some post about it on xda, mind pointing me to it?
2) I checked you updater-script, and it's removing /system/app/GoogleSearch.apk and /system/app/Provision.apk. Is this intentional? If yes, the rational behind it?
I just applied your optimized gapps on top of CM5.0.8 test4. I can't say how speedier it is compare to stock test4, because I never run test4 stock
To optimize apks you must compress the png's inside them. .9.pngs dont like being compressed so ignore those. Compression can occur in 2 ways, reducing resolution or reducing color depth. I recently incorporated *batch* apk optimization in my script so if you are new to the concept take a look at the script and see how it works
Script
I just use optipng program for any images(in png format of course)
animefans said:
Thank you very much for providing the optimized gapps
2 quick questions
1) how exactly do you do the optimization? If there's some post about it on xda, mind pointing me to it?
2) I checked you updater-script, and it's removing /system/app/GoogleSearch.apk and /system/app/Provision.apk. Is this intentional? If yes, the rational behind it?
I just applied your optimized gapps on top of CM5.0.8 test4. I can't say how speedier it is compare to stock test4, because I never run test4 stock
Click to expand...
Click to collapse
1. I actually used a modified version of Daneshm's apk manager script (I should've given credit where credit was due earlier, thanks Danesh) to compress the .PNGs. I updated the OP to reflect this.
2. I also just unpackaged the original gapps updated.zip, optimized the the .PNGs in those packages that would accept them, repackaged, and resigned.
It's possible that I used an older version of the gapps zip that is lacking those packages. Alternately, it's possible that Cyanogen's build includes those 2 packages in lieu of the full complement of Google apps for legal reasons and that they are not necessary when the full Google apps are installed.
do you suppose it would save much space to optimize the .9s too? It would be a hassle, optimizing them as .pngs then redefining them with draw9patch, but if it would save another few mbs maybe it would be worth it? I might get around to it after I finish the theme i'm working on for my wife (seemed there wasn't any good pink option for a theme, ice crystals was a bit bright, so im making a softer one for her.)
nice gave me ~2mb system space thank you
hmm is this normal? i´ve got about 88% used of my system memory..? i´m currently running supereclair with apps2sd compcache and so on..
alutastisch said:
nice gave me ~2mb system space thank you
hmm is this normal? i´ve got about 88% used of my system memory..? i´m currently running supereclair with apps2sd compcache and so on..
Click to expand...
Click to collapse
That does seem like an unusually large amount of free space.On a my touch running cm 5.0.8 plus a bunch of stuff opted (not just gapps) I only have 9mb free on /system. I also deleted adw launcher. Also which version of super eclair are you running?
[highlight]Mod Edit: This thread has been closed as per the OP's request. Please refer to the last post of this thread for more information.[/highlight]
http://buildbot.teamdouche.net/nightly/bravo
Those above are nightly build from cyanogenmod bravo vendor, codename for our dear HTC Desire
Starting from 08/07/2010, CM6 for Desire is built against latest RADIO features, so please don't report bugs / issue here, neither in Cyanogenmod's forum, if you are still using an obsolete RADIO package.
Newest official radio package ( 32.44.00.32U_5.09.05.30_2 ) is recommended.
* For Orange users: using latest RADIO can cause your device to became SIM-locked again, beware. Go unlocking your device or stay with obsolete radios, that's your choice. *
There are no Google Apps bundled with CM ROMs, because Google asked Cyanogen to remove copyrighted apps from his roms, but you can find Google ****s HERE.
Flash this package on the recovery after flashing the ROM, and you will get these applications / services.
Dalvik suggested heap is 24 Mb, please revert it to 24 if different and reboot, 32 causes issues with some apps.
What it is working good:
3D works (tested with Google Earth, NP)
No white noise and echo
Adobe Flash is available in market & working, test done with http://m.flash.com
Latest SuperUser APP + Root is present, perfectly working (tested with "su" inside Terminal emulator)
Chrome to Phone (if not on Market, check HERE)
Exchange administrator features
Cyanogenmod Enhancement / Settings:
Froyo a2sd setting, force application to SD / Internal mem / manually move
Modify Aptic feedback
Player control during lock screen
Trackball / Menu Wake / unlock
Render effect with color calibration
Fully customizable levels for brightness / autobrightness
Status bar / Notify bar colours customization
90 / 180 / 270 rotation
Fully manual settings for audio attenuation when call is received
"Tap to focus" feature in Photo Application (Sense-like)
Bug tested by me, with cm_bravo-08242010-005229.zip, after a complete wipe:
Goggles FC
Video Camcorder FC
Gallery 3D is oversaturated, and too much contrast! Red color is killing my eyes!
Gallery 3D have some "ghost" empty spaces between folders, and it FC sometimes after a new wallpaper is set (usually in landscape mode)
YouTube HD Videos and MP4 have purple bar FIXED with latest radio
autobrightness works, but it doesn't scale brightness down until screen is turned off fixed with latest builds, use "light attenuation" inside CM Settings, User Interface, brightness settings
Buttons backlight not working
No Facebook Sync flash latest google parts or just update from the market
Twitter sync actually appears under "Accounts & Sync", but there is an error with syncing your contacts with Twitter status & pictures
No LED notifications
Tested from users on XDA:
white noise, echo during call
Trackpad occasionally dies (can you check, when your trackpad is dead, if your headset works? )
Bluetooth A2DP issues (stereo headset, car kit, ... ) (should be resolved with nightly > 28/07, please check
VPN issues
"java.io.IOException: Permission denied" in logcat when trying to export colors to XML in CyanogenMod settings
Screenshots
TO BE UPDATED
Other addictions:
- Black bar / notify bar, no flashing required. Just place it in the root folder of your micro SD, apply from Cyanogenmod Settings / User Interface / Extra modifications / Import from XML, and reboot. Just get the XML HERE
- Custom backup for A2SD (so you don't have to flash it on every nightly): HERE
- Re-adding Launcher 2: HERE
- Segoe Windows Phone N Fonts: HERE
- iPhone4 look-alike Fonts: HERE
- hosts update 15 July for removing ads / banners: HERE
FINAL ADDENDUM:
- A2SD, flash THIS just after ROM. Download some info application, check free space. Run:
Code:
su
a2sd install
In Terminal emulator.
After reboot, check free space.
Install some app: space shouldn't decrease very fast.
If it decrease a lot, something is not working.
Run:
Code:
su
a2sd check
for checking which is the matter.
Usually
Code:
su
a2sd repair
will be able to repair an old A2SD installation, and
Code:
su
a2sd cachesd
will force the dalvik-cache on SD. Very useful, if you ask me.
Please report non-mentioned bugs in this thread with a SIZE 7 RED TEXT, so I can see it better (I'm short sighted ) !
Thank you
Addendum:
Copied over from the other thread!
Camcorder force closes, dialler works, and wifi works. Light sensor seems fine to me too.
Click to expand...
Click to collapse
Browser is fine, but no G-Apps, therefore no contacts sync. etc.
its about as bare as a ROM can get ha ha
Nekromantik said:
its about as bare as a ROM can get ha ha
Click to expand...
Click to collapse
Here is a link to the G Apps. Got it from defer on irc.
http://kanged.net/mirror/gapps/gapps-passion-FRF91-signed.zip
Nekromantik said:
its about as bare as a ROM can get ha ha
Click to expand...
Click to collapse
It's not laziness... Cyanogen is quite a big person in the scene
http://androidandme.com/2009/09/news/google-responds-to-cyanogenmod-controversy/
gatsu_1981 said:
It's not laziness... Cyanogen is quite a big person in the scene
http://androidandme.com/2009/09/news/google-responds-to-cyanogenmod-controversy/
Click to expand...
Click to collapse
Never said it was lazy
its not a final build so I know there will be things missing
Nekromantik said:
Never said it was lazy
its not a final build so I know there will be things missing
Click to expand...
Click to collapse
Nope, with cyanogenmod you will never find google apps, even in final builds. You will always have to flash them apart
Once you put gapps on it makes it look more like the phone we know again. lol
Edit: F/B sync doesn't work, and the led turns Green at 90% charge.
gatsu_1981 said:
Nope, with cyanogenmod you will never find google apps, even in final builds. You will always have to flash them apart
Click to expand...
Click to collapse
Ah right
Didnt know that lol
socktug said:
Once you put gapps on it makes it look more like the phone we know again. lol
Click to expand...
Click to collapse
ha ha
yeah
So whats different with Cyanogenmod 6 to 5?
socktug said:
Once you put gapps on it makes it look more like the phone we know again. lol
Click to expand...
Click to collapse
Just flashed the package, will test them as soon as it boots. Until now only video recording is broken.
nvm. 10charlimit.
If someone has been experiencing echo/white noise with Froyo roms previously, can they report whether they are finding this occurring with this please?
Automatic brightness is sort of broken: you have it to tinker a little with it to make it working.
When it works, it only goes up automatically: you have to make the device sleep to make brightness go down again.
A2SD legacy way (trasparent to OS) is not activated: I automatically let it download my apps, and when it finished, I had 30 megs free.
I will try to break my installation now, just trying tremor a2sd script
Don't try it, it won't work (still... I'm reporting everything to the tremor thread).
gatsu_1981 said:
Automatic brightness is sort of broken: you have it to tinker a little with it to make it working.
When it works, it only goes up automatically: you have to make the device sleep to make brightness go down again.
A2SD legacy way (trasparent to OS) is not activated: I automatically let it download my apps, and when it finished, I had 30 megs free.
I will try to break my installation now, just trying tremor a2sd script
Click to expand...
Click to collapse
Yeah I just seen on the CM forums that they deciding how to do the A2SD, they trying to do both old skool and froyo. Probs wont be in the nightly builds.
Nekromantik said:
Yeah I just seen on the CM forums that they deciding how to do the A2SD, they trying to do both old skool and froyo. Probs wont be in the nightly builds.
Click to expand...
Click to collapse
That's quite clever: most phones, even high end (Nexus one or our Desire) actually have a very pooooo 512 flash memory.
Instead, everyone can get a 4/8 GB Class 6 SDHC memory for not more than 20/30 EUR.
It would be stupid to still leave everything on ROM...
Froyo-way A2SD is just the starting, and it would be good only for GB devices owners that doesn't want too give away too much space for games!!!!
Testing 07 / 07 build
How is the rom? Is it fast/smooth? How is the 3D performance & animations?
I haven't used CM since my HTC Magic so a little review will be good
the KING of custom rom's cyanogenMOD is Back
Can't wait to install this on my Desire
Hardly waiting for Cyanogen MOD 6.
Want to use a original ROM of him since i testet a port on the Hero =)
Cyanogen u do it =)
YES!!!
Woken up to expect froyo sense...
And I get cm. THis is truely a good time to have a desire.
Full Root next maybe?
is this official?
no mention on benocharms twitter or cyanogens...
Trailblazer101's Custom Framework Maker v6
Now with my batch program, creating your own personalized Framework is as simple as 1.2.3!
This batch created by me was created with the "noob" in mind.. Of course this "noob" must already have Java installed, and should have ADB set up correctly
Features:
- Easy-To-Use Framework Chooser (with support for your own framework!)
- Softkey Themer (with easy access to create your own!)
- Custom Softkey Mapping Support (Nexus S included, easy to create and add your own!)
- 1.2.3 Package Creating (and Pushing/Rebooting into Recovery too!*)
- Unique Ticker Clock Color Selection (type in whatever color you can think of!*)
-Weather Icon and/or History Button Removal! (Actually removes the Icons, not just blanks them over!)
-Drag-and-Drop Functionality! (Includes all the tasks that you will ever want to do with an *.apk or *.jar)
-Automatically Checks for Updates! (Warns you if there in an update, displays text about the update, and opens up your browser to this page )
-Option to Set my Program as the Default Action for APKs and/or JARs! (So when you click on an APK and/or JAR, it'll open up my program!)
-Lots of Extras and Bugfixes! (Check it out!)
Developer's Mode! (You can find the option to enable it in Extras -> Program Settings!)
Future Proof! and Bug fixes (The method it now uses to set the Ticker Modifications works no matter what is going on with your Standbymode.xml file!)
Ability to Change Pressed Clock Color!* (You must be on a ROM that supports this to notice any changes...)
NEW: Compatibility with Gingerbread Mods!
NEW: Shows History in the choose file screen!
NEW: Set Update Settings from Program!
The function of this Program to create a new, all your own, Flashable Package that has your own personal touch to it
The wonderful thing about this program is that you can use this with any old framework-res file from any rom/mod package! This means that you can create your own themed framework from DJ20 up to EC07
There are only two stipulations: 1) that you are running a deodexed rom, which means that there are no .odex files located withing the system/framework folder or system/app folder... If you are in doubt about this, a stock rom straight from the store will NOT work! But pretty much any rom found on this website works 2) You have Java installed, and should have ADB properly set up!
Now, let's get down to specific details about the different functions and terminology:
1) Towards the top of the main page is very important! This is an easy view of what settings you currently have applied Always keep an eye out on this, to make sure that you have selected everything that you want to select!
2) Default= Not Changed... Whatever the previous framework had, this option will allow the new framework to have it too... This includes history button/weather icon removal!
This Just In: Add your own Color to the Ticker Clock! This is still in beta stages, so be careful when changing the color... If you see any error messages, DON'T ATTEMPT FLASHING THE PACKAGE... But if it works for you, you have the easy and convenient ability to set any color you want for the Clock in a matter of seconds!
Also, You can now remove the Ticker Buttons on the main screen automatically, within seconds! And the icons are removed, not just covered up!
A new feature recently added was the option for custom Softkey Mapping! This setting can be found under extras, then under Softkey Remapping As of right now there is only the Nexus S remapping, with the original added in in case anyone flashed the Nexus S one and wants to make a new package to go back, but you can make your own easily! Just use the original mapping as a starting point, and go from there
You are more than welcome, and actually encouraged, to add your own! You can copy in your own personal framework, and you can make your own folder with your own Images!
*Notice: Make sure if you do make your own images that the image names are the same as the original! This is important, or the batch will not work!
I have said this before, and I will say this again... Please, for the sake of the community, if you make a package, please upload it I will be more than happy to share it on the front page of one of my Threads, giving you all of the credit
If you have found this Batch helpful, almost to the point of a godsend, you can click that Donate to me button if you want
Download Links Below [NEW: 2/13]:
http://www.mediafire.com/download.php?smmg1gvc7qch3br
awesome tb101
This looks awesome! Wish I had windows though...
Sent from my SCH-I400 using xda premium
Yeah, that sucks xP
And its just getting better!
Almost done adding in automatic hands free ticker clock color editing
Sent from my SCH-I400 using xda premium
I cant seem to find the download?
sent from my XDA phone - its more than a continuum
You got that right. Unless there's another below somewhere else =)
Re-Uploaded! Please download and try it out, and be sure to leave comments/suggestions!
hmmm well tried v3,
adb said successful push, wasnt, did it manually.
ticker color mod created w/o previous error via v2
flashed and after pause on bootup went black and did the vibrating jig.
restoring now...
tested w/o success gonna try with my pulled frameworks, might be because of recent added settings mod.
great job non the less tb101!
Yeah, build v2 didn't actually say an error message when it should've, so that is actually a good thing kinda, haha...
Can you tell me please what settings you applied? Like, what framework, softkeys (if any), auto-create etc etc
BTW: I am on the IRC, that might be faster
yeah i havent done anything to my phone since the restore after the failed flash.
i used the ec07 builtin frameworks, original softkeys, and purple color on ticker lol.
i opted to push in adb and it said it was successfully pushed, but it wasnt.
side note:
been real busy with tune up etc on the cars i own and work. hopefully this weekend i can try again. and fully set up my new to me dual screen xp64 media pc with adobe master suite. partitioned correctly this time to install the droid dev kit in windows and live cd....
updated OP with new version! has Weather Icon and History button removing
finally thanked the post, cause.... it finally worked for me. thanks again.
is there a dif from op and the one i got last night?
Haha, thank God it finally works for you xP you were like the only one xP
And uh, not anything big I don't think, haha... But probably safe to switch to this version anyways, just in case xP
Sent from my SCH-I400 using xda premium
Whenever I choose to remove the ticker history button and push the framework to my phone my phone won't boot afterwards. I've tried twice
Can you look in the log for me and see if anything is error-ish?
And how are you pushing the framework?
And are you using a framework that matches your current set up?
Sent from my SCH-I400 using xda premium
I didn't notice any errors. I pushed it using the script and doing it myself through adb like I always have. Yea I'm using the framework that I pulled from my phone right before using the script.
circa881 said:
I didn't notice any errors. I pushed it using the script and doing it myself through adb like I always have. Yea I'm using the framework that I pulled from my phone right before using the script.
Click to expand...
Click to collapse
that happened to me in v2.
i got it to work finally by reinstalling sdk and jdk (or just jre) and then manually copying my phone frameworks and putting it in the folder with rest. if all is insatlled correctly you should have no worries
ciscogee said:
that happened to me in v2.
i got it to work finally by reinstalling sdk and jdk (or just jre) and then manually copying my phone frameworks and putting it in the folder with rest. if all is insatlled correctly you should have no worries
Click to expand...
Click to collapse
Still didn't work.
circa881 said:
Still didn't work.
Click to expand...
Click to collapse
in irc now... lets see where ur at
I'm in the irc now, let's figure all this out, shall we?