yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] UncannyValley:
You obviously didnt read my last but one line... :rolleyes:

EDIT: even after restoring /data/data and wiping the hell out of dalvik-cache, media process still failed. But then that point about optionally cleaning playstore cache brought me on the idea to look for its folder. I once had it symlinked to the sdext, but not sure if it still was...

So it turned out, "/data/data/com.android.providers.downloads/cache" wasnt a folder (or symlink) anymore but a 0-byte file!? :eek:

Once i had deleted that file with a file explorer, the media crashes immediatly stopped! Also that folder was then created automatically.

I just wonder, there is another 0-byte file in the same location, called "lib"... im not sure whether I should delete it as well?? (never touched that before and no idea if its supposed to be a folder)

I'll try the update method again later...

EDIT 2: my stock nexus7 got a 0-byte lib file too, guess ill better leave it like that on the Desire as well...
[Desire Android Development] SaySayonara:
Slimming the rom down

Hello guys!

I decided to slim the rom down and change some image files. I know it's not enough to change the hboot, but at least the free space goes to RAM. Am I right, or this is all for nothing? hehe

Till now i managed to free about 30Mb.

I've encountered some difficulties as i am not a programmer and some of the files are just to complicated for me.

So far:

- deleted the following apk's: BluetoothExt, Browser, Calculator, Contacts, DeskClock, Email, Exchange, Gallery, GoogleCamera, HTMLViewer, MMS, MonthCalendarWidget, Nova, PrintSpooler, SoundRecorder, Term

- all af the deleted apk's above can be installed later

- added Apex Launcher, Mounts2SD, Swapper2 to /data/app/ though the last 2 can be later installed

- deleted all the 69 font files and replaced them with only one font (4files) - Sony Sketch font

- altered the build.prop - changed dpi from 240 to 200

- changed the boot animation to a smaller one

- changed the 2 usb images in framework-res.apk with 7zip

I would like to make the status bar font bigger, but till now no win :( Could anyone please provide me a solution in doing this? I know it has something to do with services.jar, or at least i think so, but i did not manage to decompile the classes.dex file so far.

Another thing would be deleting all the language packs except english. How do i do this?

Sorry if im posting this in the wrong section. Will look into more threads about rom baking.

Two more questions:

1. Is it possible to make a flashable zip and flash it straight to the ext4 partition? - non-system apk's

2. This may sound stupid, but is it possible to alter rom settings and apk settings contained in the rom before flashing it? I mean to flash a rom with specific settings, not the default ones.

Thanks in advance !

Keep up the good job Chromium and thank you very much for this great rom!
[Desire Android Development] UncannyValley:
Being in doubt about this advice I still tried it. The result was my wifi was not connected to anymore. This setting prolly only works with a US router. I guess the advice should be more like "set wifi to your region" since your only allowed to use a router with your region settings in your region anyway. Also it should be set to your region by default (here it was like that = germany). Still i have the problems with wifi like everyone else...

I guess the more exclamation marks it got, the less sophisticated an advice is... :silly:

Btw I've always read that swapping to sdcard (thats what it does?) will reduce its life time. same with putting /data/data to sd-ext on the long run. Though might be worth the risk nowadays since sdcards are getting cheaper... ;)
[Desire Android Development] genseng:
Good info. Sounds like it could be a m2sd bug.
[Desire Android Development] Chromium:
Nice, looks good.

Take a look here.

lol

Nonono, free disk space DOES NOT equal more RAM. They are very different.

Disk space is where files and other data are actually stored.

RAM on the other hand, is temporary memory where the system reads and writes from while executing. Nothing is permanently stored here.

However slimming the rom was not really for nothing. You could move some more apps into system, or use some other custom hboot. Jmcclue has a collection of many hboots, and im sure that you would be able to optimize your partition space layout using one of those since you've slimmed the rom.

1. Yes. Heres the edify scripting to install apks onto the ext partition as user apps:

# Mount ext partition
run_program("/sbin/busybox", "mount", "/sd-ext");

# Copy the contents of the app folder (containing the apks you want) onto the ext partition
package_extract_dir("app", "/sd-ext/app");

# Give the apks rw-r-r permissions
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/app");

# Unmount ext partition
run_program("/sbin/busybox", "umount", "/sd-ext");

2. Its possible, but not very practical imo. Some settings such as boolean ones (true/false, or on/off) are stored inside of xml files within the settings app. You would have to decompile the apk and edit the xml to the values you desire. Not all options will be found inside of xmls though.
[Desire Android Development] UncannyValley:
Yes quite possible M2SD fails for symlinks. If anyone want to try reproduce it, this is what i had done before:

rm -r /data/data/com.android.providers.downloads/cache
mkdir /sd-ext/download
ln -s /sd-ext/download /data/data/com.android.providers.downloads/cache

(/sd-ext/ could also /cache/ )

Should save space on /data by downloading to other partition and therefore should allow to install twice as large apk? At least that was my intention...
[Desire Android Development] nekkers:
Build.prop does have some, but not all the settings. :(:confused:

Found another thread with 2 settings of which 1 was not in build.prop. :confused:

I think a have to search for default build.prop of KitKat ...

Others tips to make "Disable HW overlays" persist????
[Desire Android Development] dariush_jab:
flip action

hi chromium

thnx for greet rom,i just to ask would u please take look to Flip Action in call setting? i can not change option to mute ringer,coz after quiting setting ,it come back to original setting(Do nothing)

thnx
[Desire Android Development] SaySayonara:
Slimmed ROM

After slimming the rom and following Chromiums advice, i've changed the hboot to 210-5-222

Here's my curent setup: Hope the pic isn't too big hehe
[Desire Android Development] nekkers:
Based on what I read on the net I made these changes in build.prop that should have the same effect as "Disable HW overlays" (switch is still of)

debug.composition.type=gpu	(changed mdp to gpu)

debug.egl.hw=1	(added)

debug.mdpcomp.maxlayer=0	(added)

dev.pm.gpu_samplingrate=1	(added)

After reboot this seems to work. :good:
[Desire Android Development] pc boy:
I don't live in US either!!

But that solved my problem with wifi and now I have my device auto connected after each reboot!!

As for swapper, I never heard it might be dangerous or decrease the Sd life time. and since I feel it has a great effect on responsiveness and the speed of the device, I think it doesn't matter that it has been updated or not!!

And about the exclamation marks!!:)

It's a habit and is not related to reliability or something!!
[Desire Android Development] spezi77:
Just my 2 cents.. usually I use these tweaks to disable HW overlays in my kk roms:

debug.composition.type=mpd

debug.sf.no_hw_vsync=1

debug.sf.hw=1

debug.egl.profiler=1

maybe it works with this rom as well.
[Desire Android Development] GDB007:
What theme and launcher do you use?
[Desire Android Development] UncannyValley:
Tried moving /data/data to /sdcard again, and again process media was failing, although cache folder is correct (no file) this time! :eek:

As soon as i opened play store, the error popped up 2 times and then closed the store again.

So I deleted playstore's app data again (did this before the M2SD data reboot) but soon after that process media crashes again...

Then wiped dalvik again but still same problem... Also tried clearing playstore data and cache again.

No idea, how many times i had to reboot because of process.media and/or WiFi not working, and what finally did the trick, but now its updating from the play store :fingers-crossed:

Sorry, I meant no offense. I'm a bit stressed out at the moment from a lot of things, including this ROM... :mad:

So maybe your router is still set to US region? Or its some compatible region maybe. I'm not sure but i think the only differences are what wifi channels the router may use.

Though the problem for me (and most others?) is usually not that it doesnt connect, but that the wifi doesnt activate at all and only works after several reboots. You dont have that problem?
[Desire Android Development] nekkers:
Oké I changed mpd to gpu: should be faster....

debug.sf.no_hw_vsync: I try to find what that does...

debug.sf.hw=1 was already in the build.prop of this rom.

debug.egl.profiler=1: I try to find what that does...
[Desire Android Development] jukyO:
You can install 1mobile market and install / update apps. It won't report any issues.
[Desire Android Development] SaySayonara:
Launcher - Apex

Icon pack + skin - HD Dark Lite - https://play.google.com/store/apps/details?id=vertumus.hd.lite

???
[Desire Android Development] UncannyValley:
Another bug: when I open the Dialer and click on the clock symbol (call history) the Dialer force closes.

Anyone else got this?
[Desire Android Development] Chromium:
Nope, just tried and it's working fine for me. Have you tried clearing the dialer app data?
[Desire Android Development] Pai Mei:
If you read my post better, you'll notice I have issues even with 1mobile market. ?

In the post #1124 i wrote how solved this problem thanks to nonline.
[Desire Android Development] UncannyValley:
Thank you for validating.

Clearing the app's data didnt help though. :eek:

EDIT: Used 'Android Tuner' to backup, then delete callogs. Then the dialer wasnt crashing anymore. Made a call to have an entry and see if it crashes, but didnt.

Restored call log (110 entries) and the dialer force closes again.

So i cleaned it once more and hope this problem doesnt happen again. :fingers-crossed:
[Desire Android Development] StipeP:
Gonna try this right now
[Desire Android Development] UncannyValley:
As it says, use stock (the one installed by default, best for noobs or if you have CDMA! ) or take (the) one with minimum 250mb system from the link.

Stock is 250/40/147 fyi

Edit: stupid auto correction

Edit 2: looks like you have already figured it out
[Desire Android Development] Chromium:
ROM system size: 190mb

GApps system size: 30mb

Total system size required: 220mb

So you need an hboot that allocates at least 220mb to system. 225 /5/ 207 seems like the best choice to me.
[Desire Android Development] pc boy:
It's OK buddy, We're all friends here:)

It's not related to router or wifi channel! Trust me!

It's related to your sim card which introduces the region and settings for communication to the phone!

This might be helpful:

make sure wifi is turned off

Use market unlocker (Download from store)

change your provider to a US provider

now go to settings/wifi

turn wifi on (doesn't matter if it gets stuck)

check options/advanced to see if wifi region code is enabled

If so, change the wifi region to US

then turn the wifi off (if it doesn't turn off, just tap on the on/off button)

Now restart your phone

after phone settled go to settings/wifi

check options/advanced to see if wifi region is still set to US

If so try and turn on wifi

if it didn't work try another location for wifi region

Hope this solves the problem:)
[Desire Android Development] StipeP:
Just did everything as instructed and it made a complete mess of it.

systemui and clock keep closing until the whole thing crashes and freezes. What did I do wrong?

hboot 250/5/182
[Desire Android Development] Chromium:
I'm guessing you didnt properly full wipe.
[Desire Android Development] StipeP:
Did cashe wipe, dalvik, battery... naything that had wipe word in menu i pressed it
[Desire Android Development] nekkers:
How-to-install

Oké. First of all, take your time, be patience and let rom settle down between all steps. :)

I'm on hboot 250/5/182 too and I descripe the steps I did below.

Download: the Rom, Gapps, M2SD_Apps+Dalvik+Libs.zip, CamFix.zip and put these on your SD-card.

Boot into "4ext Recovery Touch"

Goto "Wipe | Format"

"format all partition (except sd card)" this equals a full wipe.

Goto "install from sdcard"

- Flash ROM

- Reboot

- Flash GApps

- Reboot

- Flash M2SD_Apps+Dalvik+Libs.zip

- Setup for WiFi, Google account, etc.

- Start Play Store.

- Manually install apps you want to use.

- Flash CamFix.zip

- Set wifi regio code to Europe. (wifi-->advanced setting) or the region you are in.

- Beanstalk options > Beanstalk Init.d scripts > Clear cache, Enable speedy modified, Enable loopy smoothness

- Developer options > Enable Force GPU rendering

Follow these steps exact, be patience and let rom settle down between all steps.

Take your time and you should be fine... :)
[Desire Android Development] JerryGoyal:
[MENTION=4883664]Chromium[/MENTION] when i open watsapp, 3 out of 5 times phone gets restart. i have tried to reinstalling watsapp but problem persists.any guesses to resolve??
[Desire Android Development] Chromium:
I need you to provide a logcat or I have no idea what the cause is.

Also format /system and format /sd-ext in the mounts and storage section. (I'm assuming that you're using cwm)
[Desire Android Development] StipeP:
No, 4EXT (or something like that). Just did a fresh partition from scratch. 768/skip/128, and gonna try again as nekkers advised

PS. Nekkers, after each flashing, I should reboot into android, reboot back into recovery, and continue to flashing GAPPS?

P.P.S... latest result. Wizard has stopped. Sigh...
[Desire Android Development] Cluey:
FM radio.

Hi Chromium,

The ROM seems to be working fine for my friend, he's new to smart phones so hadn't broken anything!

One thing he'd like to be able is the FM radio, is there one which will work with this? The vast majority of the Play store "FM radio" apps are really streaming apps and that doesn't help him. The only one I did find which uses the radio hardware was for Motorolla phones and didn't work.

I did notice a custom ROM which has it working, how would I go about using that one and would I need kernel support for it to work?
[Desire Android Development] Chromium:
Yes. Especially in between flashing the rom and gapps.You must reboot into android, then go back into recovery to flash the gapps..

I used Spirit FM a while ago and it worked well.
[Desire Android Development] nekkers:
Yes reboot in android, let it settle down....., reboot in recovery, flash GAPPS, reboot in android, let it... and so on. The rom needs time to settle....!
[Desire Android Development] UncannyValley:
As i said, setting WiFi region to US doesnt work at all with my router, Desire does not connect although it shows the network as available.

I doubt that faking a provider to the playstore has any impact on WiFi...

Is there anyone else who *doesn't* have the problem with WiFi occasionally not turning on at all?
[Desire Android Development] RoyW:
I'm sure you wipe your ext partition right, but wizard stop is probably coming from your system partition not being wiped.

Whatever your recovery is, just find out how you can wipe system partition. If you can't do that, you will keep having wizard stopped.

My workaround is to let wifi continue to be turned on. It eats your battery a bit, but it's less annoying than keep rebooting your device.
[Desire Android Development] UncannyValley:
Well, I keep it the same, still it may happen after a reboot done for some other reason.

I am interested in whether someone doesnt have the problem at all, without working around it?
[Desire Android Development] Chromium:
Like Ive said a few times, I no longer have this problem at all. For RC5 I reverted a commit that was made a while ago pertaining to some WiFi stuff and that seemed to have fixed the problem for me. Prior to RC5 I did have the issue quite often where it would get stuck probably around 1/3 times I tried to toggle it on/off. Now its all good, as shown in this video I recorded.
[Desire Android Development] pc boy:
Fine!!

Just to prove that this is related to sim card do the following:

Pull out the sim card and turn on the phone!!

Now check to see if Desire connects to the network!!

Report back
[Desire Android Development] dado023:
guys, i have version 4.5.

What exact steps do i need to do to upgrade to 5?
[Desire Android Development] UncannyValley:
Wow i could reproduce it, although i was afraid to try it :laugh:

Might be only happening on reboot?

Again, the problem is not that it can not connect to the network, but that WiFi won't turn on at all (ofc then can't connect either), i think you got that wrong. The only time WiFi was working and I could not connect to my network was using US region in wifi settings.

P.S. someone had problems with whatscrapp force closing, never happened here
[Desire Android Development] Chromium:
Its still fine for me after doing a reboot, however when I do a hot reboot it always messes up the WiFi. Therefore I simply don't use the hot reboot option.
[Desire Android Development] UncannyValley:
I never do a hot reboot either after I tried it once...
[Desire Android Development] Chromium:
Well its strange that youre still having issues with WiFi. Could you get me a logcat of the error that comes up while wifi gets stuck.
[Desire Android Development] UncannyValley:
I will when it happens again. At the moment it is quite stable and I don't want to provoce it. I hope the logcat buffer is big enough to take all the messages on boot?
[Desire Android Development] Chromium:
Oh its happening at boot? It doesn't get stuck when you toggle it?

Buffer size should be big enough, since the error should probably be only a couple of lines. The rest will be useless, so hopefully you get the important bit :)
[Desire Android Development] UncannyValley:
Yes, well I think it happened on toggling too before rc5, it definitely got better now.

That's why I hope for enough buffer, since it's prolly failing early and a lot of stuff is logging on boot. :)
[Desire Android Development] nekkers:
I think it is better in RC 5 then it was in RC 4.5. I will keep a log of what is hapening this week during daily use whitout changing anything.
[Desire Android Development] Erenjag:
The newest release is silky smooth! Brilliant! However, I was trying to change the launcher to Google Now Launcher which personally I think it's better, but when I try to launch it, it says I need a newer version of Google Search even thought I have downloaded the newest version. Can anyone tell me what is going wrong? Thanks!
[Desire Android Development] nekkers:
Noticed that too. Don't know why. I stopped trying.
[Desire Android Development] SaySayonara:
Try Apex. I find it very good :)
[Desire Android Development] SaySayonara:
I was watching MKBHD's review on the OnePlus One and I have to say I fell in love with that phone! :) Do you guys have any clue where can I get the camera app that it uses and if so, will it work on our humble Desire? I love the swipe features for the effects!

Another thing: when I want to reply a post using the XDA app, it always FC's :( Do you guys have this issue too, or is it just mine? Now using Dolphin..

Last thing: I'm using the cool feature of the YouTube app to see videos on my SmartTV. No problems here, till the phone turns the screen off. After that the device won't wake up, no matter what buttons I press. I have to wait a few minutes untill the phone will actually turn on the screen.. it's a bit frustrating..
[Desire Android Development] 350Rocket:
Xda used to force close all the time on me no matter what rom or phone I used. Seems to have been fixed the past couple weeks or so. Updated it lately?
[Desire Android Development] SaySayonara:
Testing.. Testing..

Bla Bla Bla XDA :)
[Desire Android Development] UncannyValley:
V3.6.6 29.04. Improved stability

So not related to this rom :)
[Desire Android Development] Chromium:
Weird...

But this rom has so much customization built in. Why do you need xposed?
[Desire Android Development] Ikkuh84:
At the moment I use these different modules:

- App Settings (using this for Folder Organizer and LMT for keeping them active always)

- Bootmanager

- Crappalinks

- Enable BatteryStats Permission --> otherwise Better Battery Stats can't read the correct stats from system

- GPSNotification

- GoogleOfflineVoices

- GravityBox

- Greenify

- JellyToast

- Physical Button Music Control --> making start button an on/pauze button :victory:

- RemoveUSBStorageWarning

- Show dialpad

- Smooth System Progress Bars

- Youtube AdAway

So yeah, I'm a huge Xposed fan since I can change everything exactly to my liking/using of my phone :)

I find it strange that this only happens with your roms... Although when I used a2sd in your JB rom, Xposed worked.
[Desire Android Development] Chromium:
Well some of them are redundant since the rom has those features already (like gravitybox).

Its odd cause the rom actually comes with xposed and the app settings module. Let me check to see if its working for me.
[Desire Android Development] AlexOB1:
Eh? So you never used your JB ROM? Now I'm confused!

Thanks for taking time to write such great OPs by the way, really refreshing here on XDA!

Will be trying this ROM on the wife's Desire, sounds like it might be an improvement from Evervolv.
[Desire Android Development] Chromium:
Haha yes. I used it for a few days before releasing it, but I personally liked/used other roms (WoH's PA). They had more to offer and better performance in my opinon.

But with my new beanstalk build, Im actually quite happy and satisfied. Its easily got the most features out of all desire kitkat roms and its pretty fast....so i use it :D

And yes, i take pride in my OP's :) I hate confusing OP's with random info scattered all over the place. I see it this way: you've spent so much time creating something and you're going to present it like crap? I dont understand why anyone would do that. If you're going to build something that you feel is worthy, you might as well finish it off strong by making it look appealing to your users.

Ok, so i just tried and it seems to be working fine. I installed the framework via the xposed installer app. Reboot. Install a module (I installed jellytoast). Enable it in xposed modules section. Reboot. Still enabled and working.
[Desire Android Development] grizzlayleslay:
When we have nothing to lose, anything is worth a try! Thanks for the find.

I went ahead and flashed the "danger" ROM you made for me and also flashed the JellyBean support package found in that thread. The phone actually got past the HTC logo! But then it stayed stuck in a blank screen.

However, in that thread, someone included a Jelly Bean 4.2 build for the "bravoc" via DropBox, so I flashed that, and it seems to be working!

So it would seem this CDMA phone still has some life in it left.

Hopefully someone will respond to that thread and build a "Kit Kat Support Package", so I can keep tinkering. Unfortunately I know nothing about Android development so all I can do is be a tester. But it's fun! Thanks again, here's hoping I can someday add my CDMA phone to the list of phones using your build of Kit Kat.