yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] xhoangx:
Hey Cyanogen, always love your stuff. No biggy, but is there a possibility you could make a script for the accelerometer fix to run from console (like fix_permissions) and include it in your next version? Because I've been having the accelerometer issue a lot lately after flashing and it would be great if I didn't have to open up your thread to find and type those long commands every time. Again, not a biggy, but would be nice to have.
[G1 Android Development] DOHCtor:
You have outdone yourself again Cyan! Love the new look and apply any zip is awesome. Thanks for your hard work!
[G1 Android Development] cyanogen:
I might just make it a "Repair System" option, that checks your filesystems, runs fix_permissions, cleans up files like akmd_set.txt, etc..
[G1 Android Development] Drizzy Drake Rogers:
can you add a prompt for nandroid backup I keep pressing it on accident 3 times today"maybe its my trackball lol"

Thank you are a legend in my book!
[G1 Android Development] smsrat84:
Quick question, what do you mean "ANY .zip" can be applied?
[G1 Android Development] revwillie:
if you have any files with a zip extension on the top level of your sd card, they will show up as choices from which you can pick to apply. i.e. CM39.zip, OREOv8.zip, so you don't have to manually rename the one you want to apply to "update.zip" anymore.
[G1 Android Development] smsrat84:
F'in A man! That rocks! Great work Cyan! Love it!

:cool:
[G1 Android Development] htcclay:
Thank-you... for ALL YOU DO!
[G1 Android Development] ttabbal:
This project is great. Thanks for the excellent work man!

Just a couple thoughts. Is there a plan to include the switchrom.sh script from another thread here in the recovery menu? That would rock. Being able to tag the backups is great.

Is it possible to include the keyboard hacking that ConnectBot uses? I love those changes when on a command prompt. Particularly one with command completion like ash which I think is at least available in this recovery image. The right side alt and shift, and the doubleclick of the trackball for esc are the ones I most often use.
[G1 Android Development] Metatronx:
As always absolutely incredible job. I love the idea of a repair option in the next version as you suggested. I also 2nd a prompt for the backup because I've definetly backed up a bad version more then once when I meant to restore. One last thing I'd like to suggest in the next version is just having a wipe ext 2/3/4 button. I do it in console but I think that 'd be great to have for those who are new to the flashing game and result in less posts about errors. Thanks again for all your hard work.
[G1 Android Development] garok89:
hey great work. v1.4 is much easier to see than the last.

keep up the good work
[G1 Android Development] geekingitup2005:
Thanks man keep up the good work! Love the trackball support.
[G1 Android Development] caleoss:
when i hit alt b says "error running nandroid backup, backup not performed"
[G1 Android Development] demize!:
Thank you for this.I had it on a rom I recently flashed and disappeared into the ether and couldnt do alt x etc,plus it looks real nice.One question,I have not had succes with lucid rems Apps to sd method using his app.Can I now use this method without it conflicting.I wiped and it seems some of his scripts are still active somewhere.???
[G1 Android Development] mianosm:
Thanks for continuing to make the G1 better, and better. : )

Can't wait for the updated recovery image. = )
[G1 Android Development] icemikesr:
help

I typed exactly what it said and I got error opening no such file or directory any reason why?
[G1 Android Development] xidominicanoix:
hmm thats weird .. ive never gotten that before ... hopefully someone with a little more knowledge on the issue can help

EDIT: do you have an sdcard inserted? this could possibly not allow the nandroid backup to run
[G1 Android Development] xidominicanoix:
did you make sure that the file was exactly where you told the command it would be, i.e. if you did

flash_image recovery /sdcard/cm-recovery-1.0.img

is cm-recovery-1.0.img actually on the sdcard?

if you're doing everything threw adb then this is exactly how to do it:

adb push C:\PATH_HERE\cm-recovery-1.0.img /sdcard
adb shell flash_image recovery /sdcard/cm-recovery-1.0.img

where PATH_HERE is the local directory where cm-recovery-1.0.img is located

hope this helped :D
[G1 Android Development] caleoss:
ive searched forums and still cant figure out why is says backup not performed... thats main reason i flashed this...
[G1 Android Development] eldolche:
talk about gorgeous love the blue colors
[G1 Android Development] bryon13:
Thanks for the tip! Hadn't thought of that! Do I need to adb in while it's running, or in recovery mode for things like converting ext2 to ext3, etc...?

-b
[G1 Android Development] Denkai:
it helps users who don't have adb, or don't like to use it. I personally love the new recovery menu and highly suggest it.
[G1 Android Development] caleoss:
i formatted the card now it works like a charm, thaNKS

now if only u could do a nandroid restore from the same menu...like alt+r

ok, so nandroid back up about 12 .img files, now thats my entire phone right? i have been hesitant to try Hero lately, but might just flash it for a sec to see what its like. now how do i get my phone bacl exactly like it is now, before i try hero? i have abd but have never used it
[G1 Android Development] prscott1:
I really love this! It is so easy to use!! Thank you so much.
[G1 Android Development] fairymaru:
I already flashed it and I love it thanks for your excellent work!
[G1 Android Development] defconoi:
Awesome work, ill be waiting for this fix b4 I flash since I use altx regularly
[G1 Android Development] hamshu:
According to Twitter, he fixed the console problems and will be uploading 1.1 soon.
[G1 Android Development] xidominicanoix:
the only images you really need are data.img, system.img, and boot.img

to restore your image get into fastboot and then here are the commands:

fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img

This is assuming that you are running the commands from the folder that contains the images

Also don't worry if it takes a while with system and data, since they are a little big.

TIP: What I do is put those 3 images in the root of the C:\ drive so then I can find them quicker ;)
[G1 Android Development] cyanogen:
Version 1.1 is posted which fixes the alt+x problem. Turns out you have to compile fbcon as a module in 2.6.27 or you get lots of problems.
[G1 Android Development] malaeus:
is the only issue so far the console? and as stated that can simply be worked around by using adb.

my question is if i already have a nandroid backup folder from JF1.43, i am assuming it will continue backing up in the same folder without issue? considering cyan said he built this from messing with JF1.4x recovery.

JF1.43 has nandroid v2.1 and so does cyans.

also, with the permissions_fix.sh, once the console is fixed in v1.1, would you use the console the same as teminal emulator/adb? or will there be a variable name to type in and hit enter. and with that, should the permissions fix be performed after EVERY update? including non-wipe themes like hero v1.2 for example.

thanks for everything.

... and if that doesnt speak to cyan's reputation, after posting and refreshing the page i discover that version 1.1 had just been published. great work sir!

--peace
[G1 Android Development] mer6:
Installed & loved.

Just had a birthday last week and I will get you a beer as soon as Paypal is up and running again. Thank you for being here for us novice G1 modders, along with all of the other devs.
[G1 Android Development] Purge13:
Just flashed this...whoa looks awesome! Thanks so much
[G1 Android Development] Kwincy:
Just flashed, this is bad ass!

Nice work!
[G1 Android Development] droiddv:
I gotta say, you guys are the ****. Definitely keep these coming. Improvements every single day, I simply love it.
[G1 Android Development] Krazyone:
I cannot believe how fast these updates are coming out!!! I have literally been loading patches and stuff for 3 weeks straight!!! Keep em coming... When i get some money i am def. buying you a few beers!
[G1 Android Development] cal3thousand:
This thing is AWESOME!!!

I would like to make a suggestion to build upon your ANY.zip functionality:

Could we have a designated folder that the Recovery searches through instead of having them all in the root of the SDCARD? Like maybe a folder called /SDCARD/updates ?

Being able to choose the Nandroid copy to flash would be another cool add on. :)
[G1 Android Development] JAWheat411:
This was said to be included in the future updates.
[G1 Android Development] RaQHoliday:
Well this is frickin' AWESOME.
[G1 Android Development] renegadedj:
theres something i noticed in the past cm recoveries and also the new 1.4

the main thing is that they r so effing awesome and helpful i dont know if id still be as happy as i am with my g1 without them.

one SMALL thing: when i go to console in recovery, and do some commands, if i type recovery from console to go back, and i accidently go into console AGAIN in the same recovery session, it gets stuck. i have to pull battery to get out.
[G1 Android Development] esouthatx44:
quick question so with the restore latest back up is that it? you dont have to do any adb commands or nothin like that justck nandroid back up and whenever in need of restore just do that?
[G1 Android Development] temporizer:
Try typing

reboot recovery

Instead
[G1 Android Development] renegadedj:
my apologies i shouldve better explained. when i said stuck, im saying STUCK. like i cant type anything. if i accidently hit console again from recovery, it goes back to where i was in console, but with no cursor, no typing comes up no matter when i do. no # for su or nothing. just stuck.

not a big deal imma big boy i can pull a battery lol just a small speedbump :p
[G1 Android Development] kingsizeriz:
he means the first time you type recovery type reboot recovery instead, and also you dont need to do a battery pull.. just hold send + menu + end
[G1 Android Development] kingsizeriz:
i cannot flash this?

it throws up the error that the file could not be found despite it being on the sdcard root?

any ideas?

thanks, i had this problem with 1.3.1 too until the zip update was introduced...

Edit: I'm a plonker.. had the SDCARD mounted, so wouldnt find the files.. doh.
[G1 Android Development] XL3N7:
Error in CACHE

I have installed this recovery image and I keep getting an error at the bottom saying

E:Error in CACHE:recovery/log

Any ideas?

The only problem I have is with the market. I can't download anything. I keep getting a Download unsuccessful message. Other than that, the phone works ok. I haven't tried a wipe just yet.
[G1 Android Development] johnnylicious:
try rebooting your phone and try to flash the recovery image again.
[G1 Android Development] borodin1:
I was going to ask fo rthe same thing. As a matter of fact, I have 3 folders in my /SDCARD/updates : roms, themes, apks just because I'm a neat freak, I have to have everythin in folders. I would gladly transfer all my roms and themes into /sdcard/updates if Cyan could make it work. So +1 on making it look into /sdcard/updates as well as /sdcard.

Other then that.... loving it!
[G1 Android Development] My_Name_Is_Neo:
@cyanogen

I have a suggestion. I earn my bread by being a softare usability engineer :P here is a suggestion. rename "Apply any zip from SD" to "Apply system update" & remove "Apply sdcard:update.zip". it is more intutive and less confusing. when user presses this, a list of possible system updates is given or an error if no zip file is in the SD Card.

Up to you to consider it.
[G1 Android Development] temporizer:
Instead of typing

recovery

The first time, type

reboot recovery

Then you won't have that problem.

Try the fastboot method on the first post. Worked for me.
[G1 Android Development] renegadedj:
gotcha! 1st time in console when i leave type: reboot recovery : !thanks!
[G1 Android Development] youneek:
on the front page it says

"* Updated GNU Parted (ext4 support, etc)"

I tried to create an ext4 partition but it says it's not supported... What do you mean by ext4 support for parted?
[G1 Android Development] NexVision:
A prompt on backup and a selectable restore option are the only things which could make this any better and those are just addons to a phenominal item.
[G1 Android Development] illrific:
do i put the command code in the termianl emulator or do i do it from the computer?
[G1 Android Development] Ohene:
How do i put this on my phone
[G1 Android Development] FotoJesse623:
Thanks

Thanks for this. Your work and the work of the other Developers rock!!!
[G1 Android Development] johnnylicious:
you need to get BANNED... please READ THE FREAKIN FIRST POST THERE A REASON WHY ITS ON THERE.... :mad: :mad:
[G1 Android Development] DMaverick50:
put it on your sd then go in to terminal and tyoe

su

flash_image recovery /sdcard/cm-recovery-1.4.img
[G1 Android Development] senaia:
Yet another stupendously fantastic creation from who I would consider lord and master of android, now I can keep all my updates labled with easy names like... 3.6.8.1, theme, htc music and not wonder what I just applied :D cyan doesn't deserve a beer, he deserves the brewery
[G1 Android Development] Ohene:
Im on my phone and for some reason the first page isnt loading and im new to this so....NEXT to "Johnnylicious" <==(kinda sweet dont ya think?) and thanks to DMaverick50 i appreciate the help.
[G1 Android Development] johnnylicious:
oooh well i still believe that isn't a good enough excuse there's been numerous image recovery before this "one" and you install it the exact same way but whatever... :rolleyes:
[G1 Android Development] bootleg16:
yup ban this noob
[G1 Android Development] XL3N7:
I have tried numerous times. The image is flashing but the error is still there

Also when I try fastboot, I get a message

fastboot:not found
[G1 Android Development] Ohene:
Go ahead I didnt flash the other ones myself so im learning myself now so if u can go right ahead but i didnt do anythin yall jus sensitive
[G1 Android Development] johnnylicious:
if your trying to fastboot, you need the fastboot file in your android sdk tools folder so maybe thats why

and make sure your in fastboot mode hold camera + power
[G1 Android Development] pensive:
Although it is not as convenient and thought free as the UI

You can do this now from the command line by using the new nandroid-mobile.sh options.

nandroid-mobile.sh --help

will explain to you what is available now.

You can manage your backups from different folders and name them anyway

you please (don't go nuts though)

nandroid-mobile.sh -b --subname CYAN-3.6.8.1-superHERO -c

will create a compressed backup named CYAN-3.6.8.1-superHERO-CBMRS12-timestamp

nandroid-mobile.sh -r --subname 3.6.8.1 (for example)

will restore that backup if it is unique.

If you also have a backup called CYAN-3.6.8.1-sideKICK

it will give a choice which one to restore.

As far as updates go you can stick them in different folders and if you need to apply them

nandroid-mobile.sh --getupdate --path folder

will tell you what you have and will move the update into the sdcard root, preserving the name of the update

in a update.name file.

The current UI apparently only looks up updates in the sdcard root, if you want more flexibility and willing to

use the command line there are options to do that.

PLAY with it.
[G1 Android Development] pensive:
Where exactly are looking for the fastboot? Your phone?

fastboot lives on your PC.
[G1 Android Development] pensive:
Just wipe out that log, look at it at first if you like.

1)su

2) more /cache/recovery/log

3) Hm, looks like nothing serious is going on.

4) rm -f /cache/recovery/log

5) relax
[G1 Android Development] StaggerLee123:
applying cyanogen recovery 1.4

Tried this several times, both from the terminal emulator in JFv1.51, and the recovery console, and kept getting a message stating the file was not found.

I finally had to manually mount the sdcard through the console, cd into it, then run the commands to successfully apply the update.
[G1 Android Development] XL3N7:
Yes, got it now but still, the recovery image is flashing fine, so I don't think it's going to help. I'm at work right now, so I won't be able to use my PC before tomorrow.

I have tried removing the log but the error is still there. Gonna perform a wipe now and see what happens

Ok, the error is gone now. The wipe has done the trick.
[G1 Android Development] mhsbrian:
Love the new recovery!

One thing I think could improve it, I have downloaded most of the ROMS into my download folder on my phone to keep my root directory clean on the SD card.

I think your update from ZIP option would be a whole lot more effective and cool if it searched the whole SD instead of just the root directory.
[G1 Android Development] howes:
Just keeps getting better and better!

About to tryout the restore, </3 touchflo3D.
[G1 Android Development] Tawm:
Awesome, thanks! :D
[G1 Android Development] Stretch3000:
My god man! You're a genius! This recovery image is the S#!T!!
[G1 Android Development] ei8htohms:
I second this

This recovery image is so great that I hesitate to even make any requests or what-have-you, but I second this idea.

Great job with this!
[G1 Android Development] DavidChill:
Flashing Any .Zip

So we can now flash any .zip that's in the root of the SD even if it's not named "update.zip"?
[G1 Android Development] heavenlydemonic:
Forum really doesn't need people like this ... seriously.

On Topic, this is a fantastic update from 1.3, thanks for all the hard work, I for one really appreciate it!
[G1 Android Development] schwiz:
you are amazing!
[G1 Android Development] glock30:
Yes... done it a few times myself already :P
[G1 Android Development] micool_21:
Cyanogen, very slick work. DMav, very easy directions. worked like a charm!
[G1 Android Development] DMaverick50:
lol, thanks but i just copied and pasted from the op
[G1 Android Development] lostman1027:
So beautiful *cry*

This new update is amazing I always hated having to rename the zip and now I don't have to.
[G1 Android Development] goatmonkey:
After flashing 1.4, my phone won't boot into recovery mode. Fastboot works fine, normal boot works fine... :confused: I thought I bricked it again until I just tried the power button and it started up fine.

Baseband 62.52S.2018U_3.22.20.17

Build 1.85.631.5 146733 CL#33863 release-keys
[G1 Android Development] pgarza:
maybe try reflashing the image, this time erasing the recovery image then reflashing.... there are instructions on how to do so from terminal on first post.

THIS IS FREAKING AWESOME>>>>> the new update from any zip feature just took the cake! Cyano~, not sure how you keep doing it... but you keep raising the MOFO bar with each release.... kudos mate!
[G1 Android Development] sillyshy:
Question do you really need the 3 partions on your memory card?
[G1 Android Development] goatmonkey:
I've flashed it a few times, erased recovery and flashed, and even deleted the image from the SDcard and recopied it (I thought maybe it was a bad copy or a bad spot on the card). Nothing seems to happen.
[G1 Android Development] surfoni101:
Thats HOT!!!!!!!!!!!
[G1 Android Development] Diceman4:
Not really relevant, unless do you mean do you need a recovery partition? If so, emphatic yes, as long as you want to be able to flash a ROM, backup your phone, restore a backup etc.

If you mean having fat,ext, and linux-swap then not really relevant to this thread but it matters on the speed of your card. Just search the thread for whatever ROM you are using to see if you should...
[G1 Android Development] teflon252:
This is the ultimate recovery...smh....you guys never cease to amaze me....great work....
[G1 Android Development] themadbogart:
better and better

cyanogen - 1.4 is beautiful. thanks a bunch for the hard work.

all of the green goes good with the HERO stuff.
[G1 Android Development] rg8rc18:
1.4

I had 1.3.1 but upgraded to 1.4 without any problems and I'm loving the new look! You're amazing! thank you!
[G1 Android Development] oldsk00lz:
What can I say..... nice!

Here are some requests that may be useful.

1) nandroid restore selection versus last ROM. (switchrom.sh looks like a good alternative, and I like it's /system/sd backups)

2) The update from anyfile works great. It does currently only search the root folder (for performance reasons, I bet). It would be nice to ALSO search in a different directory, either via browsing directories, or a specific folder (i.e. /fw). This would allow us to store old roms in a backup folder and keep the root more clean.

cheers................

-oldsk00lz
[G1 Android Development] skilo0918:
flashing

Im having a little problem flashing image 1.4, when I type the command into terminal I see the usage info but then it says option [-d] to delete image after flash. I dont know what to do after that can someone please help me with this I had the same problem with 1.3 but no one helped me.
[G1 Android Development] innerspace:
+1 - I concur.
[G1 Android Development] spinjason:
Flashing

It had been a while since I had flashed a recovery and had gotten use to doing everything from my phone. On the phone it is a save link option, there is no save as option, when i did that it downloaded as a .txt file. it was the same size but didn't want to just change it to .img and risk screwing up my recovery. I went ahead and downloaded it on my comuter and it flashed fine.

I was wondering if i had just changed it to .img would it have worked or did I make the right decision to use my computer to download it and the flash from the terminal..

Seems like it might be something someone might do in haste and screw their phone up.

Thanks
[G1 Android Development] mavgink:
happend to me aswell... but it was already installed!

so check yout recovery ... maybe you already have 1.4 :)
[G1 Android Development] Socialoutcast:
Very nice update. I like the added feature of flash any zip. I like to try new themes and stuff out so I just store a bunch on my sd card. This will help keep me sane without having to rename them all the time.
[G1 Android Development] Buster3616:
Stupid question: will the restore feature still work if i rename the folder of my backups? (not the nandroid or device number folder, the one containing each specific backup)
[G1 Android Development] ESKIMOn00b:
A trick passed on to me:

From terminal "wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img"

Will initiate dl to whatever pwd is
[G1 Android Development] Rmag37:
Lol@spinjason - that's pretty much what I was gonna ask. I unfortunately only have my phone to do this on.

So... if anybody can tell me if changing from .txt to .img would screw me up id really appreciate it. The only computer I have is without internet access.

If I can't than could I do without the recovery img? I'm a total newb at this and I haven't even rooted yet, I am still downloading the hardspl/recovery.img/rom

I was thinking that if I could go without it that once I install cyanogenmod on my rooted phone I could tether it to my laptop and download the img.
[G1 Android Development] ESKIMOn00b:
I just told you how to dl it to your phone without a computer....
[G1 Android Development] outoutout:
How to Flash via Terminal, no adb or mounting the SD card required

I used this same method. You don't need adb, just do it via the terminal. I posted instructions here, pg94:

http://xdaforums.com/showpost.php?p=4209860&postcount=932

You need root of course, and a brain. This method works flawlessly. Great work cyanogen!

-out
[G1 Android Development] ESKIMOn00b:
And busybox is required I believe... can anyone point me in the direction on how to edit the recovery img to change the directory it Greps for zips to flash?
[G1 Android Development] pensive:
Use the modified nandroid-mobile.sh

nandroid-mobile.sh --getupdate --path YOURFOLDER

if you feel comfortable with the command line.
[G1 Android Development] spinjason:
Now that you mention it I have done this once before with something else, it worked like a charm.

Thanks