NAND Hardware Compatibility - Touch CDMA General

Is it possible to run Android off sdcard just fine and not be able to run it on NAND on certain vogue phones? I have gotten many different Android builds to run off the sdcard but I can't for the life in me to get it to run off NAND. Could there be hardware compatibility issues with some of the vogue phones? This is how far I am able to get when I start installation:
Formatting...
Segmentation fault
Failed
Failed to format
umount: can't umount /system: Invalid argument
umount: can't umount /data: Invalid argument

CyCLoBoT said:
Is it possible to run Android off sdcard just fine and not be able to run it on NAND on certain vogue phones? I have gotten many different Android builds to run off the sdcard but I can't for the life in me to get it to run off NAND. Could there be hardware compatibility issues with some of the vogue phones? This is how far I am able to get when I start installation:
Formatting...
Segmentation fault
Failed
Failed to format
umount: can't umount /system: Invalid argument
umount: can't umount /data: Invalid argument
Click to expand...
Click to collapse
I have the same phone as you (Bell) and am happily using android.
Do you have a HardSPL installed? Did you install the NBH? You can only do a NAND install if you get rid of windows completely.

That's what I am doing. I flashed using the 320 NBH file and I am the Android Installer screen. I selected the default options Sys on NAND and Data on NAND and that's when I'm getting the error I posted in the first post. HardSPL is already installed since I have been running NFSFAN's ROM for a long time now.

CyCLoBoT said:
That's what I am doing. I flashed using the 320 NBH file and I am the Android Installer screen. I selected the default options Sys on NAND and Data on NAND and that's when I'm getting the error I posted in the first post. HardSPL is already installed since I have been running NFSFAN's ROM for a long time now.
Click to expand...
Click to collapse
Did you try using the 2 blank files (systemfstonand and rootfstonand)?
Also, are all of your rootfs.img and system.sqsh files in an android folder on the sdcard?

I never had those files to begin with. I used the latest basefiles and the androidinstall.tar files to boot of sdcard and I am able to run Android just fine. I just can't get it to install on NAND for some reason.

make sure you have an empty data.img

mfpreach said:
make sure you have an empty data.img
Click to expand...
Click to collapse
When I'm flashing the ROM to NAND, do I copy both the system.img and data.img to NAND?

The loader does it for you automatically.
You should try the new method posted by Vilord its even easier.

this is with the new loader...
It is possible there's something specific to your phone, we've run into that before.
I'm working to get more detailed logs out of the installer and will let you know once I've done that.
Unfortunately all updating work (including this and fixing the installcache problem on tattoo) is going to have to wait 'till monday/tuesday timeframe as I'm watching my nephews this weekend.

The thing is, I am able to run all the ROMS just fine from sdcard. I used the new installer method and it worked just fine. As soon as I flash the NBH file (320 and 480), that`s when all these issues come up. I want to get the most out of it running from NAND (speed wise).

CyCLoBoT said:
The thing is, I am able to run all the ROMS just fine from sdcard. I used the new installer method and it worked just fine. As soon as I flash the NBH file (320 and 480), that`s when all these issues come up. I want to get the most out of it running from NAND (speed wise).
Click to expand...
Click to collapse
Have you unlocked your vogue with icoke?

mssmison said:
Have you unlocked your vogue with icoke?
Click to expand...
Click to collapse
Yes it has already been unlocked for over a year now. Right now I am running your ROM through sdcard and its working just fine. But the issue is going to come up when I try to flash it to NAND. I just don't know how to get it to work.

When I'm running installer through using haret, I am selecting ext2 partitions for my system and data files but when the installation is completed, those two files are created in the FAT32 partition instead. What could be causing this?

I'm having the exact same problem. I have 2.31 coke and can flash 6.5 fine.

On my installer option number 1 is fix permissions. With haret its start installation.

I've posted a lot about this issue here, the majority of us are having problems with the Bell branded vogues... I've been able to get as far as having everything written to nand (after hundreds of reboots), and getting the glowing "ANDROID", but it will lock up there.
AFAIK, it seems as though there is an issue with r/w from SD, as I see a lot of timeouts/segfaults/etc. during any SD operations. I haven't bothered going into it any further than that, since I just run it off SD through haret.

Now that I have the ROM running through sdcard, if I flash the NBH file, will it use the same data/system file that's on the two Ext2 partitions?

DO you have the option to start installation? Does anyone know why I don't?? Am I doing something wrong?

Ok I solved my problem... I was trying to do this all on a mac through bootcamp and for some reason it wouldn't work properly. I switch to a pc and it worked fine the first time. Not sure why this is but works great now!

In order to run the Eclaire ROM off NAND, only the system.img file has to be stored on NAND right?

Related

extract nandroid backups?

I flashed my phone to JF 1.5 and in the process some how managed to screw up my sd card and lost all my apps. i did do a nandroid backup of jf 1.41 so i ahve those img files. I tried to restore to that to recover everything but it wont boot past the g1 logo. I tried downgrading firmware to 1.43 (couldnt find 1.41) and using the same restore for nandroid and still wouldnt boot. I also tried jsut applying the user data img to see if i could jsut grab that and it fialed on both firmware revisions 1.5 , 1.43.
In the end im stuck with a backup i cant use, the only thing i need off of it is the apps. I read that you can use the emulator to mount it but i couldnt figure that out. I also looked at yaffs extractor from the google code site but i wasnt quite sure how to compile/run it.
Anyone have a simple solution or a complex one i can follow to getting my apps out?
did you follow this?
http://forum.xda-developers.com/showpost.php?p=3311708&postcount=2
darkrangr said:
I also looked at yaffs extractor from the google code site but i wasnt quite sure how to compile/run it.
Click to expand...
Click to collapse
You go into the source directory, type "gcc -o unyaffs unyaffs.c", then you (create and) go to some directory where you want to extract the contents ("mkdir ~/extract") "cd ~/extract", and finally you extract the image "/path/to/unyaffs /path/to/data.img".
I tried the standard nandroid restore and it failed.
Trying the yaffs thing now and i got an error.
I placed the yaffs files all in a folder on the sdcard and put the img in that folder as well.
I open the terminal on the phone and did cd /sdcard/nan nan being the directory i made
I then tried to run that command "gcc -o unyaffs unyaffs.c" and i get gcc not found. what did i do wrong?
Unless your backup was corrupted, flashing the backup should have been fine.
Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata data.img
You said it failed - what error did it give? Did it say it couldn't find the command? Be sure you're running these commands on your PC with your G1 connected via USB, the correct drivers are loaded, and you have the fastboot program.
As for using unyaffs - I don't think you understand what you have to do to use it. You have to compile it on your PC...all you get is the source code. I haven't looked on the google code site, but I would imagine there isn't a version for windows.
EDIT: After reading your original post for a second time, I have to ask: if you screwed up your SD card and lost all of your apps, does that mean you were using Apps2SD? That's a bit of an important detail to leave out, if so. Unless I'm mistaken (and someone correct me if I'm wrong), your apps wouldn't be in the backup anyway, you're wasting your time. If your backup is just restoring the symlinks to the SD card and the SD card is screwed up, then no wonder it's hanging at boot. You'd need to wipe your SD card and start from scratch. I'd recommend doing that either way - would you rather have to redownload a few apps or continue having a bricked phone for days?
it didnt fail on the restore with fastboot, it loaded up everything fine and then when i rebooted it just sat on the boot screens forever and never loaded.
I am feeling nice so darkrangr if you want to PM your image files I will unyaffs it on my ubuntu box for you.
TemporalShadows said:
EDIT: After reading your original post for a second time, I have to ask: if you screwed up your SD card and lost all of your apps, does that mean you were using Apps2SD? That's a bit of an important detail to leave out, if so. Unless I'm mistaken (and someone correct me if I'm wrong), your apps wouldn't be in the backup anyway, you're wasting your time. If your backup is just restoring the symlinks to the SD card and the SD card is screwed up, then no wonder it's hanging at boot. You'd need to wipe your SD card and start from scratch. I'd recommend doing that either way - would you rather have to redownload a few apps or continue having a bricked phone for days?
Click to expand...
Click to collapse
no, my apps were installed normally. I am running curent jf firmwar enow while i try to get my stuff back, but some of the apps i had are no longer available or have converted to pay apps, plus i forgot a lot of apps i had.
http://forum.xda-developers.com/showthread.php?t=497034
In the other tools archive on this post you can find the unyaffs tool fully compiled. Just move your image to the same folder, drag and drop it on the unyaffs.exe and watch the files appear.
How about YOU DIDN'T INSTALL GCC!!!
darkrangr said:
I tried the standard nandroid restore and it failed.
Trying the yaffs thing now and i got an error.
I placed the yaffs files all in a folder on the sdcard and put the img in that folder as well.
I open the terminal on the phone and did cd /sdcard/nan nan being the directory i made
I then tried to run that command "gcc -o unyaffs unyaffs.c" and i get gcc not found. what did i do wrong?
Click to expand...
Click to collapse

Q&A for Linux/Android

Ok thought might as well start this off myself seen as people keep talking about it, lets have a Q&A thread instead of bashing up the original thread so it can be used just for news and updates.
Does Android work on my HD2?
yes and no, at the moment it boots, no touch-screen driver so that's it so if you try this is what you get
microang has made up some pretty nice versions that dont blue screen check them out here
http://forum.xda-developers.com/showthread.php?p=7032400#post7032400
Can I flash Android?
NO NO NO, it will run from Haret, it will not be a ROM, (yet maybe one day)
Can I boot Ubuntu?
yes you can, but touch-screen issues again,
UPDATE there now is a TS image to use
you would be better off using a mouse and keyboard via a powered usb hub.
Startup txt
Who can I donate to?
Dcordes' PayPal
Cotulla's PayPal
Netripper's PayPal
Links for fatsal-ubuntuX1-20100225 running on you're HD2, there is 3 but i cant find them all post if you have a working link.
http://hotfile.com/dl/51297725/02a8295/fatsal-ubuntuX1-20100225.7z.
thanks to yumm_007 for packaging this up
This Blog site & this Video is as FAKE as it get don't bother with it.
http://alltechdownloads.blogspot.com/
http://www.youtube.com/watch?v=BujRY_q53JI
http://androidforhd2.tk/
This is the IRC channel please dont go and post loads of crap there either
http://webchat.freenode.net/
use channel #htc-linux
Netrippers channel log
http://irclog.netripper.com/?chan=htc-linux&msgonly=0
__________________
Ok I have to go out i will add more and see about a ubuntu Tut to get it running when i get back, please post in here from now so we don't block up the original thread so we can leave that for news and development,
the 2 images are of how i have my folders set up and the other pic of proof it boots
I take no credit for the hard work gone in to this development just tried top clear the thread a bit but that didnt work did it lol, ALL CREDIT GOES TO
Dcordes'
Cotulla's
Netripper's
What I found was that the ubuntu folder must be inside another folder which is on sd root. So tree wise its setup as...
1) SD root
2) Folder (containing the ext2 and the ubuntu folder which contains the haret files)
If you do it like you did, it hangs, I had the same problem. If you do it the way I explained, it gets to the actual linux kernel (tux) but kp's when the modules are to be loaded.
Click to expand...
Click to collapse
Ok, this solves the cpu coherency freeze, what next? what is that we're doing wrong and can't boot the image?
thanks in advance.
artn3r said:
Yes, but i downloaded it over the rapidshare mirror.
what i did:
-copied everything to the sd root
-replaced zimage with the kernel that boots on hd2 (from irc log)
-merged the default.txt and startup.txt of the ubuntu build with the irc-log-build
start haret.exe
Click to expand...
Click to collapse
have you tried this yet???
hi guys,
i currently don`t understand what exactly i have to do to run the HaRET. i`ve downloaded the "fatsal-ubuntuX1-20100225". there are haret and so on and a folder named ubuntu. when i extract it to my sdcard an boot haret i got a stop error "can not access SDroot".
what is wrong? maybe i am stupid?
braumeister said:
hi guys,
i currently don`t understand what exactly i have to do to run the HaRET. i`ve downloaded the "fatsal-ubuntuX1-20100225". there are haret and so on and a folder named ubuntu. when i extract it to my sdcard an boot haret i got a stop error "can not access SDroot".
what is wrong? maybe i am stupid?
Click to expand...
Click to collapse
I got it working on touch diamond start of the year, just downloading for leo now
this was posted
ayilm1 said:
What I found was that the ubuntu folder must be inside another folder which is on sd root. So tree wise its setup as...
1) SD root
2) Folder (containing the ext2 and the ubuntu folder which contains the haret files)
Click to expand...
Click to collapse
Demon_man said:
have you tried this yet???
Click to expand...
Click to collapse
That's the first of it, but go grab artn3r's pre packed ubuntu from the official Android/Linux thread a few posts after the one you quoted I think, and set it up folder wise as...
1) SD root
2) "fatsal-ubuntuX1-20100225" (containing the ext2 and THEN the ubuntu folder which contains the haret files)
That's what I did to make it work but as stated in the official thread, it hangs at the module loader
the name doesn`t matter?
well I'm downloading now, i have to pop out but i will be be back in 45 mins, and ill play try n get it running, if you get it going in the meantime let us no
braumeister said:
the name doesn`t matter?
Click to expand...
Click to collapse
Not sure TBH. Something interesting happens if renamed to something other than the original name though. The coherency test hangs but if reverted, it runs up to the tux.
Just upload ur files if you got it runing
Great idea man!
Demon_man said:
Ok thought might as well start this off myself seen as people keep talking about it, lets have a Q&A thread instead of bashing up the original thread so it can be used just for news and updates.
Click to expand...
Click to collapse
Nice idea man! Glad to see that lot of people is running in the correct way to help this development!
Cheers from Portugal
Ok, SOME progress. Mine HALF succeeded in rebooting after deleting then recopying the files over (making changes of course). It got past the rebooting in 5 seconds hang and now has actually made an attempt to restart. (yay!) But all I got was it declaring it was about to reboot and the Kernel version number. i.e. 2.6.32.9
ayilm1 said:
Not sure TBH. Something interesting happens if renamed to something other than the original name though. The coherency test hangs but if reverted, it runs up to the tux.
Click to expand...
Click to collapse
no it doesn`t matter where the files are or in which folder or how it is called.
tried this:
1) haret, ubuntu folder and co in the root of the sd card
2) new folder called "fatsal-ubuntuX1-20100225" with alle the files and ubuntu folder in there
3) renamed the folder "fatsal-ubuntuX1-20100225" to anything else
does not matter...the result is all the same.
haret booting, init the panel and stops after a line "welcome to kovsky aka xperia - ubuntu" with an error
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed - invalid argument
failed to mount the sd card. cannot continue
/bin/sh: can`t access tty: job control turned off
/ # _ (blinking cursor)
BUT...hardware controls response
braumeister said:
no it doesn`t matter where the files are or in which folder or how it is called.
tried this:
1) haret, ubuntu folder and co in the root of the sd card
2) new folder called "fatsal-ubuntuX1-20100225" with alle the files and ubuntu folder in there
3) renamed the folder "fatsal-ubuntuX1-20100225" to anything else
does not matter...the result is all the same.
haret booting, init the panel and stops after a line "welcome to kovsky aka xperia - ubuntu" with an error
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed - invalid argument
failed to mount the sd card. cannot continue
/bin/sh: can`t access tty: job control turned off
/ # _ (blinking cursor)
BUT...hardware controls response
Click to expand...
Click to collapse
Ok maybe it was just mine acting up then.
have you any partitions on sd card? one or more? if so on which parti do you have the files?
@braumeister
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed - invalid argument
failed to mount the sd card. cannot continue
/bin/sh: can`t access tty: job control turned off
/ # _ (blinking cursor)
Interesting, mine gets none of that. In fact, the loadmodule shell extension is the only think stopping mine from progressing. Oh and umm. It also attempts to switch to rootfs.
braumeister said:
have you any partitions on sd card? one or more? if so on which parti do you have the files?
Click to expand...
Click to collapse
No other partitions, hmmm. But in case this helps, its still got winmo stuff on it, so not formatted to ext2. Doubt that'd make a difference though as the SD's format shouldn't effect the format of the ubuntu image.
transferring files now to my sd card
BOOTED
Hi,
Touchscreen working fine for me.. thanks to cotulla
At bootup it will stuck shortly and show your TS type.. the ones with 2A are the lucky
Image here:
http://cotulla.pp.ru/leo/ImageTS.rar
Do you mind uploading ur setup for unbuntu image?
Thanks you
chris5932 said:
Hi,
Touchscreen working fine for me.. thanks to cotulla
At bootup it will stuck shortly and show your TS type.. the ones with 2A are the lucky
Image here:
http://cotulla.pp.ru/leo/ImageTS.rar
Do you mind uploading ur setup for unbuntu image?
Thanks you
Click to expand...
Click to collapse
do you mean me?? and how you got touchscreen working lol

Cyanogen Rom 6 RC1

This thread was initially an inquiry on the Cyanogen Rom however is now a Rom thread so here we go.
Background on the Rom is here http://www.cyanogenmod.com/about
On the Hd2/Leo mod see here http://pastebin.com/BBf1hr50
memin1857 said:
INSTRUCTIONS
Cyanogen Mod RC1 - Leo build by Zego WITH ADOBE FLASH and 3G WORKING
There is a new nice build called CM6-HTCLEO (Cyanogen Mod RC1 - Zeto)
It needs a lot of prep work to get to good working order, then its really good.
I have also managed to get adobe flash working. (It doesn't work out of the box)
This build
(after all the steps) have gps, camera (with proper flash exposure), camcorder, camera flash/led/torch, adobe flash, nice look and most other goodies available.
Here are the steps
1) Download cm6-htcleo.7z from:
http://www.mediafire.com/?kzo7fxi2hp917s8
2) Download phone button (keypad) fix:
http://www.mediafire.com/?qrs4w0kd470keqm
3) Download MTU fix from:
http://www.mediafire.com/?tqggvgrzb79gm24
or
http://www.megaupload.com/?d=JL368N3N
4) Download Cotulla 23 July nospeed zimage from:
http://cotulla.pp.ru/leo/Android/Cotulla_zImage_CABDET_NOSPEEDDY.rar
5) Extract the cm6-htcleo.7z file and put the cm6-htcleo to your sd card root.
6) Extract the cm6-htcleo_keypadfix.7z file and put the FOLDER NAMED root UNDER cm6-htcleo folder in your sd card. (Not to sd card root folder. I really mean a folder named root. You will see it in the archive)
7) Extract the cm6-htcleo-datafix.zip file and put the FOLDER NAMED root UNDER cm6-htcleo folder in your sd card. Just merge them. (Say yes when windows asks) Credit: ElBartoME
8) Extract Cotulla_zImage_CABDET_NOSPEEDDY.rar
and put zimage file to cm6-htcleo folder and overwrite.
credit: cotulla
9) ONLY DO THIS STEP IF YOU CANNOT BOOT (linux complaining about mmcblk0): Open startup.txt with notepad and
replace the line
set cmdline "rel_path=cm6-htcleo"
with:
set cmdline "rel_path=cm6-htcleo loop_partition=mmcblk0"
credit: dusty_nz
10) Run clrcad and haret as usual but from cm6-htcleo folder. Once Android has booted start terminal app.
11) write
su
and press enter. It will ask for superuser permission. Tap allow.
12) write
mount -o rw,remount /system
and press enter. You should not get any response or error.
13) Now launch ES File Manager and tap \ on top left.
Navigate to /system/app and find
com.adobe.flashplayer apk file and delete it.
14) Power off your phone in a normal way and reboot to Android CM6.
15) Go to Market and install Adobe Flash 10.1 Beta 3 (use your gmail account)
Done!
Notes:
-FIRST BOOT WILL TAKE A LOT OF TIME! BE PATIENT. IT WILL TAKE A LOT LONGER THAN YOUR USUAL BUILDS.
-ADOBE FLASH does not work out of the box. You have to reinstall it but since it was cooked in to the rom as system app and you can't uninstall it, you need to mount /system directory read/write and delete flash so you can install it again. This time it works properly.
-You may not be able to boot if you do not edit the startup.txt
-You may not be able to wake up if you do not replace the zimage with the older 23 july one. You can use 25 july panel on off zimage if you CAN wake up from sleep. It depends on hd2 lcd panel type which is more than one.
Optional: Install Launcher Pro and make it default home screen to get a smoother experience.
After ALL these operations, this seems like the most functional build.
Cyanogen is normally a mod for android and someone named zego turned it into a hd2/leo build. A lot of stuff was missing and there was no central infromation. That was what I did. You don't need to read 6 pages to get this build working this good now.
I recommend disabling live wallpaper. Static wallpapers are faster. Formatting sd card beforehand and using a class 6 sdhc card is also recommended.
I don't have time to package all this stuff into a build. Maybe someone who does above steps can package it in a new single file and put to megaupload/mediafire (mskip/Mark?) For now you have to do it yourself. You will like the end result.
Packagers please don't call yourselves devs and give credit to original hard working people. Donation is also recommended.
I am sorry if I forgot to give credit to anyone.
I got all this information by reading all the pages of this thread and some more. Now you don't have to.
Click to expand...
Click to collapse
From makavelitha
Good
+ Successfully booted on the first try
+ Camcorder is finally working with the original HTC app (i hope someone will port this to the other android builds)
+ Flashlight is finally working with the original HTC Flashlight App
+ No SOD or GSOD with cotullas zImage 25.07 (maybe i have a Sharp Panel?)
Bad / Problems
- Bad Performance (especially at scrolling)
- Can't Download anything from the Market, i get always the message that my Storage Card is full, i've checked it and android shows me 0mb left on my SD Card, but i have more than 4GB free on this Card (it was working in all other Android Builds)
- Needs time to boot-up
- No or Bad Battery Management (already optimized in other Android Builds)
- USB Storage not working (already working in other Androids)
- Bluetooth finds other devices but can not be paired
- Compass works but it doesn't show magnetic north.
- Low volume issue is already known. During a call other party hears echo of his own sound when speaker is on. No echo in normal mode.
Performance Tweaks
Update I:
Using Cotulla zImage 7/25/10 makes a huge difference in speed!
The only thing still sluggish is scrolling through the apps....
Otherwise from that this is a very good build. Nice pre installed apps, good out-of-the-box build.
Update II:
Changing the application drawer to "Horizontal" like on the Galaxy S eliminates scrolling speed issues when scrolling through the apps.
dusty_nz said:
So looking at the Cyanogen rom, Swapping out the Zimage and trying to boot.
Has anyone tried this?
Would it work?
Looks like it has heaps of Qualcomm optimized components
Click to expand...
Click to collapse
http://www.mediafire.com/?kzo7fxi2hp917s8
And don't forget to add the phone button fix:
http://www.mediafire.com/?qrs4w0kd470keqm
any changelog of this mod/port ?
Readme:
http://pastebin.com/BBf1hr50
on this build flash doesn't work for me in the browser.
I am running it at this moment, it boots correctly until android froyo wizard.
It runs correctly for a minute and SOD
Ah it wake up, great
For the first time in the leo android world, the camera works
I give you more feedback later ...
Update:
- GPS works perfert
- Reboot not work, like other builds
- Import contact from SD not works
perhaps the one based on RC2 will be better, where have you find the links for this build ?
I can't get this to boot.
Initrd keeps looking to mount /mnt/sdcard against /dev/block/mmcblk0p1 and falling over. I only have the one FAT32 partition on my sdcard which normally is at /dev/block/mmcblk0.
Also should I be extract the .tar.gz file into the CM6 directory or put it up at the root of the sdcard.
Thanks.
idcom said:
I can't get this to boot.
Initrd keeps looking to mount /mnt/sdcard against /dev/block/mmcblk0p1 and falling over. I only have the one FAT32 partition on my sdcard which normally is at /dev/block/mmcblk0.
Also should I be extract the .tar.gz file into the CM6 directory or put it up at the root of the sdcard.
Thanks.
Click to expand...
Click to collapse
Try replace cmd cmdline
set cmdline "rel_path=cm6-htcleo loop_partition=mmcblk0"
m4ck said:
Try replace cmd cmdline
set cmdline "rel_path=cm6-htcleo loop_partition=mmcblk0"
Click to expand...
Click to collapse
Thanks. Worked a treat. Now to play.
Nuja said:
any changelog of this mod/port ?
Click to expand...
Click to collapse
Yeah I agree guys, can you please be a bit more specific about what is additional from other froyo with/witout sense or Eclair?
readme file does ntoe give much in fact.... A couple of screen shots would be fantastic...;-)
general statement: Donate, so all mods/chefs/devs can eventually pay some flowers or perfums or sex toys to their girls friends (all of them so angry that they spend so much time developing stuf !!!)
Well.... more info on what cyanogenMod is on:
http://www.cyanogenmod.com/about
Anyone having problems with 3g on this build?
nordicfastware said:
Well.... more info on what cyanogenMod is on:
http://www.cyanogenmod.com/about
Click to expand...
Click to collapse
Thank you, but there is no mention of build for our HTC HD2
Who is the maker of this build for HD2 ?
the build is done by Zego from the IRC channel compiled from source of CyanogenMod 6.0.0 release candidate 1
I tried it last night and it gives me SOD repeatedly, it's fast, but the SOD is killing me, I am falling back to Darkstone's FroyoV1
Hmmmm
Not booting for me.
Formatted a SD card. Single Fat32 partition.
Extracted zip to \cm6-htcleo\startup.txt etc.
Changed the Startup.txt to
set cmdline "rel_path=cm6-htcleo loop_partition=mmcblk0"
error
/init: line 88: mmcblk0=mmcblk0: not found
Logical sector size is zero
mount: mounting /dev/block/mmcblk0 on mnt/sdcard failed: invalid argument
lucian777 said:
Anyone having problems with 3g on this build?
Click to expand...
Click to collapse
Yes. I had the same with Dan's Froyo v.1 but Darkstones works a treat. Changed the apn's to voda uk and all that.
booted first time - took a while but OK
Loaded with apps
camera working
Video recorder working
GPS working
man it's fast..........
will test further and report back
dusty_nz said:
Not booting for me.
Formatted a SD card. Single Fat32 partition.
Extracted zip to \cm6-htcleo\startup.txt etc.
Changed the Startup.txt to
set cmdline "rel_path=cm6-htcleo loop_partition=mmcblk0"
error
/init: line 88: mmcblk0=mmcblk0: not found
Logical sector size is zero
mount: mounting /dev/block/mmcblk0 on mnt/sdcard failed: invalid argument
Click to expand...
Click to collapse
took out the set cmdline "rel_path=cm6-htcleo loop_partition=mmcblk0" ands its booting further. Got wizard
I for one am excited for this development. The collaboration from the devs here along with cyanogens work is fantastic. Any chance of getting cyanogen directly involved and/or once a build is completed would an official thread on this be desired?
I am not a coder but I'm working on it. Until then I'm just a fan and a donor. I've been a long term user of cyanogens work and I can safely say with the joint efforts of everyone here, this would be a powerful development. Keep up t the awesome work!
-------------------------------------
Sent via the XDA Tapatalk App

[Q] ANSWERED!! NAND.. can you change kernels?

Hi guys,
Is it possible to change the kernel of a nand build at all?
I am an Extended Battery user and find only NAND builds with Hastarins kernel work at all..
Is there a way of mixing and matching Kernels with builds?
Ta
nutmegy said:
Hi guys,
Is it possible to change the kernel of a nand build at all?
I am an Extended Battery user and find only NAND builds with Hastarins kernel work at all..
Is there a way of mixing and matching Kernels with builds?
Ta
Click to expand...
Click to collapse
Yes
Just made something for you, note: haven't tested it:
Kernel Theiving
How to:
- Install Nand version which has the kernel you want.
- Run "extract_kernel.bat"
- Install Nand version you like, and want to keep.
- Run "install_kernel.bat".
- Et voila!
Now, you only have to use "install_kernel.bat" if you flash another rom.
Note: You need adb installed on your PC
Quickie on how to install adb:
Moon2 said:
You need adb:
-Get this installer: http://developer.android.com/sdk/index.html
-Go to Available Packages, Expand Third Party - Google - select USB Driver
-Update adb driver, if not already installed from: C:\Program Files\Android\android-sdk-windows\google-usb_driver
-Copy "adb.exe" and "AdbWinApi.dll" from "C:\Program Files\Android\android-sdk-windows\platform-tools" to "C:\Windows\System32".
-Run the batch file.
Click to expand...
Click to collapse
thank you very much!
I will give this a go!
Moon2 said:
Yes
Just made something for you, note: haven't tested it:
Kernel Theiving
How to:
- Install Nand version which has the kernel you want.
- Run "extract_kernel.bat"
- Install Nand version you like, and want to keep.
- Run "install_kernel.bat".
- Et voila!
Now, you only have to use "install_kernel.bat" if you flash another rom.
Note: You need adb installed on your PC
Quickie on how to install adb:
Click to expand...
Click to collapse
I read the batch file and
you have created a folder called boot under data folder and pasted the zimage
so everytime when we boot out Hd2s it going to replace the zimage with the one in boot folder, so i guess its going to delay the booting process (correct me if im wrong) so is it possible to delete that folder after booting our Leos?
agarp said:
I read the batch file and
you have created a folder called boot under data folder and pasted the zimage
so everytime when we boot out Hd2s it going to replace the zimage with the one in boot folder, so i guess its going to delay the booting process (correct me if im wrong) so is it possible to delete that folder after booting our Leos?
Click to expand...
Click to collapse
No, that's not what it does. it mounts the boot partition temporarily to /data/boot, and after it's mounted, adb copies over the zImage file, and overwrites the preexisting kernel image, after this, the partition is unmounted. So it's not repeated at each boot.
works a treat...
I just used Android commander..
made sure it was connected..
then ran the extract batch file
installed the nand build i wanted...
then ran the install Kernel.bat
and it works a treat!!!!
Moon2 said:
No, that's not what it does. it mounts the boot partition temporarily to /data/boot, and after it's mounted, adb copies over the zImage file, and overwrites the preexisting kernel image, after this, the partition is unmounted. So it's not repeated at each boot.
Click to expand...
Click to collapse
thnxx for the clarification, now i get it
nutmegy said:
works a treat...
I just used Android commander..
made sure it was connected..
then ran the extract batch file
installed the nand build i wanted...
then ran the install Kernel.bat
and it works a treat!!!!
Click to expand...
Click to collapse
Is all that done on the phone? It seems you installed the kernel on the phone somehow. I'm clueless about adb, I tried to use it before but was dumbfounded by it all.
Do I need Eclipse? Downloading the SDK stuff...installing JDA SE and it talks about Eclipse.
Moon2 the links dead it says file has been removed anybody re upload it????

[Q] Making those NAND System.img files

Howdy all,
Just wondering, how are the system.img files made? I have read that if it's a YAFFS image file, that the maximum filesize cannot exceed 128MB. However, I've seen on some NAND HD2 Android builds, the system.img filesize is >128MB.
My question is, what method are you guys using for making the NAND system.img files to flash within MAGLDR? (ie. is it like a ZIP archive with a .img extension on it)
I'm currently working on a remix of a ROM that I use (a hint is in my Sig), and I know that the update.zip method that was used on "true-Android" devices to change ROMs doesn't apply to our MAGLDR method now.
Cheers and I'm sure you'll see another ROM for the HD2 in the coming weeks!
IcedCube.
IcedCube said:
Howdy all,
Just wondering, how are the system.img files made? I have read that if it's a YAFFS image file, that the maximum filesize cannot exceed 128MB. However, I've seen on some NAND HD2 Android builds, the system.img filesize is >128MB.
My question is, what method are you guys using for making the NAND system.img files to flash within MAGLDR? (ie. is it like a ZIP archive with a .img extension on it)
I'm currently working on a remix of a ROM that I use (a hint is in my Sig), and I know that the update.zip method that was used on "true-Android" devices to change ROMs doesn't apply to our MAGLDR method now.
Cheers and I'm sure you'll see another ROM for the HD2 in the coming weeks!
IcedCube.
Click to expand...
Click to collapse
The system.img is a yaffs2image. Google 'compiled windows unyaffs' use that program to take a peak inside the .img. When you're completely ready to make your own .img your gonna need a linux distro or cygwin w/mkyaff2image compiled. However I recomend compiling the mkfs.yaffs2 command if you are using linux. Alternatively you can place the /system/ directory you are trying to make an image on your SD and run that command in the terminal emulator in Android. It should look like this #mkyaffs2image /sdcard/system/ System.img
Hope that helps.
KillaHurtz said:
The system.img is a yaffs2image. Google 'compiled windows unyaffs' use that program to take a peak inside the .img.
Click to expand...
Click to collapse
Does this give you write abilities so that files can be changed out pre-flash?
dharvey4651 said:
Does this give you write abilities so that files can be changed out pre-flash?
Click to expand...
Click to collapse
I think you have to dump them to a folder, then you can change what you want. Then do the yaffs2 cmd and it will package it back up to .img for flashing...
Chris
noellenchris said:
I think you have to dump them to a folder, then you can change what you want. Then do the yaffs2 cmd and it will package it back up to .img for flashing...
Chris
Click to expand...
Click to collapse
I think that a tutorial is in order. Someone who knows how to extract and replace files in a system.img needs to write a short tutorial on how to do it. - A simple step by step on how to decompile a system.img and re-compile it.
I for one would be extremely grateful because I finally worked out a perfect MMS patch and I'd like to be able to easily modify the builds pre-flash.
dharvey4651 said:
I think that a tutorial is in order. Someone who knows how to extract and replace files in a system.img needs to write a short tutorial on how to do it.
I for one would be extremely grateful because I finally worked out a perfect MMS patch and I'd like to be able to easily modify the builds pre-flash.
Click to expand...
Click to collapse
I have been trying to do that all night. I can unpack them but haven't got around to repacking them. For now all I do is install the build and push the patched file that I have and do a AD hardrest in MAGLDR. MMS 300-1024k and all TMO US app works.
dharvey4651 said:
I think that a tutorial is in order. Someone who knows how to extract and replace files in a system.img needs to write a short tutorial on how to do it. - A simple step by step on how to decompile a system.img and re-compile it.
I for one would be extremely grateful because I finally worked out a perfect MMS patch and I'd like to be able to easily modify the builds pre-flash.
Click to expand...
Click to collapse
yeah, it would be very nice if smb can write some tutorial on modifying system.img files
i have been trying to figure this out too!
IcedCube said:
This is IcedCube, the Developer of GingerHD2, a Android 2.3 ROM for your HD2.
Click to expand...
Click to collapse
Thought I should point out that you could really confuse things by using that name...
http://forum.xda-developers.com/showthread.php?t=871387
That's not actually a Gingerbread build - it's just themed to look like one, but still got the same name
hnamanh said:
I have been trying to do that all night. I can unpack them but haven't got around to repacking them. For now all I do is install the build and push the patched file that I have and do a AD hardrest in MAGLDR. MMS 300-1024k and all TMO US app works.
Click to expand...
Click to collapse
Another option is to connect to ADB or Android Commander before going through the initial setup(when it asks you to choose your language) and change the files then - use the PC to reboot the phone, not the phone's built-in reboot. This should take you right back to the setup screen where this time, should show United States localization.
Still a bit too much work. I'd like to be able to patch the build, flash it, and be good to go.
found this but too educated for me
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
sorry i think this one is normal data img.not sure.
well i did say it was too educated for me
Turorial
KillaHurtz said:
The system.img is a yaffs2image. Google 'compiled windows unyaffs' use that program to take a peak inside the .img. When you're completely ready to make your own .img your gonna need a linux distro or cygwin w/mkyaff2image compiled. However I recomend compiling the mkfs.yaffs2 command if you are using linux. Alternatively you can place the /system/ directory you are trying to make an image on your SD and run that command in the terminal emulator in Android. It should look like this #mkyaffs2image /sdcard/system/ System.img
Hope that helps.
Click to expand...
Click to collapse
Windows
-----------------------------------------------------------------------------
Ok, let's start again. If you are using windows, google the said phrase above and you will find the precompiled utility 'unyaffs'.
Place the System.img you want to extract in a new directory with unyaffs.exe & drag the .img onto unyaffs. A command window will open and start extracting the files in the image to that same folder. You can now explore & edit/pull whatever you need to get things going. Once you have it the way you want copt it to your SD/root/ & make a folder for it with an obvious name like "Project" or "Test". Now to get it back into a bootable .img open Terminal Emulator in Android & enter the following
#mkyaffs2image /sdcard/NAMEofFOLDERuCHOSE/ System.img
**alternatively you can do this in windows itself if u have the utility compiled under cygwin or simular.
Linux
-----------------------------------------------------------------------------
Ok, you will need the unyaffs & mkfs.yaffs2 utilities compiled and working 1st off.
mkyaffs2image works to make the image however it fails upon flash with DFT Android Flasher. So I recomend mkfs.yaffs2 & have included it, you will need to place it in /usr/sbin/. If you have trouble copying it open a terminal and run "gksudo nautilus" then copy to the above mentioned directory.
**Now that those utilities are working let's get to work.
open a terminal and run 'unyaffs /home/yourusername/Desktop/targetdirectory/targetimage.img
copy/edit/pull the files you want. When your ready to build the image you are happy with open a terminal and run 'mkfs.yaffs2 /home/yourusername/Desktop/targetdirectory/ System.img'
Now your ready to flash !
System.img & Boot.img Contents
============================================================
System.img contains the entire root/system/ directory in Android
System/
app
bin
etc
fonts
framework
lib
lost+found
media
usr
xbin
build.prop
dmesg.txt
Boot.img contains
Boot/
initrd.gz
zImage
lost+found
============================================================
Hope that helps guys, It's my first tut on XDA
**EDIT: I included an archive for windows users that has unyaffs2.exe & cygwin1.dll
The Linux archive contains mkfs.yaffs2.x86, once moved to /usr/sbin/ rename to mkfs.yaffs2
The process works exactly the same for Boot.img
you need linux and run command by terminal
put them in /bin
http://www23.zippyshare.com/v/13814384/file.html
then you can yaffs or unyaffs
example
unyaffs /home/rafpigna/folder_with_img_you_wann_unpack/system.img
or
mkyaffs2image /home/rafpigna/folder_with_stuff_you_wanna_pack/ system.img
strange thing...when I open with unyaffs and then close with mkfs.yaffs2 or mkyaffs2image I get init: untracked pid 250 exited (where 250 varies) in a loop :S
some light for me?
michyprima said:
strange thing...when I open with unyaffs and then close with mkfs.yaffs2 or mkyaffs2image I get init: untracked pid 250 exited (where 250 varies) in a loop :S
some light for me?
Click to expand...
Click to collapse
What platform are you using? Have u tried copying your target directory to your sdcard and running the command in android's terminal?
Reguards
KillaHurtz said:
What platform are you using? Have u tried copying your target directory to your sdcard and running the command in android's terminal?
Reguards
Click to expand...
Click to collapse
linux x64.
btw no I didn't, because I want to make a rom (I'm not new to android development but that makes me think that I'm probably stupid )
Everything I do doesn't work.
Already tried something like:
- opened a premade working rom, exchanged just app and framework: no way
- exchanged everything but not bin/xbin/lib: no way
- exchanged just what was different between a stock and a premade leo rom: still no way
mmmh...
yaffs2
There is actually a way to modify files in a yaffs2 image but I've not done it my self yet. I'm 100% sure it's possible cuz everything is possible.... under Linux of course.
You need:
Linux, compiling skills, mounting skills, etc.
Basically for any other filesystems you can mount them as loop devices but not yaffs2. For yaffs2 you actually need a virtual mtd block device. once you have the mtd device you can mount the yaffs image on it.
For details google for: mounting yaffs image
and focus on virtual mtd block device.
michyprima said:
linux x64.
btw no I didn't, because I want to make a rom (I'm not new to android development but that makes me think that I'm probably stupid )
Everything I do doesn't work.
Already tried something like:
- opened a premade working rom, exchanged just app and framework: no way
- exchanged everything but not bin/xbin/lib: no way
- exchanged just what was different between a stock and a premade leo rom: still no way
mmmh...
Click to expand...
Click to collapse
http://www.miui-dev.com/forums/showthread.php?481-Howto-Make-your-own-Android-Build-for-the-HD2
This has a list of files to be pulled. Hope this helps. BTW michy I need help with a kernel, know anyone?
I'm Having a problem using on Linix, when i use the unyaffs trough the terminal it extracts the rom but not the squashed contents, which in the main apps and frame work are at on thoughs roms. I do get a file that says squashed but empty. I tried on cyanogens 6.1 rom and everything extracted fine.but that rom does not have a squashed folder, am i doing something wrong?
1. If i unyaffs System.img and manually remove some programs/aplications then create System.img with yaffs, does it programs will appear in apps and does my rom will be caused a more memory for other programs for installation?
2. Is it possible to unyaffs Boot.img then replace zimage with newest kernel like MDJ or hastarin then yaffs to new Boot.img, After that i suppose then this Android OS will be on new kernel???
3. And... If i remove zimage and initrd.gz from Boot.img, create new Boot.img without these two files and these two files copy to SD card and define that two files in flash.cfg for find on SD. Does it works?
Sorry for bad English.

Categories

Resources