yashsingh1/xdaforums huggingface dataset:
[Android Software Development] KyleCole90:
Hello, I am a developer for the Evo and i was curious how i would install a custom kernel (Netarchy-Toastmod) into my rom (Tha Boss Rom. So far i copied all the files into the appropriate folder but what do i do with the boot image. I tried flashing with the files in place but it did not take. Any advice?
[Android Software Development] gnarlyc:
You probably should ask this in the EVO Android Development forum. However, since I'm here, I'll do my best.

The boot.img should be at the root of the folder structure.

../NewFolder/system

../NewFolder/META-INF

../NewFolder/boot.img

You then have to zip the CONTENTS of ../NewFolder and sign the resulting zip with something like EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=Extras).

Or you can just load the original ROM into dsixda's kitchen in the original_update folder (http://xdaforums.com/showthread.php?t=633246), select '1' to create a work folder, copy the files into the correct locations, and then select '99' to zip and sign the ROM. It will then be in the OUTPUT_ZIP folder. The kitchen walks you through these steps really well, if you read the prompts.

Then flash the ROM.
[Motorola Droid and Milestone General] 89luca89:
Hi guys,

I'm a milestone owner, and very happy with this device, I've upgraded it with 1,1ghz ULV module, memhack, busybox and JIT and it's a lighting, but here is a question that I have:

I'm a linux user so I started to "play" with the busybox addon of the terminal (straight on the device), I am also a maemo user where the swap file was usual to create on the sd to make the device more usable;

Now, how about the milestone? Using the swapper app in the market, it seems to not work (using "busybox free"in the terminal doesn't show me any swap) so how to enable a swap file or partition on the milestone? I think it will help a lot for the memory hungry systems, themes, and on developing roms linke the Dexter's froyo and sense mods (which lacks on the ram front)

Have anyone managed to have swap to work on the milestone? or Is out there any guide to do it?
[Motorola Droid and Milestone General] Babis_ECE:
This sounds like an excellent idea. As I am also a linux (Ubuntu 10.04) user too, having a swap "partition" on your Milestone will give "memory hungry" applications exactly what the need.

Will be watching this Thread! :cool:
[Motorola Droid and Milestone General] 89luca89:
Yeah, my question is about the fact that other phones (i heard about spica,dream,g1) have this feature, but the common command on linux/maemo does not work :/

Hope there is a solution :-(
[Motorola Droid and Milestone General] 89luca89:
So guys, the problem is in the kernel I frear...

using busybox, I've managed to create a small 128mb partition, and also a. Swap file (to test), but the function

"Swapon" says it's" not implemented" so where is the origin of the pWow thats strange that nobody tried ;-( ok I will try to find a solution and I will report back what I find. Hope to have skme help lol xD

Edit:

so" not implemented" is in the swapper2 application; doind it in the terminal these are the results:

export PATH=/data/local/bin:$PATH

$ su

# busybox swapon

BusyBox v6905964.73458437589.3945345.RELEASE_FROM_FUTURE (2010-04-10 21:43:08 MSD) multi-call binary.

Usage: swapon [-a] [-p PRI] [DEVICE]

Start swapping on DEVICE

Options:

-a Start swapping on all swap devices

-p PRI Set swap device priority

# busybox swapon -a

swapon: /etc/fstab: No such file or directory

# busybox swapon -a /sdcard

swapon: /etc/fstab: No such file or directory

# sudo gedit /etc/fstab

sudo: not found

# gedit /etc/fstab

gedit: not found

# vi /etc/fsteb

vi: not found

So thats it....what is this fstab file?? I know its about partition table or something like that, but why we lack it? We have to figure how to implement it...maybe in that way the swap can be set via busybox... help :-(

#roblem??? :-( help!
[Motorola Droid and Milestone General] kreat1ve:
Looks like someone has figured it out!

Please someone try and report back :)

http://www.droidforums.net/forum/bl...built-source-fast-working-3dlauncher-220.html
[Motorola Droid and Milestone General] kniffo80:
nice find keat1ve ... perhaps i will try out in the evening. if my wife gets me some spare time ;) ... the instructions at droidforums is not really correct for milestone. it has to be adapted a little bit!
[Motorola Droid and Milestone General] 89luca89:
Will try right now, I will tell you ^_^

Thx a lot!!
[Motorola Droid and Milestone General] yantz:
yes it can and has been done. swap adds working memory true, but all those writing/reading to/from a partition/file in your sdcard WILL slow down your phone and shorten your sd card's life. its your choice eventually: either you want more memory, or you want speed. you cant have both.

yantz
[Motorola Droid and Milestone General] 89luca89:
@kreat1ve

this guide about the partitioning with adb does not work with milestone, I will try to create a swap partition with partition magic and then use droid swapper to enable it... let's hope xD
[Motorola Droid and Milestone General] grimpy:
I dont wonna sound negative or anything but this is for the droid which is completly open which probably has a customized kernel with swap enabled, while our milestone is locked and does not have swap enabled in its kernel :(. Anyway i dont think trying this will hurt so i hope it works out
[Motorola Droid and Milestone General] 89luca89:
Following the guide, does not gave me results, but I asked to he one that posted it for more info;

meanwhile I've managed to create a .swap file and mkswap it using busybox, these are the results:

export PATH=/data/local/bin:$PATH

$ $ su

# dd if=/dev/zero of=/sdcard/.swap bs=1024 count=262144

262144+0 records in

262144+0 records out

268435456 bytes transferred in 57.985 secs (4629394 bytes/sec)

# mkswap/sdcard/.swap

mkswap/sdcard/.swap: not found

# mkswap /sdcard/.swap

mkswap: not found

# swapon /sdcard/.swap

swapon: not found

# busybox mkswap /sdcard/.swap

Setting up swapspace version 1, size = 268431360 bytes

UUID=16e9c236-61d9-49ec-a023-c529adb3109c

# busybox swapon /sdcard/.swap

swapon: /sdcard/.swap: Function not implemented

# busybox swapon -a

swapon: can't stat '/dev/block/mmcblk0p3': No such file or directory

# busybox free

total used free shared buffers

Mem: 230500 227516 2984 0 32

Swap: 0 0 0

Total: 230500 227516 2984

#

so the problem is that swapon does not recognize the file (but manually puting fstab in /etc and a file 06userinit within /etc/init.d/ containing

Code:

#!/system/bin/sh

swapon -a) but probably a partition of the sdcard may be recognized....now the problem form me...

I use windows 7 64bit...how the hell can I partition my sdcard with a swap partition?? LOL! XD

This is what blocks me...lol
[Motorola Droid and Milestone General] kassy_ok:
try here

or

here
[Motorola Droid and Milestone General] 89luca89:
sadly the problem is in the kernel...."not supported" is the result of every swapon command...have to wait an official support or a custom kernel in 2nd boot...let's hope and wait...
[Motorola Droid and Milestone General] TheSSJ:
Question: can't it be solved by creating a module supporting swap-filesystem?
[Motorola Droid and Milestone General] alncool:
I'm wondering if someone has created such module?
[Motorola Droid and Milestone General] xooy:
I don`t know~~
[Motorola Droid and Milestone General] alncool:
It seems that creating such a module is very hard. See the page cyanogenmod for milestone here :

http://code.google.com/p/cyanogenmo...ID Type Status Priority Version Owner Summary

I suggest everyone to star the feature. Maybe it will be developped by someone ... who knows !
[Motorola Droid and Milestone General] wisefreakz:
So my friends... anyone could avance on this thread?

Sounds promising... but i also get stuck when enabling the swapon...

Anyone?

Cya
[Motorola Droid and Milestone General] kilabdg:
Hi!

Now, when we have official Froyo for MM with 2.6.32.9 kernel, can anyone create SWAP module for this kernel?
[Motorola Droid and Milestone General] gusthy:
unfortunately no. Swap is not a module in Linux kernel, it changes the kernel's internal behaviour, so you cannot compile as swap=m, it is definitely y or n.
[Motorola Droid and Milestone General] linuques:
It has been discussed before.

It cannot be done, kernel doesn't support swap.
[Motorola Droid and Milestone General] HO!NO!:
The only way i am thinking to made it work is to do like XT720 with fast boot, but how, i don't know ...
[Motorola Droid and Milestone General] zw.paper:
what i remember is that all the difficult is because of the LOOKING BL, why MOTO dose not unlock it, they left us alone with the locking BL, WTF do they thinking about this!
[Hero CDMA Themes and Apps] swapped:
Super Easy Way to Root Sprint .6 Release (might work for other carriers also)

Download the app from this post (or the one attached here) to your phone and install with Astro or the like.

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

Run app, select appropriate version, hit root. Wait ~30 sec, see root confirmation. You are now rooted!!!!

Need a super easy way to get recovery image installed? Download ROM Manager (free) and install the ClockworkMod Recovery. You can now install roms with either ROM manager or thru recovery. You can even flash alternate recovery (RA 1.6.2) from rom manager.

This is stupid easy!!!!

I just did these exact steps about 10 min ago and it worked flawlessly. No messing with RUUs.

Not sure if boot-patched.zip should be flashed afterwards like in the original 2.1 root. Someone else please chime in on this.

NEW VERSION ADDED
[Hero CDMA Themes and Apps] theresthatguy:
confirmed this works.
[Hero CDMA Themes and Apps] scottspa74:
question...

I've rooted my Evo , but now tryin to help a buddy root his hero. New to this. I'm curious about some specifics of this. At what point can you nand backup and wipe? As I've noticed most peoples problems rooting come from not wiping data, dalvik cache, and factory reset.

Also, you need to do the 2.1 update before doin this, does it matter? My buddys hero is still on 1.5. Any extra info, specifics, technical info much appreciated.

Thanks in advance. Looks great, and thank you.
[Hero CDMA Themes and Apps] jxr94:
Yes you would have to update to 2.1 for this to work, but since your 1.5 why not just root from there?
[Hero CDMA Themes and Apps] swapped:
The app has a 1.5 setting (I HAVE NOT TESTED THIS), but I would recommend doing the 2.1 update first as you will get a newer radio etc....

The point where you do the nandroid backup and wipe is after you install a recovery image. Once you have recovery image installed, you boot into recovery (all stuff you can do from rom manager) and then you do it from there.
[Hero CDMA Themes and Apps] scottspa74:
Hmmm. Ok. I just started lookin into this for him last night. This appears to be the easiest root method I've ever seen. Is there a root method or exploit for 1.5 that's as easy as this? Hard to imagine so. I've seen a 9 step root from 1.5 so far , but if this works from 2.1, it seems it'd be easier to update to 2.1, then do this.

This provides full root, recovery, and nand unlock, though, huh?

IDK if there's some other method that you know of that's easy, AND reliable, it'd be much appreciated. Don't wanna jack up my buddys phone. I'd never live it down.

Thanks though.

And @ swapped, thanks, I missed your reply before I posted this.

Oh, and is the superuser app included in this ? For my Evo, I had to put a SU zip on SD and flash it. Same for hero?
[Hero CDMA Themes and Apps] theresthatguy:
The app installs superuser
[Hero CDMA Themes and Apps] edisonalvarez:
I just used this on my wifes phone and I had some issues downloading the apk file initially but after that, this was the EASIEST way to ROOT hands down...almost too easy to believe to be honest. WOW....thank you all who contirbuted to this....
[Hero CDMA Themes and Apps] MrDowntown12:
Dont know if this is the 9 step you're talking about but this is the easiest way to root 1.5

http://theunlockr.com/2009/11/18/how-to-root-your-sprint-hero-in-one-click/
[Hero CDMA Themes and Apps] ku_:
Will this work for EvO?

sent from my EVO 4g on the best App XDA Developers !!!!
[Hero CDMA Themes and Apps] scottspa74:
Thanks everybody. (Too easy to believe sounds about right ;) ) . Gonna flash buddies hero to official 2.1, then try this .

@Ku_ I can't see how this would work on Evo. Would need different files, I believe, different .ing
[Hero CDMA Themes and Apps] rynoman01:
This worked great to get rooted. However, I'm wanting to put a custom ROM

(Fresh Hero 2.3.3.

on and I'm having trouble with not being able to flash Clockwork Mod Recovery in ROM Manager

"An error occurred while flashing your recovery"

Any thoughts?
[Hero CDMA Themes and Apps] Jables80:
Had the same issue this morning. After a reboot cleared ROM Manager's download cache and it did the backup just fine.

Hope it helps.

JB
[Hero CDMA Themes and Apps] edisonalvarez:
Had the same issue and I downlpaded it again but still no go....should I wipe again?
[Hero CDMA Themes and Apps] churro7:
Universal androot 1.61

Seems not to work on HTC Sprint Hero 2.1 with latest .6 update

anyone else confirm?
[Hero CDMA Themes and Apps] raymond4:
It worked for me i did it two days ago i had a non rooted cdma hero with the .6 i am running cm6 I didn't need to downgrade at all
[Hero CDMA Themes and Apps] zenulator:
In case people didn't know the Universal 1-Click root works for the CDMA Hero even if it's running the latest RUU. I managed to root and install a custom recovery and custom overclocked kernel in about 15 minutes after flashing the RUU strictly "over the air" using no terminal commands.

Step 1: Download UniversalAndroot_1.6.1.apk from here

Step 2: Download a filemanager from market. Explorer works fine.

Step 3: Open the filemanager on your phone and navigate to where you downloaded UniversalAndroot_1.6.1.apk

Step 4: Install UniversalAndroot_1.6.1.apk through the filemanager (if you get errors about Unknown sources then go into settings > applications and make sure Unknown sources is checked)

Step 5: Open Universal Androot and click root

This will root your phone and install the latest Superuser.apk

Step 6: Download RomManager from the Market. Allow it su permissions and either install ClockworkMod Recovery or Amon_RA recovery.

Step 7: Download whatever Roms you want and flash away

If this has been discussed somewhere else I'll take it down. Hope this helps people with brand new Hero looking for a quick root with no terminal commands required.
[Hero CDMA Themes and Apps] omair2005:
Nice this should be a sticky.:)
[Hero CDMA Themes and Apps] metal666fukhead:
Right on that's awesome! I agree definitely needs too be a sticky
[Hero CDMA Themes and Apps] churro7:
ok how did u confirm it was rooted it said it was rooted but no root apps would work

and no superuser installed
[Hero CDMA Themes and Apps] jblazea50:
OP, were you on the .6 software and it still worked?
[Hero CDMA Themes and Apps] Craigerade:
Just did it on .5 build at it worked great. Thanks for the info.
[Hero CDMA Themes and Apps] zenulator:
Yes it works on the .6 RUU
[Hero CDMA Themes and Apps] raymond4:
Go to YouTube type in the easiest way to root an android phone and add a custom recovery
[Hero CDMA Themes and Apps] bgchz:
I have 1.53 and rooted my cdma hero running 2.1 version.5 (of course I had downgraded from the last update) I have all those files I used.. pm me and ill send whatever u need to complete your roots and boots guys!
[Hero CDMA Themes and Apps] thatguythatdid:
This should be stickied to death best thing since sliced bread (even though I've had root for quite awhile)
[Hero CDMA Themes and Apps] vampir4997:
Will this work on samsung intercept? Or will i brick my wifes phone if i try??
[Hero CDMA Themes and Apps] GoliathTheRipper:
Can I install Amon_RA recovery with ROM MANAGER ???
[Hero CDMA Themes and Apps] Androidious:
Yes you can. If you scroll to the bottom of the app, you'll see it say's 'Flash Alternate Recovery'. That option automagically flashes Amon Ra 1.6.2 for you instead of the ClockworkMod Recovery... FYI

Man, this is GREAT! I remember back when Regaw first got 2.1 rooted and what not, and now all you gotta do is click a 'root' button and POOF! It's all done! That's freaking awesome dude!

Great stuff =--= Sticky icky icky for this bad boy
[Hero CDMA Themes and Apps] markus_del_marko:
where are the mods? this should be stickied IMO. god has this whole section gone to hell and even the mods don't come here anymore? good work zen!
[Hero CDMA Themes and Apps] doojer:
This worked niiiiiiiiiice on my other Hero.

Thanks. :cool:
[Hero CDMA Themes and Apps] schneider232003:
Worked

my wife had an unrooted Hero with .6 release and it worked perfectly, installed rom manager and flashed a recovery through there and she now runs fresh rom on her phone so it worked perfectly
[Hero CDMA Themes and Apps] hermansyah:
hi there... very newbie here. Like to read your comment. Thanks.
[Hero CDMA Themes and Apps] crazyd1721:
Worked for me just flashed took about 20 min to get back to 2.2
[Hero CDMA Themes and Apps] churro7:
it worked now no custom rom but ii removed all the crap and installed root apps yay
[Hero CDMA Themes and Apps] ipfreelytech:
Tested and confirming this works on ACG 2.1 release.

instead of a file manager, just scan the qr code from the authors website (or attatched to this post): http://blog.23corner.com/tag/universalandroot/

most users have the barcode scanner installed, and this plus using rom manager to load the recovery should make rooting and roms easy enough for the average person.
[Hero CDMA Themes and Apps] andrewt328:
hey, sorry if this is a dumb question, but will rooting my hero erase everything on it? i have the .6 version...thnaks
[Hero CDMA Themes and Apps] BrandoKC:
By rooting with this method no, however if you want to flash a ROM you will have to wipe first.
[Hero CDMA Themes and Apps] andrewt328:
ok, and is there any special way i can back up my phone...or is it jsut simply copying my stuff to my pc then back to my phone...and what about the paid apps...will i be able to download those again without having to pay again? thanks
[Hero CDMA Themes and Apps] scottspa74:
Best way IMHO is once you have root access, get Titanium backup from the market. Backup 'apps & data', then you will always have access to restore your stuff. You also can backup 'system', but if you do so, only restore system files very selectively. As some ROMs will have some system files that just don't jive right with oem system files. (Example, on Evo, some people flashed up to a rooted 2.2 froyo ROM, then restored everything, then wondered why they don't have flash 10.1. It's because they restored HTC flash lite, thus replacing Adobe 10.1 with flash lite).

Rooting will not affect things on SDcard, like music, pics, etc. May wanna backup contacts somehow. There's an app for that ;)
[Hero CDMA Themes and Apps] Zardos66:
Worked, no problems, thanks.
[Hero CDMA Themes and Apps] zwizzle:
Confirmed this works on the latest .6 Sprint release. Easy as pie. :D
[Hero CDMA Themes and Apps] illushinz:
Got root, but when trying to flash the recovery ROM over stock 2.1, I just get "flash_image: not found"
[Hero CDMA Themes and Apps] Dethklokolypse:
Universal 1-Click Root

I just want to say that I am a n00b when it comes to rooting, and this application works great. I also want to confirm that is works on the Sprint Hero CDMA 2.27.651.6.

Again, thank you a thousand times........
[Hero CDMA Themes and Apps] lohp75:
Awesome app!!!! Confirmed on ACS Alaska. Thanks!

Sent from my baked to perfection hero.( golden brown baby, ya)
[Hero CDMA Themes and Apps] swapped:
that is because you dont flash_image on the phone. use rom manager for an easy way to flash recovery. It has the stock clockwork and ra 1.6.x in it.
[Hero CDMA Themes and Apps] ipfreelytech:
Push flash_image to the phone and then you can flash. alternatively you can go the rom manager route, I'm not a big fan of clockworkmod recovery and 1.6 of Amon is kinda dated. I prefer Amon 1.7 which you have to flash manually.
[Hero CDMA Themes and Apps] regaw_leinad:
Yes, if you plan on staying on the stock rooted ROM, you should flash my boot-patched.zip from recovery to keep full root in adb.
[Hero CDMA Themes and Apps] wna2005:
Has anyone confirmed this to work with non sprint hero's? I'm dying to try it but i cant afford to brick my phone just yet..haha

Thanks

I just tested it, it works great. I have rooted 3 non sprint hero's without a single hiccup. this is great
[Hero CDMA Themes and Apps] churro7:
anyone try this on samsung moment?
[Hero CDMA Themes and Apps] markus_del_marko:
try it maybe? this is the hero section not the moment or evo section.
[Hero CDMA Themes and Apps] AjaxBU:
I just tried it on my Hero and although it installed superuser I still don't have any root access. Programs requiring superuser say root access not found.

Sprint HTC Hero .6
[Hero CDMA Themes and Apps] scottspa74:
I wonder if you maybe

1) need to flash a rooted ROM, or

2) use the boot_patch zip mentioned in this thread.

Do you have a custom recovery, like amonRA, or clockwork? I'm kinda new to rooting, but I got my Evo rooted, and I'm watchin this thread for my buddy with a hero, and these are things to check, I think.
[Hero CDMA Themes and Apps] AjaxBU:
Thanks

Thanks for the reply, I rebooted it and it worked fine. I ended up installing cyanogen but now I'm restoring it back to my original back up...just didn't like froyo. Live wallpapers were cool though
[Hero CDMA Themes and Apps] scottspa74:
Right on, glad you got it all hammered out. You know froyo has 10.1 flash for your browser, and uploads through browser are (mostly) fixed? I don't know, I'm liking froyo. But glad you're all good now.
[Hero CDMA Themes and Apps] philosoweed:
No Superuser

I installed this universal root (1.6 and 1.62) on a CDMA Hero (alltel) and super user is to no avail......any help would be appreciated.
[Hero CDMA Themes and Apps] AjaxBU:
I'm a tad OCD and the way my homescreen is organized at the moment makes me happy. Everything is alphabetized and the power widgets are all uniform. On froyo they didn't look to my liking, and the airplane mode was just called "plane"...it really bugged me enough to revert back to the original.

I was rather concerned that in the process of installing cyanogen it got stuck on the boot screen but was able to get it sorted out, then when I decided to revert back to my nandroid backup I was pleasantly surprised at how easy it was to do. It really was a perfect backup of my phone, you couldn't tell that I had ever done anything to it after I reverted back.

I've been reading these forums for a while and finally decided to register and post. I'm really impressed with how helpful everyone is here.
[Hero CDMA Themes and Apps] scottspa74:
See: the 4 posts above yours .

@ ajaxBU , yeah, nandroid is pretty awesome, huh? I'm fairly new to Android, coming from WinMo, and am blown away by how simple (more or less), and safe (more or less) customization and root access is. Nandroid feels like a life raft, with a wet-bar ;) . On WinMo it was waaaay easier to brick your phone, and way harder to figure how to flash a custom ROM (at least for me, I never got it). On Android, first time, every time, pretty much. It's cake :cool:
[Hero CDMA Themes and Apps] churro7:
i see too funny thx bro
[Hero CDMA Themes and Apps] Hackmodford:
Deosn't work for me. Says it rooted but I don't get super user.

can anyone help me?

I just noticed my Firmware version is 2.1-update1
[Hero CDMA Themes and Apps] AjaxBU:
Did you try restarting the phone? That worked for me.
[Hero CDMA Themes and Apps] Hackmodford:
Yes... no go...
[Hero CDMA Themes and Apps] scottspa74:
Maybe see what the boot_patch zip mentioned in this thread is all about (I think its for if you wanna use stock ROM with root, but don't quote me on that), or flash a custom ROM ( it will have SU), or look for superuser zip on hero forum (provided you're using a hero).

See if any of that helps. Hope it does, good luck.