yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] DAKIDD236:
is this what the optimization is supposed to look like?

$ su

# sh /sdcard/optimize.sh

rm failed for /system/sd/app_s/*.odex, No such file or directory

dexopt-wrapper /system/sd/app_s/AccountManager.apk /system/sd/app_s/AccountManager.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/AndroidMarket.apk /system/sd/app_s/AndroidMarket.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/Browser.apk /system/sd/app_s/Browser.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/Calculator.apk /system/sd/app_s/Calculator.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/Calendar.apk /system/sd/app_s/Calendar.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/CalendarProvider.apk /system/sd/app_s/CalendarProvider.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/Camera.apk /system/sd/app_s/Camera.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/CertificateService.apk /system/sd/app_s/CertificateService.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/CheckinProvider.apk /system/sd/app_s/CheckinProvider.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/Clicker.apk /system/sd/app_s/Clicker.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/CustomizationSettingsProvider.apk /system/sd/app_s/CustomizationSettingsProvider.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/CustomizationSetup.apk /system/sd/app_s/CustomizationSetup.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/DCSGeocode.apk /system/sd/app_s/DCSGeocode.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/DCSImpl.apk /system/sd/app_s/DCSImpl.odex

dexopt-wrapper: not found

dexopt-wrapper /system/sd/app_s/DCSReverseGeocode.apk /system/sd/app_s/DCSReverseGeocode.odex

dexopt-wrapper: not found
[G1 Android Development] law_ren_ce:
Im glad 2 see it worked for u!
[G1 Android Development] Kllian:
you need to install the dexopt-wrapper. you can find it here

http://xdaforums.com/showpost.php?p=3864655&postcount=36
[G1 Android Development] dbhatesyou:
http://xdaforums.com/showpost.php?p=3864655&postcount=36 extract dexopt-wrapper to the sd card and just

cp /sdcard/dexopt-wrapper /system/bin
[G1 Android Development] stevemartin1991:
well ive just looked into my sd card properties....its partioned perfectly just not sure at all....now i thought i wasnt partioning right but i definitely am:) so.....
[G1 Android Development] Kllian:
or using adb

adb push dexopt-wrapper /system/xbin

also if you use cp to copy it, i believe its /system/xbin not /system/bin
[G1 Android Development] hgmarcia:
Thank you:D it works but I'm getting a lot of foreclosures and market apps aren't downloading, I'm more concerned about the second problem.
[G1 Android Development] stevemartin1991:
when u wrote the command in the emulator what did it say afterwards?
[G1 Android Development] law_ren_ce:
befor running the terminal commands did you format both partitons? there cant b anything on any of the partitons unless the program u used left a file on it.
[G1 Android Development] tehseano:
EDIT: Fixed :)
[G1 Android Development] dbhatesyou:
/system/bin worked for me.
[G1 Android Development] andonnguyen:
Make sure your keyboard is closed until your phone fully boots. The blackscreen is normal. I had a black screen for at least 5 minutes, so I just left it and made a sandwich.
[G1 Android Development] law_ren_ce:
On mine it didnt do nothing it just hanged for a min or 2 then another # popped up! then u put exit enter exit and flashed the rosie rom.
[G1 Android Development] Tea8chSee:
So, I've been lurkin for a while.

And I decided, based on research to chose hero for muh new Dream.

Unfortunately I can't seem to get it running, when I attempt to boot the radio update it tells me the directory is invalid.

I would just carry on and go for cupcake, or cyanogen. However, I am a twit and do not know how to install run and effectively use either of those.(In experienced terms, I dont know how to flash ROM's. And it really grinds my gears.)

EDIT:I have root'd my system and I dont know how to partion my memory card either. It's a 2GB.

PLEASE HALP.
[G1 Android Development] question.com:
hmm, i just finished formatting both partitions again, re flashed the hero beta (played with it again lmao), its rebooting now. im gonna go smoke a cig, and hopefully when i come back it will be fully loaded.

update

flashed, sat on the htc logo for a while, and booted up. set up my google, facebook, and twitter accounts, Rosie forced closed, but everything is working great. this is a perfect tutorial. i used partition manager
[G1 Android Development] DAKIDD236:
thanks for the commands and the help, greatly appreciated!:D
[G1 Android Development] DMaverick50:
after i input this:

Non JF1.5 Build:

$ su

# /data/sdsplit -nd -fs size

i get

/data/sdsplit: not found

i did something wrong?
[G1 Android Development] m00b3rt:
i did all the steps correctly,

and got loop.

but i was questioning about.

busybox cp -a step.

it didn't react in any way, but gave a list of another set of commands.
[G1 Android Development] Ooglez:
No need to modify the optimize.zip if you just

ln -s /data/app_s /system/sd/app_s
[G1 Android Development] bmic:
any news about the force-close in settings and make bluetooth work ?

By the way i make all this changes thru terminal, i'm at work and do not have any computer with adb close.
[G1 Android Development] Meltus:
haha i'm at this point now. lets hope it works for me too :D
[G1 Android Development] dom2684:
anyone?....

i cant get out of the boot screen after using the optimize
[G1 Android Development] METHOD1911:
Please help me

Originally Posted by METHOD1911 View Post

can someone please help me i got hero on my phone but i cannot see anything i can see the notification bar and im getting htc wizard has stopped i put the app_s file on ext2 by way of paragon file transfer did i do something wrong thats y i cannot see anything PLEASE HELP ME I TRIED DOIN THE TERMINAL THING BUT I KEEP GETTING APPLET NOT FOUND
[G1 Android Development] buttkicker:
Sent you a pm.
[G1 Android Development] prateeksach:
So i'm not gonna do it because I only have a 1 GB card and im scored it will forceclose BUT I REALLY WANT ROSIE!!!!!!!!!!!!!!!!!!
[G1 Android Development] SirFenwick:
Hmm... for some reason it won't get passed the black screen. It flashes fine, passes the HTC logo and just goes blank. And I've waited for at least 10 minutes.
[G1 Android Development] vietxthanh:
i'm trying to push the dexopt-wrapper to the system/bin but it keeps saying

"cannot create ' /system/bin/dexopt-wrapper ' : Read-only file system.

anybody help me with this problem? Thank you
[G1 Android Development] siriuxs:
How to overclock with Hero?

Hi, I have installed last version of hero firmware by haykuro, and I install open overclock... But it isn't functionally because the rom not have a superuser... How to abilitate the superuser for overclock?
[G1 Android Development] question.com:
that happened to me and i just started over from scratch. everything is workign great now. i just rebooted the phone cause it was really laggy and my keyboard wasnt working
[G1 Android Development] rich0:
How is it wrong? I did skip the steps to actually create the empty file (as others have added).

Note that a few of these instructions indicate that loop0 should be used - on the firmware I'm running loop0 seems to be in use already. You definintely don't want to use the same loopback device twice.

With my 16MB swapfile I think that if anything performance was degraded. However, I'm not really running into RAM issues in general (I'd certainly benefit from more RAM but it isn't like programs are crashing/etc). We are likely running different firmwares as well. By all means try it out - it won't really hurt anything.

Oh, I would be careful about swap on flash devices running ext2/3 - this could potentially wear out your flash.

Note - this got moved to a thread about the Haykuro Hero ROM - I just wanted to point out that the instructions above may or may not work on this ROM - I have never used it so I can't vouch for it one way or another.
[G1 Android Development] sergatiuk:
Rosie

i love rosie,

thats what ill name my next ex wife lol

its still slow though...resembles my previous wife (o;'
[G1 Android Development] pandemonia99:
I had this problem too. Did you do adb remount first? ;p
[G1 Android Development] dom2684:
adb remount
[G1 Android Development] law_ren_ce:
u can do it. and it will force close once in a while nothing 2 bad...
[G1 Android Development] lamaravish:
Installed with no errors!!! F'ckin Awesome!
[G1 Android Development] emms007:
No need for superuser, all commands are run as root. No issue here overclocking with SetCPU.

Btw, an unique thread for that is plain useless, why not just ask in one of the severals hero-related threads?
[G1 Android Development] slackberry:
Text Messages Landscape

I'm STILL not getting landscape in text messages....considering i got everything else fixed its pissing me off now! :)

Anything I can try to get it working? If open the hard keyboard, it switches just fine, but its not changing by itself.

Thanks
[G1 Android Development] stevemartin1991:
has any1 got hero rom to work using that website that does all the partioning through the emulator?
[G1 Android Development] Nikeem24:
I installed the New SPL and my phone is tuck at the first boot screen. Been like this for about 10 minutes. Any help please?
[G1 Android Development] midnite23:
Am I the only one who's Rosie UI doesn't switch to landscape mode, either with opening the keyboard or using the sensor?
[G1 Android Development] alexperkins:
mine doesnt rotate with the sensor atm either :(
[G1 Android Development] vietxthanh:
Thanks i got it in the bin. Now when i run "sh /sdcard/optimize.sh" on the terminal it says permission denied on on every process.
[G1 Android Development] slackberry:
Nope. My rosie pauses for a sec and stays in regular mode too.

I assume its related to the txt msg issue i have too.
[G1 Android Development] jyoungn:
Quick

after i do this

su (superuser permissions will pop up click allow)

busybox cp -a /sdcard/app_s /system/sd

its brings up a list of option:

-a same as -dpR etc..

what do i do now
[G1 Android Development] nenemaster:
My phone bricks at the G1 screen after i apply the SPL file.

how do i go back to normal?
[G1 Android Development] drumattacks:
edit: fixed
[G1 Android Development] Nikeem24:
Thats what Im stuck at.
[G1 Android Development] jyoungn:
u flashed the radio 1st
[G1 Android Development] jawash22:
Move Rosie.apk

Is that the exact command you typed in terminal? Did it work?
[G1 Android Development] ssmercurys:
Does anyone have a mirror/ or can create one for the HTC_IME.apk on the first page?

The mirror is down and I need the file as I already removed the one via adb....
[G1 Android Development] lamaravish:
i installed mine fine..but no apps2sd :(
[G1 Android Development] jyoungn:
what process u took
[G1 Android Development] stevemartin1991:
DONT FORGET TO UNMOUNT YOUR PHONE BEFOR YOU DO ANY TERMINAL COMMANDS AS IT WILL THINK YOU DONT HAVE A SD CARD!

this could be my problem?
[G1 Android Development] slackberry:
Best I can do is email it to you. Let me know...
[G1 Android Development] tehseano:
I have good news everyone! And Funbacon, I'll send you a pm with this too.

I've made a batch file you can run from your computer to do all these commands for you through ADB, you just have to answer "y" or "n".

This file can:

*Remove launcher.apk

*Remove HTC PC Sync

*Replace the keyboard with english

*Replace the Camera

*Install dextop-wrapper

*Install and execute buttkicker's odex optimization script

*Reboot your phone when finished.

All the files you need are contained in a zip. Download and extract the files to any folder, then run "hero_speedup_1.0.bat", and follow instructions from there!

Download:

Rapidshare

4shared
[G1 Android Development] Nikeem24:
Yes I did that first. I was doing everything in the order that he told me to do it in.
[G1 Android Development] ssmercurys:
Thank you :)
[G1 Android Development] jyoungn:
trying taking the battery out

then going back to the recovery screen
[G1 Android Development] law_ren_ce:
idk y ur phone is doing tha 4 reall bro. Haykuro even said certain phones will get stuck at the g1 screen with the new spl i have no idea y...

and im sorry ur having so much trouble trying 2 get this on your phone i know everybody wants it...
[G1 Android Development] Wisefire:
[Tutorial] "Squished Hero" with A2SD + More

Okay, I had several problems installing Haykuro's ROM but JustAnotherCrowds seemed to do the trick. In this tutorial we will install the "Squished" Hero and send Applications, Data, Dalvik-Cache, and last, App_s to the SD card!

Here goes!

Partition you SD card, various tutorials and links can be found throughout XDA, try the search button!

Install the “Squished” Version of Hero – Http://www.Wise-Projects.com/android/hero.zip

(If this link needs to be removed, please let me know, and please do not delete the topic, If it's helpful, it's necessary right?)

Mount your SD card and create a folder named tmp on the root directory.

Save the following text file into the sdcard/tmp directory

http://98.131.185.198/jf/system/bin/lucid.txt

Now unmount your device

Open the terminal emulator on your phone(If you don’t have it, get it from the market)

Once in the Terminal Emulator

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

#cd /sdcard/tmp

#busybox cp lucid.txt /system/bin/lucid

#chmod 755 /system/bin/lucid

#busybox chown 0:0 /system/bin/lucid

#lucid (Should Clarify whether or not the Script installed)

#lucid -d -sd

#lucid -dc -sd

#lucid -m –sd

#lucid -a –sd (DO THIS LAST, IT WILL CLOSE THE TERMINAL EMULATOR)

#exit

Now ADB Commands;

adb remount

adb Shell

cp –a /data/app_s /system/sd/app_s

rm –r /data/app_s

rm –r /system/app

ln –s /system/sd/app_s /data/app_s

ln -s /system/sd/app_s /system/app

reboot

Hopefully this helps some people! If you have any quetsions I'd be glad to help.

All credit is to Haykuro for the amazing ROM and JustAnotherCrowd for "Squishing" it up for us!
[G1 Android Development] slackberry:
Nice. Can this be run from the terminal on the phone?
[G1 Android Development] fleshdeep:
Ran. It is doing everything as we speak. To the guy asking me about moving Rosie. I wouldn't listen to me. I dd that and got force close when i would try to swipe the home screens.
[G1 Android Development] bosewicht:
hmm, still no network...tried wiping and installing again, same as last night.
[G1 Android Development] startekee:
I get bad addresss
[G1 Android Development] JoshHart:
I'm on Gtalk now with no problems, mines lagging a little and I've got a few force closes, I also have a class4 sd card though, just ordered a class 6, hopefully that will be some improvement. Now that it's in the wild though it's gonna be all gravy from here now that all us little people and the big 4 can work on it. Definitely worth the bugs though, it's so beautiful.
[G1 Android Development] wizern23:
If you move apps to sd using Lucid's script or Marcus' app then you will experience constant force closes.

The rom checks the /system/sd/app_s directory for all the apps. By changing the directory to /system/sd/app it can not open the programs up right and force closes and freezes. The rom is basically telling it to check app_s while the symlinks say app.

I'm about to see if i can set the symlinks up manually to the app_s folder instead of the app folder.
[G1 Android Development] jamizzal:
can the marcus apps2sd method work on the squished version of hero ???
[G1 Android Development] psjames:
So far everything works great other then I can't get the view filter on the people (contacts) to show just the google contacts. It is not an option the only options are "All", "Phone", "Exchange" and "SIM" I can view them via "All" but I would like to be able to keep them separate from the exchange contacts. Anybody have an idea how to get it to show "google" as one of the view options.

Paul
[G1 Android Development] Six6Sicks:
Keep us updated on your progress. I was thinking the same thing as you were, but you're probably 100 times smarter, and have some knowledge how to do this so I'll wait on your directions. Thanks :)
[G1 Android Development] sandrosilva:
yeah im having the same problem.. cant filter only the google contacts
[G1 Android Development] jamizzal:
had no problem doing this on the squished version
[G1 Android Development] g1junky:
does anyone know the adb commands to push dalvikvm and libdvm.so from ion..i want to see if it will speed up haykuros hero build
[G1 Android Development] JoshHart:
I have the original(not squished) and I have sort contacts by Google on mine, although I didnt' set up an exchange account, maybe exchange overrides this for some reason?
[G1 Android Development] Qjizzle:
dude i f*&king love this rom it got more quick as i played with it nice job haykuro
[G1 Android Development] justanothercrowd:
THe ION Dalvik VM seems to help a bit and works just fine with this build.
[G1 Android Development] jl1030:
the squished version has a few HTC widgets missing, eg HTC (Rosie) clock

also the ROM is 76mb, so u only get roughly 10mb of free space on the phone.

i had a taste of Rosie, now im learning app2sd, and flash Haykuro's ROM is a bit
[G1 Android Development] wizern23:
with the cache,data, and dalvik-cache moved to the sdcard the build is noticeably faster.
[G1 Android Development] wizern23:
where did you get the files from and what steps did you do to get them on the phone?
[G1 Android Development] bolmedias:
Oh snap, Haykuro, THANK YOU SO MUCH! I might donate a bit to you.
[G1 Android Development] Jefpier:
With this ROM can you download apps from the market?

And if yes? Can you download with data to SD?

Because Since Cupcake i cant download anything from the market with Data on SD.
[G1 Android Development] Six6Sicks:
Quick step by step?
[G1 Android Development] jamizzal:
i second that motion...but on another note is the gallery working for any1 else to change the wallpaper ?
[G1 Android Development] djdeviance:
Yes gallery is working for me. I've been doing everything on this beast of a Rom. Twitter widget, Calendar widget, HUGE ASS CLOCK. Man I love it.
[G1 Android Development] lamaravish:
i did what the tutorial said..i did the partition with AppstoSD from the market
[G1 Android Development] jyoungn:
after i do this

su (superuser permissions will pop up click allow)

busybox cp -a /sdcard/app_s /system/sd

its brings up a list of option:

-a same as -dpR etc..

what do i do now
[G1 Android Development] buttkicker:
Check the permissions on dexopt-wrapper

ls -l /system/xbin/dex*

If they look like "-rw-rw-rw", run this

chmod 777 /system/xbin/dexopt-wrapper

and then run optimize again.
[G1 Android Development] G1-evolve:
What about people who can't use ADB at all?

What do we do for the second set of steps? :(
[G1 Android Development] fleshdeep:
I was running cyanogen, then wiped and flashd to the haykuro 6.0r1 and then flashed hero. I didnt have a single problem after doing haykuro's apps2sd method. Booted up the 1st try.
[G1 Android Development] nenemaster:
My phone bricks at the G1 screen after i apply the SPL file.

and i can't go in to recovery systen, can somebody help me please
[G1 Android Development] Kllian:
nice work, just ran it. should this be run after you install a bunch of apps as well or only once?
[G1 Android Development] law_ren_ce:
u r on hero beta v4?
[G1 Android Development] jyoungn:
yea............
[G1 Android Development] fleshdeep:
Script worked wonders. Everything works and is pretty quick. I can even atach a picture to my contacts through the camera now!
[G1 Android Development] Lakers3408:
Whats your Internal Phone Storage BEFORE and AFTER doing this?
[G1 Android Development] law_ren_ce:
using terminal emulator?
[G1 Android Development] cvsolidx17:
You should really become acquainted with adb...it's an invaluable tool when it comes to flashing/modding roms...
[G1 Android Development] Wisefire:
I don't use the Terminal much, but I think this should work, if not let me know and I'll figure it out.

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

# cp –a /data/app_s /system/sd/app_s

# rm –r /data/app_s

# rm –r /system/app

# ln –s /system/sd/app_s /data/app_s

# ln -s /system/sd/app_s /system/app

Reboot Your Phone!
[G1 Android Development] vietxthanh:
I just ranned the script and rebooted. Now i'm getting a mass amount of force close. Am i doing something wrong guys?
[G1 Android Development] tehseano:
No, this is to be run on Windows, and will do all the work through ADB.

Depends on which portion of the script you want to use (I will make the UI of this script MUCH easier, I just wanted to get it out an running for everyone first. You'll be able to select which to do in the next version. I would suggest using the optimization script after installing a bunch of apps, the others can really be run at any time, they don't have any effect on your other apps.
[G1 Android Development] Lakers3408:
I used the following method all using Terminal and went from 65mb internal memory to 85mb. Phone runs faster with not so many force close!

Thanks to pentace for the following:

these are the best folders to move for optimal space and speed

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

This is the old school way but the exact order to do it in maybe scripts can be modded.

cp -a /system/app system/sd/app

mv /system/sd/app /system/sd/appsys

<<<hero only>>> cp -a /system/app_s /system/sd

cp -a /data/app /system/sd

cp -a /data/app-private /system/sd

cp -a /data/dalvik-cache /system/sd

reboot in recovery

Alt-X

rm -rf /system/app

<<hero>> rm -rf /system/app_s

ln -s /system/sd/appsys /system/app

ln -s /system/sd/app_s /system/app_s

mount data

rm -rf /data/app

rm -rf /data/app-private

rm -rf /data/dalvik-cache

ln -s /system/sd/app /data/app

ln -s /system/sd/app-private /data/app-private

ln -s /system/sd/dalvik-cache /data/dalvik-cache

reboot
[G1 Android Development] Wisefire:
78Mb. Shouldn't matter anyway after this tutorial anyway.
[G1 Android Development] thechampion:
yea........
[G1 Android Development] jyoungn:
yep!................
[G1 Android Development] law_ren_ce:
that weird... idk y it would do that 4 reallz.
[G1 Android Development] Tea8chSee:
How do i flash radio?

since the problem im having is radio related id like to try flashing.

HALP.
[G1 Android Development] ssmercurys:
Just ran your script and wow...absolutely beautiful. Phone is practically lag free now :)

Cant wait to see what other people find in time
[G1 Android Development] custom374:
Ran the script and all I have to say it WOW. Worked wonders. When we install new apps do we need to run the script again? How does it work for new apps?
[G1 Android Development] jyoungn:
how can i make sure my partition in right
[G1 Android Development] thechampion:
is the htc boot with the little androids supposed to loop over and over and over again?
[G1 Android Development] rsfaze:
edit having a "blonde" moment ;)
[G1 Android Development] osho741:
you guys with the spl file problems, the spl WILL automatically wipe the rom off of your phone when it is applied, that is why you need either an sd card reader or a phone/camera with an sd to place the rom on a second card. Or the ability to do ADB to push the file to the sd card again. if you can get the update.zip file of the hero rom back on your sd card, pull the battery after a good five minutes to make sure it is good and stuck, go back to recovery terminal (home +power) and apply the update.zip file again with Alt S. this will install the rom on your phone, the reason it is stuck at the g1 screen is because when the spl was flashed, it deleted the rom. once the rom is installed again, it should boot up.

loading this spl is an inherent risk though, as it has bricked people's phones, ( mostly those who didnt update the radio first).
[G1 Android Development] blakestimac:
i used the overclock widget, and everytime i try to set it, it says i must have a rooted phone.. wtf?