yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] dta1974:
I have been using TMobile OTA's for quite a while and I can say that they drain the battery a lot too,it also depends on the way we charge the batteries.I have lost a 30% of the charge overnight with no emails,no messengers on and I killed all the apps running in the background.

Now with [ROM]TheOfficial TMO & HTC ADP CRC1-Rooted + FullFeatured (v1.3.2) and the apps2sd seems like the battery is lasting longer,but like I said it also depends on us.
[G1 Android Development] azguy61:
cannont stat /sdcard/userinit.sh

Alright first of all thanks for the rom it is working wonderfully, I am using TMO OTA CRC1 Rooted Base ROM with the expansion pack and I followed all your directions including going to the other post and doing :

- Follow the section "How to root and install custom roms on your phone." for getting root.

- Follow the section "How to install cyanogen recovery image" for getting cyanogen's recovery image.

Now I am trying to activate the items within the expansion pack, first I am trying compcache, I tried the ADB method

adb push c:\userinit\userinit.sh /system/sd I get an output of

cannot stat 'c:\userinit\userinit.sh' : No such file or directory

Then I tried putting userinit.sh onto my flash drive : ( also reformated the flash drive to fat32 and tried again)

su

Output: #

mount -o remount,rw /dev/block/mtdblock3 /system

Output: # (i do not know if its just suppose to make another line or show something but all it did was go to the next line and spit out # like if i had just typed in su)

cp /sdcard/userinit.sh /system/sd

Output: cannot stat '/sdcard/userinit.sh' : No such file or directory

After that message I did not continue.

My build and rom are from

http://xdaforums.com/showthread.php?t=533731

then as stated I followed :

***************************************************

3) Download the desired base or fullfeatured ROM from the original post.

4) Rename the downloaded file update.zip.

5) Copy the update.zip to your phone's SDcard. (DO NOT PLACE IT IN A FOLDER).

6) Power-Off your phone.

7) Press and Hold (Home+Power) buttons at the same time to boot into recovery mode.

8) Perform a data wipe by pressing (Alt+w), may have to confirm by pressing HOME (it will prompt).

9) Perform the update (install the ROM), by pressing (Alt+s).

10) When finished, reboot from recovery by pressing (Home+Back).

11) Once your phone has booted up, sign into your Google account (by whatever means) through the setup/data-sync wizard.

12) Launch the "MarketApp" and accept the terms, download some app you're familiar with by going to 'My Downloads' or search for one!

***********************************************

then I proceded to install expansion pack 1.32, and here I am, sorry if anything was misspelled or incorrectly added into this post, I am a noob and I admit it............thanks for your time and patients

Oh and one mroe thing when I type su then in the next line i type /sdcard I get a message saying permission denied, but I have the superuser app and I can tether computers using the wireless tether app.........I am willing to try any method to fix this issue either adb shell or the terminal emulator but I do prefer the terminal emulator if u do not mind
[G1 Android Development] enomther:
got a procedure for you

Hi azguy61,

First off, there is a bit of confusion here (and it's understandable, as it's kinda confusing), but the userinit.sh goes in different places depending on which ROM style you choose. I know the OP is very verbose (kinda blows), but if you read the fine print under the "Expansion Packs" section, it shows that you need to place the userinit.sh script in /data/expstick/bin, not the /system/sd path (which is for the FullFeatured). So not really your fault there, as it is kinda confusing, IMO.

Second, based on your description, here's what I'd do to get to resolution the quickest ...

1) Reboot in recovery, wipe and reinstall the CRC1 base.

2) Boot up, log into Google, and get App from the market.

(Basically the steps you've already performed prior to expansion pack setup)

3) Then reboot into recovery and install the v1.3.2 expansionpack.

4) Reboot and let it Boot up.

5) Download the userinit.sh_v1.3.txt from the OP (another attachment).

6) Edit the variables at the TOP of the userinit.sh_1.3.txt to your liking.

7) Attach your phone to your computer and copy the edited userinit.sh_v1.3.txt to your sdcard named as userinit.sh

8) Disconnect your phone from your computer.

9) Open up the TerminalApp and run the following commands ...

su
cp /sdcard/userinit.sh /data/expstick/bin
chmod 755 /data/expstick/bin/userinit.sh
exit
exit

10) PowerOff and back On your phone.

You should be all set at that point! Hope it goes well.

Let me know!

~enom~
[G1 Android Development] azguy61:
Thanks for your reply but I have one question when you say wipe do you mean wipe to factory, then start all over where i install jf and cyano recovery drive from the two links you provided prior? Or do you mean just wipe to factory and just skip to the part for installing CRC1 and do not bother with the cyanorecovery and jf? I guess what I am asking do I skip the prereq steps?

*****************************************

Prerequisites - REQUIREMENTS

1) Root.

2) Recovery image capable of flashing ROM's not signed with OTA-release-keys, I recommend Cyanogen's 1.4 image.

- If you lack either of these, you can follow the instructions in thread http://xdaforums.com/showthread.php?t=533731.

- Follow the section "How to root and install custom roms on your phone." for getting root.

- Follow the section "How to install cyanogen recovery image" for getting cyanogen's recovery image.

Only follow those 2 sections, IGNORE THE REST OF THAT POST to follow this installation procedure!

Installing TMO-US OTA CRC1 ROM (Base or FullFeatured) - or - HTC ADP 1.5 CRC1 Base ROM - Instructions

1) BACKUP ALL YOUR PHONE DATA AND SDCARD Contents to a computer, external HD, or whatever, by whatever means you can. (Always better Safe than ever sorry!)

2) If you are going to install the "TMO OTA CRC1 FullFeatured ROM" READ THIS (if not, you can skip to step #3):

If you are coming from another Apps2SD ROM (if you don't know what that means, goto step #3). In order to guarantee you won't have any issues with the install you should remove all directories starting with "app" and the dalvik-cache directory on your /system/sd (ext2/ext3) partition. If you backed up your whole SDcard, this shouldn't be a huge issue. - Yes you'll have to reinstall your apps. You can try to skip this step, but if the install fails, rinse, wash, repeat and don't skip this step.

(NOTE: I've see it successfully pull Apps2SD over from a cyanogen ROM with no problems, but that's no guarantee!)

3) Download the desired base or fullfeatured ROM from the original post.

4) Rename the downloaded file update.zip.

5) Copy the update.zip to your phone's SDcard. (DO NOT PLACE IT IN A FOLDER).

6) Power-Off your phone.

7) Press and Hold (Home+Power) buttons at the same time to boot into recovery mode.

8) Perform a data wipe by pressing (Alt+w), may have to confirm by pressing HOME (it will prompt).

9) Perform the update (install the ROM), by pressing (Alt+s).

10) When finished, reboot from recovery by pressing (Home+Back).

11) Once your phone has booted up, sign into your Google account (by whatever means) through the setup/data-sync wizard.

12) Launch the "MarketApp" and accept the terms, download some app you're familiar with by going to 'My Downloads' or search for one!

**********************************************

Sorry again for being so nub
[G1 Android Development] enomther:
Sorry if it wasn't very clear, but ...

What I meant was start at "Installing TMO-US OTA CRC1 ROM (Base or FullFeatured) - or - HTC ADP 1.5 CRC1 Base ROM - Instructions"

So leave the cyanogen recovery in place, and just start back at step #1 for installing the CRC1 base.

~enom~
[G1 Android Development] azguy61:
Alright I did the wipe, then I intstalled TMO base, then I installed the 1.32 exp pack, then I downloaded the userinit.sh version 1.3 then I renamed it to userinit.sh then i put it on the flash drive and proceeded to terminal app......

su

OUTput: #

# cp /sdcard/userinit.sh /data/expstick/bin

Output: cp: cannot stat '/sdcard/userinit.sh' : No such file or directory

*****************************

Side note

I am using a SD disk USB adapter to transfer files, because even though ADB works on my comp for some reason when I click on the drive that comes up when my phone is connected it says there is nothing there and I can not copy files to it.

Second

Just for curoisty I typed

su

Output:#

# /sdcard

Output: permission denied

maybe these two side notes might give you an idea to what is going on? Thanks alto for your speedy replies

Could it be that I need to install the original exp pack before I install the updated one, because I just went ahead and installed 1.32?
[G1 Android Development] enomther:
sdcard troubles

Hmmm, sounds like you're having issues with your SDcard or phone's SDcard reader, but who knows.

What you need to try is to poweroff your phone.

Remove and Reinsert your sdcard into the phone.

Power it back on.

As soon as it boots up, open the TerminalApp and run the following ...

su
mount

EDIT: This will output all the mounted devices on your phone. You should see an entry for '/sdcard', which will either mount to '/dev/block/vold/179:1'.

If you don't see this, there's something wrong with your sdcard or it's formatting/partition setup.

If you do see this, then you should be able to run the following from the TerminalApp. ...

su
ls /sdcard

and see the contents of the sdcard.

If you do see the userinit.sh, along with other files, you should be able to run the procedure I gave you exactly with no problem. At which point, rerun the following ...

su
cp /sdcard/userinit.sh /data/expstick/bin
chmod 755 /data/expstick/bin/userinit.sh
exit
exit

reboot and finish.

Try this and let me know.
[G1 Android Development] azguy61:
I think i found the problem: Okay I did su then mount

I got a whole bunch of crap and I saw /sdcard vfat and some other stuff after it.

BUT most importantly when I did

su

ls /sdcard

the output was :userinit.sh.txt

Should I try doing cp/sdcard/userinit.sh.txt /data/expstick/bin ?
[G1 Android Development] enomther:
yes, you found the problem. ;)

and so does the cp command. ;)

give it a go and let me know!
[G1 Android Development] azguy61:
Okay so:

su

Output: #

#cp /sdcard/userinit.sh.txt /data/expstick/bin

Output: #

#chmod 755 /data/expstick/bin/userinit.sh.txt

Output#

exit

exit

While it did not give me any errors I have a suspicion this is not correct....I do not think the program will be able to read userinit.sh.txt because of the txt extension........but is there a way to check if it did work?
[G1 Android Development] DOHCtor:
You have to remove the .txt extension
[G1 Android Development] azguy61:
Hmm how can I remove the txt extension I renamed it in the comp as userinit.sh but for some reason when i look at the actual file name it has the .txt extension sorry this question must be making you go crazy.
[G1 Android Development] enomther:
Sorry, I assume much.

su
cp /sdcard/userinit.sh.txt /data/expstick/bin/userinit.sh
chmod 755 /data/expstick/bin/userinit.sh
exit
exit

That would be the proper sequence of commands.

~enom~
[G1 Android Development] uansari1:
You can type "free" in terminal and it should show the compcache amount available and free. You need to rename the userinit.sh.txt to userinit.sh. So you can do this instead of what you posted:

#cp /sdcard/userinit.sh.txt /data/expstick/bin/userinit.sh <-- this will rename the file upon copying it to the target directory.

THEN

#chmod 755 /data/expstick/bin/userinit.sh

then you can exit out.

Edit: Guess I type to slow... enomther answered your question. Are you running Vista? If so, go to any folder, click Alt, Tools, Folder Options, View, and then check the box to Show file extensions. This will allow you to see and change file extensions.

enomther, why isn't the userinit going to /system/sd?
[G1 Android Development] enomther:
b/c this is an expansion pack user. The expansion pack (unlike the FullFeatured), makes no assumptions about partitions and mount points (like /system/sd). But /data is guaranteed to be present in all setups, thus /data/expstick/bin.

;)
[G1 Android Development] uansari1:
Gotcha... thanks. :)
[G1 Android Development] sasa3791:
Of course as always you found right solution,

Thank you very much and

brgds,

Sasa
[G1 Android Development] bmj1086:
No problem, glad you got it working
[G1 Android Development] mplspatch:
Thanks Enom and all others! I think to be safe, I'll try this option. I appreciate the shared expertise! :)
[G1 Android Development] bmj1086:
Good idea :)
[G1 Android Development] keenerb:
Receiving OTA prompt for 1.6 upgrade on this rom

How to disable?
[G1 Android Development] olearyp:
Flash the appropriate edition (ADP or TMO) of the 1.9.2 expansion pack, available in the OP. This was the only change from 1.9.1.
[G1 Android Development] mikespy:
Thanks a bunch...
[G1 Android Development] tristanh72:
I'm sure I'm missing the post explaining this.

How does one install the htc_hero_tmo16_theme ?

Also, if you decide to go back, is that possible without wiping?

I'm running the TheOfficial 1.6 TMO + expansion.
[G1 Android Development] bmj1086:
To install the theme just flash the zip like you do the ROM. Make sure you have the expansion pack before adding the theme.

If you want to remove the theme you do not have to wipe, just flash the ROM then the EXPANSION pack again without wiping.
[G1 Android Development] cloverdale:
You just flash it as you would any other update, and to undo the theme, just reflash the base ROM then the expansion pack (I have noticed that if you just flash the exp pack on top of the theme, it leaves white font in a white notification bar).
[G1 Android Development] DOHCtor:
Hey Enom,

I got it to work. You need to grab the ImProvider.apk from Cyan's build and use it to replace the one in ADP build. Once all 3 files are in /system/app folder, the IM client shows up in the drawer. I like using this stock IM client because it doesn't drain the battery like Meebo, Hello IM, Hi AIM etc.
[G1 Android Development] keenerb:
Phenomenal.

I am running the 1.8.4 expansion pack, though.

Is it safe to flash 1.9.2 over 1.8.4?
[G1 Android Development] markimar:
Ok so if I went in and fxxd with the expsetup disabled compache and enabled linux swap. How do I get it back default compache internal memory?

If use expsetup and re enable compache is it going to be internal or on the sd?
[G1 Android Development] keenerb:
I flashed 1.9.2, still get prompted for the OTA update.
[G1 Android Development] enomther:
keenerb,

In order to get rid of the OTA update ... you will need to perform a fresh installation.

Meaning ... reformat (or completely clean) any ext partitions. Perform a Wipe, Flash the new Donut DRC83 Base, and flash the 1.9.2 expansion.

This will bring you up to date fully and also rid yourself of the OTA update.

Yes, you'll have to reinstall your apps, but this is a necessary evil, in order to ensure a proper ROM install.

~enom~
[G1 Android Development] enomther:
Cool ... I'll put in a permission slip to include that in the next ADP.

Thanks.

~enom~
[G1 Android Development] enomther:
markimar,

CompCache uses compressed RAM (not NAND board memory) ... thus, enabling it doesn't place it on sd or the internal NAND board.

Please note, I do not recommend running both compcache and linux-swap at the same time. Either one or the other.

And finally, yes, you would use expsetup to revert (or resetup) any of these changes. ;)

~enom~
[G1 Android Development] shapinoweno:
quick question. after using this rom for a bit, i set default to advanced launcher. but i notice that advanced launcher force closes on me almost everytime i open the phone. it loads back up within a 15 seconds or so, just a bug i thought i would share. anyway to stop this?
[G1 Android Development] keenerb:
OK, thanks. I was already heading down that path anyway...

:D
[G1 Android Development] markimar:
Enom, you're the best! You are always there to help .you answer pretty much every post!

I went and disabled linux and re enabled compache. Always love your builds. Gave up on hero and sticking with this!

Thanks for all your hard work and efforts.
[G1 Android Development] enomther:
shapinoweno,

Yes, ... others have noted the same. I am hoping we see some updates from irrenhaus .. however, this may not be entirely in their control. Some have noted that apps running on Donut simply enter the FC/Wait state more often than they did on cupcake builds.

I'm thinking we'll see some donut updates addressing this in the future. Till then ... this is kinda a fact of life atm.

~enom~
[G1 Android Development] bmj1086:
I haven't had any FC/waits except for when I had the media volume thing but that was because of the ringtone settings. I have had a lot less FCs than when I had CM's Cupcake. Weird.
[G1 Android Development] mailman1387:
Help Enomther

Im still on exp pack 1.9.1 and its working smooth but i wanted to no if flip clock was included from 1.9.2 only cause i dont see it in my widgets section and i want it.Also can you show me the scripts to put into the emulator for the phone apk to work.Last question, when i upgrade my exp packs do i have to reinstall all my apps an everything all over again along with redoing my settings or not? Thanks
[G1 Android Development] enomther:
Hey mailman1387,

1) For the FlipClock.

It's "included" as a "vsapp" in all my ROM's. Goto the TerminalApp ...

su
expsetup

Select option #13. Say 'yes' to clean. Say 'yes' to the widgetpack and at the end say 'yes' to installation. Reboot ... and you'll have the flipclock.

2) For the phone.apk ... do you really mean the emulator ? or you actually want it on your phone ? ... if you want it on your phone ... see my post in cytown's thread ..... http://xdaforums.com/showpost.php?p=4687932&postcount=151 .... install it like any other update.zip in recovery.

3) As far as upgrading to v1.9.2 (or any other expansion pack) ... when upgrading expansion packs alone, there is no need to wipe. :D ... so just flash the new expansion pack on top of the 1.9.1 ... and all should be well.

Hope that helps.

~enom~
[G1 Android Development] DOHCtor:
1. To install Flip clock widget, go into terminal, type "su", then "expsetup", and then choose the option to download and install vsapps.

2. I can't answer that one.

3. No need to wipe when upgrading the expansion pack. Only need to wipe if going from one build to another (like cyan to enom or adp to tmo).

edit: dammit enom, you're fast! hope your wife or girlfriend doesn't tell you that haha.
[G1 Android Development] enomther:
LOL!

I just noticed this ... thanx anyways man ... I do apperciate any help here!

ty

~enom~
[G1 Android Development] Jdom58:
I know I should know this but here goes anyway, if I reformat my ext2/3 and wipe the dalvik cache, would I loose all my installed apps, cause that's what I did and they're gone?
[G1 Android Development] bmj1086:
You sure will. All of your apps are stored on the ext partition. Hence the name AppstoSD :)

Its okay believe me I had 120 apps when I switched to this ROM and it was worth losing them all.
[G1 Android Development] Jdom58:
Thanks man that explains it, the rom started to lag alot due to a couple of apps I installed and continued even after I uninstalled them. I thought I could keep the apps if I just wiped ext2/3 and the just reflash the rom/exp pack again and solve the problem.
[G1 Android Development] daddycat31:
It kinda sucked losing all the apps cuz I have been downloading them since Nov. last year, so alot of them are pay apps now or just gone (FBook was the best Facebook app & it's no longer available)...but I'm coping with the loss pretty well...lol
[G1 Android Development] DOHCtor:
Enom,

Why does your rom, compared to other roms, hang at spashscreen (mytouch or g1 picture) for such a long time before going into the boot (android) screen?
[G1 Android Development] mailman1387:
Thank you very much as you've answered all my questions.I luv my widget clock now and the phone.apk works perfect.Thanks.
[G1 Android Development] shapinoweno:
hehe, no problem it is definatley not that badand a small price to pay for this awsome rom. thanks
[G1 Android Development] olearyp:
Well, it's not so small when three or so processes are FC/wait (com.android...messaging, com.handcent.sms, acore, and gapps are the usual culprits) and you're trying to answer a phone call. I've had a couple of missed calls that way. :(

That said, though, it still hasn't been enough to convince me to go to another ROM/stock (the horror!)
[G1 Android Development] mannyb:
Many thanks for your HTC ADP 1.6 DRC83 ROM + extension pack. Just what I was looking for now that JF is retired. Almost 100% vanilla, with a few very important exceptions - just what the doctor ordered.
[G1 Android Development] beejizzle:
What languages is covered in "ALL android languages" in ASOP? Is swedish include? I once used a rom, think it was cyanogen and it had swedish menusystem and t9 i believe... hm.. anyone knows?
[G1 Android Development] klabton:
Unfotunately, there is no polish language in Your latest relese... :/ There is Italiano, Portugese and than some chinese or japan.... Maybe I did something wrong with update?

I was following Your step-by-step..
[G1 Android Development] yukkio:
Hi, I don't know the reason but ADP version is much smoother than AOSP version. For example to add a widget with ADP version you can see the animation but with AOSP version not.

AOSP version is a new donut compilation?

Thanks.

BR.
[G1 Android Development] bfikkert:
Hee enom,

All good over here.

Just started at a new job a view weeks ago. So were very busy.

I'm just dropping in on the donut thing.

I'm a reader and watcher and not flashing roms all day.

I need my phone for my work.

And, before saying a rom is running stable, i stay on it for at least a week or 2.

I have run your Rogers rom for some weeks now.

Must say it was very stable. It was getting slower after some day's.

Just reboot and is was fast again. :)

I'm now running a KiNgxKxROM Version 1.6 Hero Rom for some day's now and must say they come a long way, and hero is very fast now. The BFS thing is steroids for the Hero roms. But not having bluetooth is not working for me. I need it for the carkit.

Regarding the BFS kernel mod. Are you going to implement it in one of your ROMs ? It has become rather stable know.

This weekend i'm going to jump over to your donut AOSP/ADP rom with hero theme. Looks like, reading all the post's, it is running smooth. Let's see.

Keep you posted.

gr. Bob

-------------------------------------------------

And just general note from me,

Reading all the posts in this thread, and i have read them all, i'm seeing the same questions over and over and over again.

Please people search and read before you post.

Always reformat your ext3 partition

And wipe your phone.

So that you are starting clean.

I know it will take up a bit bit more time. But it will keep you out off problems.

If you want to keep your app's, data, settings or ringtones, etc..

install "backup for root users" from the market.

Or for the app's you can use RA-recovery (it's a pimped out 1.4 cyan recovery) it's here and it's gold,

http://xdaforums.com/showthread.php?t=566669&highlight=AR+recovery

If you don't know how to use ADB read this :

http://xdaforums.com/showthread.php?t=502010&highlight=Ar+recovery

It's all on xda.

Just search, look, read and give it some time, and you will find it.

:DHappy flashing all:D

---------------------------------------------------

Sorry for the typo's. I can do it in dutch but i think that will not work.
[G1 Android Development] enomther:
Yup Swedish is there ... not in the t9 HTC_IME yet ... but the base lang support is ... I'm looking into the keyboard deal.

~enom~