yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] N0J:
the new tool is running real smooth!!

Awesome job Flipz!!!!
[Hero CDMA Android Development] riotkid976:
.2 finally cleared my cached lockscreen image! I COULD NOT BE HAPPIER!
[Hero CDMA Android Development] wtphoto:
still cant get the auto root working, keeps saying that it couldnt push the files. other than that everything else seems to work great. I cant wait to see what flipz has planned for the auto sign and update script generator.

and thanks to both flipz and noj for all the work they are doing to make it so easy to customize our phones!!!!
[Hero CDMA Android Development] brian2220:
anyway someone can make this for mac :rolleyes::D
[Hero CDMA Android Development] OBSt4l0n:
thanks a bunch flipz. this is so easy and everything seems to be working smoothly. keep it up.
[Hero CDMA Android Development] TF1984:
@ 702.

Yes I did a restore, even re-flashed the rom, still not working.

I am getting the error Flipz listed on the DL site. But the patch is not correcting the issue for me.
[Hero CDMA Android Development] animal7296:
Is there any way to add an "un-root" feature to this? That way it is easier for getting back to stock for warranty reasons.
[Hero CDMA Android Development] 702DROID:
thats what the RUU is for
[Hero CDMA Android Development] flipzmode:
Yea I mean the kitchen could very easily unroot your phone by replacing 1 file. heh. But that's just it, it would only be unrooted. To return it to 100% stock just run the RUU. It is also GUI based and very easy to use.
[Hero CDMA Android Development] asianizeboy:
since 0.2 came out do I just need to download this version and auto-root my phone without needing to download 0.1 and 0.1b correct? Dumb question sorry.
[Hero CDMA Android Development] flipzmode:
Correct. 0.2 replaced 0.1 so just grab the new package.
[Hero CDMA Android Development] flammenwurfer:
I'm a little confused about the "Themer" portion.

I see

default-taskbar.zip

defresh-full-removal.zip

defresh-lock-removal.zip

in the themes folder. If I go to Install Theme and choose defresh-full-removal.zip, will it put it back to looking stock?

Edit: Does it matter if you're using Fresh 1.0 or 1.1? I just installed 1.1
[Hero CDMA Android Development] flipzmode:
Once you pick a zip it will show you a preview of what it's going to look like. full defresh will set it back to stock. And it will work fine for fresh 1.x. :)
[Hero CDMA Android Development] flammenwurfer:
Worked great! Thanks flipzmode!

Pre-Kitchen is working great and so is the ROM. Thanks for all your hard work.
[Hero CDMA Android Development] Gh0zt718:
i know this is a n00b ass question... but how the hell do you work this im trying to put the nexus boot screen on my hero and have NO idea how im supposed to sync the kitchen with my phone someone please help unless this is only for cooking roms in which case im gunna feel super retarded... :confused:
[Hero CDMA Android Development] TF1984:
Mine doesn't work with my hero, It gives me the "remount" diagnostic error. Can somebody PLEASE help me?

FYI my PC just told me it's missing the ADB Driver. What the crap is going on? Yes I have debugging enabled.:confused:
[Hero CDMA Android Development] flexgrip:
Hey flipz, is there any interest in porting this to linux? I could probably whip this up in python pretty quickly. Would you be willing to answer some questions or provide a little code so that these methods can be replicated under python/linux?

Not sure how many people like myself don't even have a windows install, but i bet it could be duplicated pretty easily in linux and even osx under python.
[Hero CDMA Android Development] flipzmode:
Just extract the kitchen's zip to your computer and run the exe. It should be pretty self explanatory from there. :)

Install HTC sync or if you are on windows 7 then go here. You are missing the adb driver. It just needs to be installed.

Yes there is interest (it's been requested). Yes I'd be willing to answer questions so that the community can benefit. You can PM me. Although if you can "whip it up quickly" then I'll cry. haha.
[Hero CDMA Android Development] flipzmode:
So you are right... you just found a bug. I'll push out a fix asap. As for it not booting in to recovery... the kitchen didn't even get to where it would be flashing the recovery image so you should still be able to get in to the stock one with no issues. Thanks for the error log.
[Hero CDMA Android Development] Diplomat2387:
I try to hold down the Home button and then push the Power button but it just hangs on the HTC Logo image...Thats why I was trying to re-flash the 1.3.2 img...
[Hero CDMA Android Development] flipzmode:
What happens if you hold volume down and then power it on? Do you get the hboot screen? Then hit home to get in to recovery.

You have a PM.
[Hero CDMA Android Development] Diplomat2387:
Yeah it still goes to the HTC Boot screen and just hangs on it..
[Hero CDMA Android Development] Diplomat2387:
The fix you sent me worked...I now have the new recovery image on my phone..Damn you are fast...Where do I send donations..LoL
[Hero CDMA Android Development] lv2bll:
hey flipz, i want to pull some apps from my phone but i dont know how, examples are the default browser and rosie. Can you post the directions or is it just like browser.apk
[Hero CDMA Android Development] flipzmode:
/system/app/Rosie.apk

/system/app/Browser.apk

They are case sensitive. :)
[Hero CDMA Android Development] lv2bll:
thanks flipz you da man!
[Hero CDMA Android Development] kraash:
i didnt see it if some one asked this, is there a user guide for kitchen? something a bit noob friendly?
[Hero CDMA Android Development] flipzmode:
The kitchen itself is pretty noob friendly, but there is a kitchen how-to being worked on.
[Hero CDMA Android Development] commandercup:
Can you pull the stock messaging and mail apps without causing problems to gmail and chompsms or handcent?

If so, what are the files?

Thanks!
[Hero CDMA Android Development] wtphoto:
dont want this to get lost this is a great tool even if for some reason it doesnt like me so here is a little bump.

P.S. they should sticky this!
[Hero CDMA Android Development] flipzmode:
I honestly don't know about the stock mail app, but you can not delete the stock messaging app without FC's. Stock mail app is

/system/data/Mail.apk

If the auto-rooter still isn't working for you with the newest version then I'd love to work with you to figure out why in case others are running in to the same problem. Make sure you aren't mounting your sdcard when you plug your phone in to your computer. You should just plug it in and go... don't pull down notification and mount. If you aren't mounting and it still won't work then PM me so that we can get it working! :)
[Hero CDMA Android Development] gqukyo:
I'm using the Modaco 2.0 rom and I can't seem to use this program to remove the stock Sprint apps... the cmd prompt that shows up and keeps saying no such file found... =T I tried using it with the phone in recovery mode but same issue... =T
[Hero CDMA Android Development] 702DROID:
think you have to wait for modoco's kitchen if your using his rom
[Hero CDMA Android Development] gqukyo:
I did not realize they put apps in different places. I do not use Apps2sd.
[Hero CDMA Android Development] mrinehart93:
Wow Flipz! Nice work! I just used the auto-rooter (after using the patch you posted) on my 64-bit Windows 7 machine, and everything worked perfectly! Thanks!
[Hero CDMA Android Development] wtphoto:
I ruu'd my phone cuz I thought it was messed up turns out I had just set it to EVDO only so now everyhting works again.

tried the auto root and once again it failed to push the files properly. so I got to thinking about it since I have tried this several times to no avail and apparently my problem was that the auto root tool will not work with a card that is set up for apps2sd. I switched the card to a freshly formatted card and worked like a charm.

great job Flipz, I knew it had to be something that I was doing. but that could be something to check out cuz I know that I am not the only person that rooted, setup apps2sd, and then either wanted or had to RUU.

but once again great work on the kitchen.
[Hero CDMA Android Development] Ambiong:
I was previously running Fresh 1.1. I decided to run Flip'z 1.56 RUU to bring my phone back to bone stock(had too many apps installed and decided to wipe my phone clean to start fresh). Instead of doing the Command Prompt way of rooting, I decided to use Fresh Pre-Kitchen 0.2 to root my phone. I ran the diagnostic test and I have everything checked besides "Sendkeys". Auto-root will not work unless this option is checked right?

Thank you
[Hero CDMA Android Development] miamicanes:
Same problem here. I ran the diagnostics, and everything checked out besides Sendkeys. If I try to run autoroot ("with google") anyway, here's what I get:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

D:\android\kitchens\fresh-prekitchen-0_2>
D:\android\kitchens\fresh-prekitchen-0_2>> /system/bin/su
The syntax of the command is incorrect.
D:\android\kitchens\fresh-prekitchen-0_2>_image recovery /sdcard/recovery-RA-her
oc-v1.2.3.img
'_image' is not recognized as an internal or external command,
operable program or batch file.

D:\android\kitchens\fresh-prekitchen-0_2>reboot recovery
'reboot' is not recognized as an internal or external command,
operable program or batch file.

D:\android\kitchens\fresh-prekitchen-0_2>.\adb\adb-windows kill-server

D:\android\kitchens\fresh-prekitchen-0_2>

I have both the SDK (with usb driver) and HTC sync installed, and adb seems to work fine. I tried rebooting both the phone and the pc, but it didn't help. If it matters, I'm running Vista32SP1. I also tried running the kitchen as administrator.

If it's significant, the first time I tried to autoroot, the operation didn't make any noise. For subsequent attempts (including after reboot and as admin), it made the sound Windows makes when you try pressing an invalid key somewhere a few times in rapid succession.
[Hero CDMA Android Development] joseamirandavelez:
Hi Guys,

I'm desperate now! I have been researching and trying to root my phone the whole day. My wife wants the divorce!

I'm trying to root my phone with fresh-pre-kitchen.

It did not worked. I did the test (help button) and everything passed. I tried to root with and without checking the "with Google" checkbox. I also downloaded the fix but it did not worked. It always give me this error:

---------------------------
fresh-pre-kitchen
---------------------------
Failed to push files properly. Try rebooting your computer and trying again. If that doesn't work then visit (cant post URL's yet) to research the error.
---------------------------
OK
---------------------------

Then this one:

---------------------------
fresh-pre-kitchen
---------------------------
Failed to connect to your phone. Make sure that USB debugging is turned on and that you have no missing drivers in device manager. If that doesn't work then visit (cant post URL's yet) to research the error. Your debug log is displayed below. Visit (cant post URL's yet) to get help with it.

931 KB/s (74512 bytes in 0.078s)
---------------------------
OK
---------------------------

I checked USB debugging. All drivers are installed and there is no missing drivers in device manager. The error is not in GeekFor.Me.

I even softreset'd my phone. Nothing works...

Have you guys seen this before?

Thanks,
[Hero CDMA Android Development] Soulmemories:
I have a cellular south hero and I have 2 questions.

Question Numero Uno:

I got the pre-kitchen and the 0.2 hotfix for the auto-rooting and I was wondering will this autoroot work with the CS hero?

Question number two:

I ran the auto diagnostic test and it said I need java and to run the usb connection in debugging mode. How do I do both?
[Hero CDMA Android Development] flipzmode:
Cool. Thanks for the info. I'll look in to that.

Just an FYI the RUU isn't mine. Granted I modified the application by adding in my logo, but it's actually an application put out by Sprint/HTC. :) As far as sendkeys not working... there is little I can do to fix that issue. gu1dry reported that when flashing without "with google" checked he didn't get that error, but with it checked he did. I told him I didn't believe him because I know the source code and that's not really possible. But he swears by it. ;) The only resolution I can give you for when sendkeys isn't working is to try another computer.

See above

It looks to me like you might be hooking your phone up to your comp and then going under notifications and clicking to mount the sd card. Do not do that. You just want to plug in the phone and go.

I'm not sure if this rooting method works for the CS hero, but I don't think it does. I believe they have a separate forum for you guys which indicates to me that it doesn't work? But I may be wrong. But the kitchen uses the Sprint Hero root method.

The java error can be safely ignored for now, it won't affect anything that is actually functional in the kitchen really. USB debugging is turned on through your phone via settings < applications < development < usb debugging
[Hero CDMA Android Development] joseamirandavelez:
I read about that on your site. I'm just plugging the cable in. It is showing "USB connected" and "HTC Sync - Synchronize your phone with Windows" notifications.

I tried a fix you posted for problems when pushing lockscreens or so... it did not worked either.
[Hero CDMA Android Development] joseamirandavelez:
Got it! Although the drive was not mounted, for some reason Windows recognized the drive and created the drive letter (without mounting the drive). When I checked the "Safelly remove hardware" icon in the tray, there was a drive I there (I named it I for Instinct... thats my old Instinc mSD). So I "unmounted" the drive and then everything worked!

I already did the nandroid backup.

Great!
[Hero CDMA Android Development] flipzmode:
Excellent! :)
[Hero CDMA Android Development] Soulmemories:
I just rooted my phone. Thanks for all the help!!!!!!!!!!!!:):):):):):):):):eek::):):)
[Hero CDMA Android Development] rustyman14:
Flipz is there anyway to ad the visual voice mail app to this pre kitchen??
[Hero CDMA Android Development] 702DROID:
it wasnt removed from the rom....
[Hero CDMA Android Development] rustyman14:
I know it wasnt but i still need it... Im on the 1.6 rom and i dont have it anymore.. It should still work on this rom right?
[Hero CDMA Android Development] wtphoto:
hey flipz just a thought about the kitchen, maybe add in a feature to take screen shots I have been told there is a way to do it through sdk but have yet to figure it out.
[Hero CDMA Android Development] 702DROID:
Step 1: Enable USB Debugging

Step 2: Download the Android SDK

Step 3: Run DDMS

you need to open up the DDMS application from within the "tools" folder in the Android SDK's main folder. After DDMS launches, select your handset from the menu on the left (it should be the only device listed). You might see an error message, but the debug tool should be loaded. Then, click CTRL-S on your keyboard. This will bring up the "Device Screen Capture" interface. From here, a static image is captured from what is appearing on your handset. You can save the image (nicely defaulted as PNG) and then refresh to your heart's content to grab updated or different screenshots from your phone.

That's it
[Hero CDMA Android Development] wtphoto:
Thanks, I was looking for an .exe didnt relize it was a .bat
[Hero CDMA Android Development] wtphoto:
the next kitchen looks really sweet, nice and polished with some massivly cool features.
[Hero CDMA Android Development] gu1dry:
Thanks. I'm still talking to flipz to refine it more, but the first release with the revamped look, will probably look very similar.
[Hero CDMA Android Development] wtphoto:
great work guys. I wish I had the skills you have. hell im just trying to get the clock widget to not have the little flip numbers and can seem to find the right file to change.

I might some day get to where I will be usefull lol.
[Hero CDMA Android Development] wtphoto:
hey flipz, is the kernel source being released going to force you to go back and change some things in the kitchen incarnation you are working on or are you just going to keep going in the same direction and change things with a different release?
[Hero CDMA Android Development] Retiredfinally:
FreshKitchen error

Getting these errors in cms screen

$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

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

mount: Operation not permitted

$ cat /system/bin/sh > /system/bin/su

cat /system/bin/sh > /system/bin/su

cannot create /system/bin/su: read-only file system

$ chmod 4755 /system/bin/su

chmod 4755 /system/bin/su

Unable to chmod /system/bin/su: Read-only file system

$ flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img

flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img

error opening /sdcard/recovery-RA-heroc-v1.2.3.img: Permission denied

$ reboot recovery

Looks like I am missing the img file I think? or maybe I am not and missing something here. LOL:D
[Hero CDMA Android Development] coheeds monstar:
sendkeys fail

I want to use the auto rooter but in the diagnostics test i fail the sendkeys. What does that mean? Thanks in advance.
[Hero CDMA Android Development] wtphoto:
sounds to me like you did not enable USB debugging.

unplug your phone from the comp

go to settings>aplications>development and make sure that USB debugging is checked. even if it is uncheck it and then check the box again then plug the phone back in and retry
[Hero CDMA Android Development] Retiredfinally:
C:\Program Files (x86)\Fresh Kitchen>

C:\Program Files (x86)\Fresh Kitchen>.\adb\adb-windows kill-server

C:\Program Files (x86)\Fresh Kitchen>.\adb\adb-windows start-server

* daemon not running. starting it now *

* daemon started successfully *

C:\Program Files (x86)\Fresh Kitchen>.\adb\adb-windows shell

$ /data/local/asroot2 /system/bin/sh

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

/data/local/asroot2 /system/bin/sh

[+] Using newer pipe_inode_info layout

Opening: /proc/857/fd/3

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

SUCCESS: Enjoy the shell.

# # cat /system/bin/sh > /system/bin/su

cat /system/bin/sh > /system/bin/su

# chmod 4755 /system/bin/su

chmod 4755 /system/bin/su

# flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img

flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img

error opening /sdcard/recovery-RA-heroc-v1.2.3.img: No such file or directory

# reboot recovery

Now everything works but can not find/load recovery-RA-heroc-v1.2.3.img file when I have verified 4 times it is there in root of sd card. Glad this does not brick the phone or I would have done it! Maybe it is Windows7 not liking it or something? :confused:
[Hero CDMA Android Development] wtphoto:
if it pushed to the SD card then you are already rooted you just need to flash the recovery image

open cmd promt and enter the following code

cd/
cd /androidsdk/tools/
adb shell
su
cd /sdcard/
flash image recovery recovery-RA-heroc-1.5.2.img

wait for the # symbol to come back up then type

reboot recovery
[Hero CDMA Android Development] bossyman15:
how do you install pre-kitchen?

i went into recovery mode and tried to flash the zip but I got the error

E:Verification failed

oh wait never mind i figured it out nm
[Hero CDMA Android Development] DroidDhakan:
Pre-Kitchen is for your Windows.. it should run from your PC. You are not suppose to push it to the phone. Extract the Pre-Kitchen zip and run "pre-kitchen.exe"
[Hero CDMA Android Development] wtphoto:
the pre kitchen is NOT for your phone unzip the file to a folder of your choosing on your computer and then just run the .exe
[Hero CDMA Android Development] trapharder4844:
phone could not be found

hello i am new to this i am running the frsh rom but when i try to use the kitchen it canot find my phone what am i doing wrong
[Hero CDMA Android Development] 702DROID:
turn usb debugging on
[Hero CDMA General] akin_t:
I got a dead pixel, Sprint has agreed to replace my Hero ... It sucks I'll have to root and set up my custom scenes all over again but it's no biggie.

My major concern is losing my text messages, how do I migrate them from one Hero to the other? Can I put them on the SD card?
[Hero CDMA General] posguy99:
You don't.

There are backup utilities in the Market to let you do a number of things with SMS messages.
[Hero CDMA General] miguelfp1:
how about restoring a nandroid backup from your current Hero onto the new one? is it possible/feasible or will it cause a load of problems? that way you'll have the new phone exactly like your current one...

any experts care to chime in?
[Hero CDMA General] x99percent:
lol

I use "SMS Backup & Restore", found in the market.
[Hero CDMA General] posguy99:
I'm not an expert, but given that Nandroid goes to the trouble of marking the backup with the unique device ID, there might be some problem with that idea.

OTOT, I know when the Sprint Hero was first rooted, people were passing around pieces of Nandroid backup images, so maybe there is no difference.
[Hero CDMA General] ajones7279:
Just do a nandroid backup and restore. Shouldn't be any problems. But if you're not sure about that, sms is stored at /data/data/com.android.providers.telephony/databases/mmssms.db. Just back that up and push it to your new Hero. Then'll you have to go through setting everything back up.
[Hero CDMA General] lv2bll:
my backup by reware(free)
[Hero CDMA General] thedudejdog:
there was a post around here somewhere a guy tried that and it worked fine.

http://xdaforums.com/showthread.php?t=592798&highlight=nandroid+backup+phone
[Hero CDMA General] flipzmode:
My kitchen includes an sms backup and wipe. Right now it doesn't include a way to push it back to the phone (that wasn't really something I was going for, there are plenty of backup programs) but it's another option. You would just have to manually push it back.
[Hero CDMA General] akin_t:
Thanks guys, I was having trouble with the Nandroid back up so I skipped it after rooting. I will move the SMS database to the new phone. Thanks again.
[Hero CDMA General] Lappie2010:
Wow. Suprised they would agree to replacing it for 1 bad pixel. I have two. Guess ill try it too.
[Hero CDMA General] akin_t:
Well I just got my phone, it's still under 30 days ... Still, it's a principle thing, they should replace it if you get a defective product.
[Hero CDMA General] akin_t:
Can you expand on this a little? I feel it's the least invasive way to accomplish what I'm shooting for.

I'm assuming this all has to be done on the command line? Basically I 'cd' to that directory and copy the file mmssms.db and push (or paste) it to the same location once I get my new Hero?

Sounds easy enough, I hope it goes smoothly.
[Hero CDMA General] mercado79:
just thought i'd chime in here. i restored from one hero to another (replacement) a few weeks ago and everything is still working fine. haven't had any problems (other than the gmail sending issue mentioned in the other thread...cleared cache solved it).
[Hero CDMA General] akin_t:
So my new phone is here

The directory exists, I can cd all the way to /databases ... However I cannot pull mmssms.db ... I am told "pull: permission denied"

Help?
[Hero CDMA General] thedudejdog:
Type su first

Make sure you have a # prompt

That should do the trick
[Hero CDMA General] thedudejdog:
The phone is rooted I assume? Also you should just push the file to the new phone, it'll just copy over the old one
[Hero CDMA General] akin_t:
Yes, it is rooted. I'm trying what you suggested now. I'll let you know how it goes

Ok that worked ... However, I guess I'm a noob with Android syntax ... I can't seem to perform a pull.

I want to copy mmssms.db to my sdcard ...

When in the /databases folder, I typed ls and it listed that mmssms.db and telephony.db were present ... I know I'm in the right directory, how do I copy this? And how do I paste it back to the directory of the new phone?

Thanks.