yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] golightlygl:
If you had looked where the original htclockscreen.apk was located before inserting your own one, you would have found it is in "sd-ext/app_s". This is the directory that becomes - effectively - "system/app" when the ROM is running. Just pop your new one in that directory before flashing the ROM (or adb it there afterwards) and all will be fine. I use the same modified lockscreen that I've been using since 1.9 (including trackpad to unlock feature) and it works a treat.
[Desire Android Development] f1st:
when i tried to insert it before flashing the zip got corrupted (bad error while install). i thought changing files with root explorer in r/w mode is equal to changing it with adb. am i wrong?
[Desire Android Development] :
Tried this, didn't help
[Desire Android Development] easuvorov:
Hi, everyone.

First of all, I'm right now using insertcoin HD 2.0.0 on ext4 partition and quite satisfied with interface responsiveness. I decided to try out data++ to check if some rare performance issues are gone.

Steps I followed:

reboot into recovery (CM 3.0.0.5), wipe all (data, cache, dalvik-cache), reboot into fastboot, flash CM7 MTD, reboot booloader, erase cache, reboot into recovery, wipe all, run sd-ext ext4 alignment (used one from insertcoind package), then flash insertcoin data++ 0.3.

After those steps I'm stuck on Alpharev logo, logcat reports loops staring with:

/dalvikvm( 158): JNI_CreateJavaVM failed

/AndroidRuntime( 158): JNI_CreateJavaVM failed

/ServiceManager( 111): service 'media.audio_flinger' died

/ServiceManager( 111): service 'media.player' died

/ServiceManager( 111): service 'media.camera' died

/ServiceManager( 111): service 'media.audio_policy' died

/ ( 160): ServiceManager: 0xaec8

/ ( 160): Wait 2 seconds to prevent service regist failed

and following a lot of messages like

/dalvikvm( 158): Unable to stat classpath element '/system/framework/core.jar'

Can someone please point me out on what have been done wrong?

P.S. Searched thread and googled "CreateJavaVM failed".
[Desire Android Development] sylaan:
I would try again but leaving out the ext4 alignment thingy.
[Desire Android Development] patchseven:
if you use root explorer then you almost invariably are copying a file from the fat32 bit of the sd card to the internal memory.

This is not a problem, and will work, however fat32 as a file system does not support individual file permissions to be allocated...... This means any file copied from a fat32 file system to an ext file system will inherit default permissions, some of which may cause it to be unreadable by the process which needs to use it, thus causing boot loops in the case of framework-res.apk, and non functional lockscreen in your case.

To get around this you can use root explorer to set the permissions properly, but only once the file is sitting on the nand(or the ext part of sd). Any attempt to change the permissions while still on the fat32 well be lost the second you click ok.

so to get it to work, just check what the permissions should be set to (just check the original file you are replacing), then copy your replacement file into the same directory (with a slightly different name), and change the permissions of your replacement one match the original. Delete original, rename new and you should be done.
[Desire Android Development] f1st:
awesome. small and simple solution. you saved my day!

guess you should add this to the wiki, i wont do because i dont know the thing exactly => dont want to make mistakes and confuse ppl.

thank you!
[Desire Android Development] avanray:
Hi,is there a way to make HTC hub working somehow ?

Edit: HTC hub working just fine.apparently I key in wrong password.my bad. Mod help delete this post.
[Desire Android Development] mobilio:
hi baadnwz,

trying to follow the TUT of "Free some space on phone's memory without DATA2EXT"

However, when I am in second step to show the apk in data/data/*...it's said not found...

/ $ du -sk /data/data/* | sort -rn | head

du: /data/data/*: No such file or directory

any idea on the above?

Thanks!

EDIT: it's ok now...need to give a ROOT authority to the terminal emulator and restart :)
[Desire Android Development] mobilio:
For your information, I find the phone start to complain on low internal memory when it is less than 30MB (not sure if the "warning" would show up when there is less than 10%)...

Anyway, the problem happened when I try to download HTC wallpaper...seems after login to HTCsense.com, it will eat up 2xMB system space....
[Desire Android Development] golightlygl:
Added to wiki.
[Desire Android Development] Fightspit:
I totally agree with that :)
[Desire Android Development] mobilio:
Yes, it is working and eaten up ~30MB RAM...
[Desire Android Development] avanray:
U don't have to sync HTC hub.I think that way u will save those RAM. Correct me if I'm wrong.
[Desire Android Development] easuvorov:
Tried again with and without ext4, with different recoveries (btw AmonRa 2.0.0.1 is unable to flash due to absence of FM Radio widget or so it says) to no avail. Still stuck on Alpharev logo with same bootloop results. Mighty all, please advise.

P.S. Can someone post exact configuration (hboot, recovery, rom version, sd-ext format etc) for which rom installation works from full wipe, please?
[Desire Android Development] dlotters:
This is what I did (coming from an s-ON phone originally)

Reflashed to factory android 2.2 RUU (mine is a version supplied by my carrier)

Ran unrevoked using CWM3.0.0.5 recovery img (custom recovery - you can find it in the desire development thread created by uDK)

Downloaded and burnt the latest iso from AlphaRev's site for S-off and followed the on-screen instructions when booting from that iso (I burned it to a CD but you can use a usb stick, etc as well)

Once the phone was s-off I then applied the CM7 boot img from here by putting the phone in to fastboot usb mode and typing:

fastboot flash hboot bravo_alphaspl.img

fastboot reboot-bootloader

fastboot erase cache

then rebooting in to recovery, applying the Baadnewz rom and sitting back and watching the magic happen.

When the installation was finished, the phone booted fine and the next steps (for me) was to update to the latest kernel (on the first page of this thread) and then replace the bootanimation and the splash1 image to my own personal preferences.

Haven't had a problem and this rom is just amazing.

Edit:

One thing of note is that I previously had a 1gb ext4 partition on my sd card. I didn't do anything other than format it prior to doing any of the above.
[Desire Android Development] easuvorov:
2 dlotters:

Thanks for detailed description, but as i stated before I'm already s-off and using insertcoind 2.0.0 a2sd on 1.5gb ext4 partition. I doubt that going through the whole "return to stock, get root, get s-off" procedure again will help. Other than that i can only think of downloading bad zip, but since md5 sums are not there for data++ roms i cannot say for sure. Will try to redownload rom again from home tonight.
[Desire Android Development] avanray:
Hi,anyone can post flash 10.1 apk here? Im having problem with the latest flash. Thank you in advance
[Desire Android Development] patchseven:
http://xdaforums.com/showthread.php?t=686736
[Desire Android Development] avanray:
Tq mate..appreciate it
[Desire Android Development] easuvorov:
Finally i made this rom to install on my Desire. This is how it worked for me:

reboot into recovery (clockwork 3.0.0.5), wipe all + wipe dalvik cache, usb connect, adb reboot fastboot, fastboot flash hboot bravo_alphaspl-cm7.img, fastboot reboot-bootloader, fastboot erase cache, reboot into recovery, wipe all, install zip (v03), reboot system.

Main difference from my failed attempts: i did not use melethron's ext4 alignment script (kudos to sylaan) and flashed from cm 3.0.0.5 recovery. Original alpharev recovery hanged after flashing (no reaction, waited about 10 minutes) and to proceed i needed either to remove battery or execute adb reboot. Maybe this will help someone.

But i noticed that 3.0.0.5 nandroid does not include sd-ext, so right now it's impossible to create fully working backup. Please advise, which recovery can i use to make complete nandroid?

P.S. Btw, yesterday i tried flashing v02 first and then fastboot flash boot boot.img. As a result applications didn't restore at all and streaming video (e.g. youtube HQ) played with very noticeable lag. I didn't have same problems after flashing v03. So for me it was not the same to use v02 + boot.img vs v03.
[Desire Android Development] florineck:
I would recommend amonra 2.0.1. It has everything you need, including full backup and restore.
[Desire Android Development] baadnewz:
the recovery from my site (kali- 3005 r3) does backup ur sdext .... http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons/Recoveries/Kali 3.0.0.5-R3/
[Desire Android Development] KaspaII:
Battery drain

2 easuvorov :

I recommend amonRA 2.0.1 too....

I'm using this ROM for few days, and I need to say - It is the best HD ROM (no d2EXT ROM) with more space for apps. Good stabilty, smooth, but my battery can not works more than 1 day :(

(With RCMix D2EXT a had 2 days)...
[Desire Android Development] ziggy1001:
I had that, look at Application settings....Running services and see how much stuff HTC is running;)
[Desire Android Development] lvnatic:
Looks like im running in to a memory leak once the browser is being opened. I have to force kill the app to go back ~100mb free RAM. With browser running I have about 50mb free, very few and browsing is laggy, please help.
[Desire Android Development] KaspaII:
I tried the Ginger Villain 1.8 ROM with the same battery result (about 1 day).. Only RCMixHD D2EXT Desens.. was better (for me).. unfortunately with no so good stability
[Desire Android Development] pudeman:
Something strange is going on: installing Angry Birds makes my phone reboot. Tried through market and My Backup Pro. Same result.
[Desire Android Development] Ik Desire:
Wipe and reflash and don't use backup pro or any other backup. And search and read, you are not the first with similar problems. Isn't this rom for advanced users only?
[Desire Android Development] easuvorov:
Thanks everyone. Rom is up and running for 3 days now and i felt the difference (even considering my card is class 10 with ext4 sd-ext). Everything is as smooth as stock (i tried it just before flashing), still have some lagginess right after reboot, but this is the understandable consequence of copying /system from sd-ext on each boot. No lags with local and streaming video, interface is very responsive, no problems with downloading large apps from market. Having tuned tasker to automatically turn on the airplane mode for the night (about 7 hours a day) and turning off autosync for htcsense site i get straight two days w/o recharge.

As Droopy always said - i'm happy 8))
[Desire Android Development] vr5411:
I had a problem with all Angry games restored with Titanium. So I deleted them and reinstalled through market. Now, they run just fine.

Other than that, the best DHD rom I tried so far.

Thanks a lot Baadnewz!!
[Desire Android Development] m0nn3:
hey,

one question: which Kernel are you using ?

now i use the : kernel-bravo-2.6.32.36-insertcoin-110327

is that es best for performance oder for battery life ?

or is the cuttos kernel better for the battery ?

on 2.0.1 i have use the cuttons kernel and it works better i thing..

but on the data++ version i dont know..

EDIT: i have PVT1 amoled desire :)
[Desire Android Development] davebugyi:
There is no notable difference between Coutt's and the latest snq- kernel.

1-3 days usage (1 day on heavy, 2 on medium and 3 if the phone is used for 10 mins a day :D )
[Desire Android Development] cseegran:
Been using for 2 weeks, insertcoin 2.0.1 d2ext, snq kernel. Last week saturday phone was laggy. Did a fast reset, after that it was fine and fast. Today it happened again, did a fast reset. Problem solved. It seem that i need to do weekly reset. Will update next weekend on stat.
[Desire Android Development] sylaan:
Why not ? I use MyBackupPro and never had an issue. The problem the guy has is not related to the backup software, must be something else.
[Desire Android Development] Ik Desire:
Backup programs can be handy, but really, they cause this kind of problems. Surely everything works 9 out of 10 times, but when users report problems after restoring, it's best to try without backing up. It solves the problem 99 times out of 100.
[Desire Android Development] ppurcell:
Thx... Found my ROM V03 Data+++

Hi Mr baadnewz

Just want to thank you for the best ROM I have used. Most ROMS stayed for a week at most on my phone, but this one is over 3 weeks and I cannot find a reson to change.

This is the best Sense HD based DESIRE ROM.. period. This ROM iNsertCoinHD Data +++ V03 with your latest Kernel is stable, pretty and has an exceptional battery life (even with LWP). I get 2-3 days with moderate use and importantly everything works.

Oh, I had to remove those CAT eyes on the Boot animation, just too scary...

Regards Peter
[Desire Android Development] baadnewz:
thank you :)

and by this message I wanna prove I'm not AWOL as some may think :). Just been busy and stuff, and also till working camera is released for Gingersense I see no reason to cook another rom
[Desire Android Development] daffie:
Well I for one am having serious withdrawal symptoms. Eagerly awaiting a new rom from the master :) Anyway jk of course, v3 D++ still the best and running smoothly&stable.
[Desire Android Development] tomcat84:
I think there is really no reason until there are new fixes for GingerSense ROMs... :)

This data++ version of InsertCoin is pretty much flawless already.

Everything works, enough space for apps, and its fast and smooth :D
[Desire Android Development] kenobiajay:
I was using this for a couple of weeks but then started having problems when I installed Swype.....the swype kb would show but the actually swyping wouldn't work after a restart.

Could this be caused by the small cache of CM7 hboot or maybe new sense? (this problem doesnt occur with leedroid)

Looking at the rom size, would I be able to use the Sense Hboot (for the bigger cache...) instead of CM7?
[Desire Android Development] sylaan:
There is a bug with Swype where right after reboot swyping does not work but just tapping, does. The workaround is to long tap in the input box, change the input method and then change it back to swype. Then it works fine.

Besides that, swype works perfectly for me.
[Desire Android Development] kenobiajay:
Cool, I will try that. Thanks. I might just come back to InsertCoin++
[Desire Android Development] chihliouma:
Hi Baadnewz, when I visit some flash websites, the flash is NOT working of this ROM (I've install flash 10.2). Is there any patch I can use to make it working ? Thanks.
[Desire Android Development] sylaan:
As far as I know Flash 10.2 has issues, has nothing to do with the ROM. Either downgrade or wait for the next version.
[Desire Android Development] chihliouma:
Well, not really because flash 10.2 is working for RCMixHD_v3.6.1 DATA ++.
[Desire Android Development] mikbe:
Yup. For me it causes serious memory leak and phone freezes.

But otherwise this rom is the greatest. I tried yesterday CM7 and MIUI, but just had to nandroid back. :p
[Desire Android Development] sylaan:
This is only what I heard from other people. I don't use flash so I can't comment out of my own experience unfortunately.
[Desire Android Development] superliam:
im having an issue with widgets, after a reboot, the widgets no longer load. not all of them, just some, any ideas?
[Desire Android Development] chihliouma:
Well, the reason why I know that is because I try that ROM and confirm the flash 10.2 is working in that ROM. Anyway, I already figure out how to make the INSERTCOIN also work with flash 10.2. All you need to do is just install flash 10.1 first and make sure it's working, and then you can upgrade to flash 10.2, and it will also still working for INSERTCOIN then.
[Desire Android Development] ppurcell:
RU by anychance moving Gadgets to SD card as part of the installation. You have to leave Gadgets in the default install location... Regards P
[Desire Android Development] pmelichar:
stability

Hi, I am using latest kernel for D++ v03. Has this kernel standart voltages? My phone is not so stable (cca 1 restart in every two days). If not, what kernel with standard voltages I should use? I there any other solution?
[Desire Android Development] theodorius123:
puh...switched from a2sd to s-off and data++...........NICE! ;)

goodbye old thread, welcome data++-thread :)
[Desire Android Development] rumbo575:
Ok i use this rom and think it's great....updated to the latest radio 32.56.00.32U and i'm getting better signal coverage in my front room here on Orange UK.....Latest snq kernel 2.6.32.38 and i can't really fault it.....Not quite as fast as i thought it would be but this has easily got to be one of the best....New radio and kernel did it for me:)
[Desire Android Development] m0nn3:
Hi. Who have you download the new Radio btw ril Version ?

Im german and find nothing

Only the 32.54.00 Version

I have the pvt 1 Version of the desire
[Desire Android Development] Sebby:
radio - check this site

http://www.mofirouz.com/wordpress/2011/03/htc-desire-radios/

rils - check this site

http://xdaforums.com/showthread.php?t=902752
[Desire Android Development] rumbo575:
Hi mate

I can confirm that the latest radio works really well,i did'nt need to flash the RIL:)
[Desire Android Development] m0nn3:
ahh okay sorry :)

i only search on : http://xdaforums.com/showthread.php?t=687464

okay can i copy the radio.img file via. adb (fastboot)

or can i flash zip from sd-card over the recovery (amonra) ??

or fastboot flash radio.img ?
[Desire Android Development] rumbo575:
http://rapidshare.com/files/451750012/FastbootCommanderV.1.1.zip

Download 1.1 and flash the radio in fastboot
[Desire Android Development] m0nn3:
cool Thanks !!!

works very nice :)
[Desire Android Development] :
Great and fast rom! didn't found any problems yet.
[Desire Android Development] cgmorris89:
Well this is nice :D

Hope it stays so beautifully smooth. Only time will tell I suppose :p
[Desire Android Development] rumbo575:
Hey Baadnewz......Lovely rom........are you working on a sequel or another rom?

Kind regards:)
[Desire Android Development] f1st:
rom is stable up to now, guess nothing will change. he got new plans:

http://xdaforums.com/showthread.php?t=1016940
[Desire Android Development] baadnewz:
ok uploaded a odexed rom. It already has % battery and power notification widgets included but i didnt odexed the framework files so using UOT should be ok .

Themes from dhd thread provided as apk (Skins actually) ARE working.

You'll gain arround 60 mB on /data

THEMES WITH MODDED APKS DON"T WORK ON ODEXED ROMs. Don't say I didn't warn you!

About speed I don't know yet if its faster or slower but theory says its slower.

Why slower? well since now being odexed the dex files for system apps are no longer generated in nand memory (dalvik-cache), they are used from sd-ext where they are stored near the apks.

but im not complety sure about this maybe you can confirm or not

YES WIPE ALL before flashing odexed rom.

Now hope everyone is pleased. over and out
[Desire Android Development] ClassicalDude:
Normally, an odexed rom is indeed faster, and saves space on the data partition - because the odexed system framework and apps are on the system partition in the nand memory. However, most users and chefs don't like odexed roms, because once odexed - you can't change anything in a rom.

This particular solution makes a deodexed rom work as efficiently as an odexed rom, but remain deodexed. All the odex files (in the dalvik cache) are on the data partition in the nand memory, but we use s-off hboots to increase the size of the data partition. This can be done because the system partition is no longer that important - all the apks and jars are symlinked from it to the sd card. Therefore, odexing this rom really is kind of pointless - it negates everything that is the point of what we are doing, because now the system will run from the sd card.
[Desire Android Development] baadnewz:
thanks, you confirmed my theory
[Desire Android Development] janikjan:
I was affraid about it after baandnewz reply. So it is really pointless to use odexed rom in our case. Thank you for your explanation.
[Desire Android Development] nawoa:
Going to try this out now. If I understand correctly, with v02 the only downside to the tiny cache partition is that you can't flash the radio through recovery anymore, is that right? No market download issues, even when downloading many large things at once? Edit: 50 uninterrupted, working, large market downloads later, I can confirm it works perfectly.

The idea of keeping all the basically "unused" files on slower, higher-latency storage make so much sense, I always thought it was backward to do things the other way around.

The name "Data++" is now erroneous right, since you're recommending the CM7 layout instead?

Thanks for taking the time to try this, I'll be installing it in a few minutes and will try to provide some useful feedback.
[Desire Android Development] baadnewz:
More obvios than psting on 1st post? Maybe you should read the 1st post
[Desire Android Development] baadnewz:
Does it seem that i made those partitions? Alpharev did. My rom needs 120 system. What partition table ur using it ur choice.
[Desire Android Development] tkm89:
Could you tell us how you fixed the market downloads - moved to the SD card (I wanted to do the same in my personal ROM).
[Desire Android Development] baadnewz:
unpack your boot.img (kernel) and edit init.rc

Add

export DOWNLOAD_CACHE /mnt/sdcard/download

under

# setup the global environment
[Desire Android Development] willy792003:
will it defeat the purpose if we move /data/data to sd-ext as well? cos there's where some of the big files are.
[Desire Android Development] mr.stylo:
oh wow, this rom is soooo fast!!!! and i still have 100 mb free in internet storage. thank you so match baadnewz, you are a hero!
[Desire Android Development] baadnewz:
its the same rom aint? they'll work minus the ones that have edit the framework folder since here is moved tosdcard

you can flash standard hboot from alpharev site you dont need to flash the stock ruu

Here http://alpharev.nl/bravo_alphaspl.img

you should read their site before posting such questions

as mentioned in this thread this is for advanced user who know what they are doing, thou if you are not an advanced use. USE THE SEARCH AND READ before asking question. Enough with the spam already

you dont have to move the whole /data/data to sd. READ This:

http://www.baadnwz.eu/2011/02/free-some-space-on-phones-memory.html

still applies as long as you dont move system apps, just games, gps, browsers etc.

again if you have done a lil research before asking you would have ur answer

so i beg you: if you dont know what your doing either stay away (use other roms) or READ SEARCH LEARN
[Desire Android Development] willy792003:
yeah, but then you need to move them manually one-by-one and symlink them. btw, what's with all the attitude replies to all the questions in your thread? are you having your PMS or something? the reason i asked is not for the sake of asking. i was asking if moving /data/data to sd-ext affect the performance gain by implementing what classicaldude suggests. if it doesn't, then you might wanna modify the app2sd script to move /data/data to sd-ext. but if it does, then maybe moving big files one-by-one is the only option.
[Desire Android Development] ClassicalDude:
/data/data is where all the app data is stored. Moving it to the sd card as a whole will indeed cause all the applications to respond slower. It is better to stick with the one-by-one approach, for apps that not used frequently, and whose data eats up too much space.