Cardsharing-X_All-In-One - HD Mini Android Development

Guys, becouse I finished working with our project and our phone, I forgot to upload here my last version (kernel, initrd, Debian linux, my latest Android, tools, tutorials...), here I will upload "all in one" including all my latest versions/changes. Whats new:
- new kernel with disabled perflock (automatic owerclock, but there is new aplication for owerclocking you not need to install cpu master)
- new tools added to build like mkfs.yaffs2, e2fsck, bootdebian...
- working mtd driver (from dmesg you will see 4 new partitions as a example)
- Debian linux
- kernel and initrd booting from ram and not from sd card... etc etc
- previous battery driver with small fix (android is very fast now and stable!)
- adsp changes (audio was wrong while playing video ... module is propertly detected but hd video not working, something with memory need to be fixed)
Becouse packed archive is about 3gb I will create torrent (someone must seed it in order for it to be available to others...I will stop seed when I see some guys have 100% downloaded... If I see no seeds I will stop seeding my file and you will have unfinished archive!!! So seed it after full download or upload it to site like megauload and post here download links!)
This is my last post here I want to say you good luck with finishing our project! Here I will post all tools I used and will create an big tutorial how to run Debian, how to erase your mtd partitions, how to erase your sd card, how to run our version, how to run Debian, how to connect to Debian, how to compile directly on phone (yes it is slow but working! No need linux machine, no need cross compilers...etc)...etc. When I pack all I will post download links!
Tutorials will be in attachment!
Download:
http://forum.xda-developers.com/showpost.php?p=19440029&postcount=79
torrent -> http://www.demonoid.me/files/detail...7049523040&show_files=1&page=1&ref=1319597668
EDIT 14.11.2011:
update.rar: some usefull tools compiled to run under android (nandump, nanfwrite and flash_erase) ...before writing to nand always use flash_erase than nandwrite... enjoy nand flashing and be creative

howdy mate...! but can i ask you why...?

what does it mean that android boot from ram and not from sd card??
and how come it weights so much?
and again thank you very very much for your time and awesome work!!

liorderei said:
what does it mean that android boot from ram and not from sd card??
and how come it weights so much?
and again thank you very very much for your time and awesome work!!
Click to expand...
Click to collapse
when you boot from ram it mean you have real chance to unmount sd card fat32 partition - when zimage/initrd is in fat32 you could not umount sd card (but you need to edit initrd -> partition your sd card: 3 x ext2 1 x fat32 -> it mean: separate fat32 partition from system/data/cache ext2 - with that partition layout you will fix many problems including known problem with file transfer to sd card...!)
About nand boot - it is like ram boot! I contacted Cotulla he helped me about something. He say we not need to touch spl! Hspl is not created becouse is hard job so he say we can do all nand stufs with sspl!!! Only we neeed to create ram image with android bootloader and upload it to nand with sspl!!! See post in mtd_utils thread where I posted link to an small bootloader, it will be compatible! After uploading ram image (android image with bootloader) you need to pass comand line to kernel, example how I done it with startup.txt:
Code:
mtdparts=msm_nand:[email protected](boot),[email protected](root),[email protected](system),[email protected](userdata)
and you need to change offsets in that bootloader, I think it is not hard, but only hard is locating offsets... I think Cotulla will help you but you need to ask him and donate him!
I will create tutoriall how to dump whole nand (it will bee needed for finding all offsets inside - needed for porting android nand image and small bootloader)...

so, where can we download this from?
really hurts to hear that you are leaving this project...

sounds good, thanks for the explanation

Here is torrent I will seed 3 days from 7:00 to 23:00

Can you, pleace upload, your torrent on some open tracker??? Demonoid.me is saying "Public registrations are closed"!!! How do you think we can download it?

Welcome again, Munjeni
Thanks very much.. I will look at it..
------------------------------------
Puxus, it must download automatically or try BitSpirit, it's my Favorite Torrent Client!

I don`t know, maybe the problem is in my proxy... I try install BitSprint, but it does`nt metter, I can not get the torrent file... After clicing on munjeni`s link, i have a massage:
"Non-registered visitors are limited to just a few torrent downloads per week.
To download the torrent you must register."
Anyway if its possible, upload it somewhere else, if not - just ignore me. Thanks, have a good day!

Okay, Puxus my problem is it legally to attach this torrent file?
here is it, and if illegally I will delete my attach torrent. and I'm sorry if illegally.
And try BitSpirit, to begin.

@puxus I added 50 trackers inside my torrent I think it is allready indexed by other... iPlasm uploaded my torrent here!
But sorry guys I must turn off my computer, I will continue torrent seeding in the morning

Anyway,thank you for your work. Good luck for you,but if you come back someday, thousands of HDmini users who have known you will be here and say welcome to you!

Munjeni, thank you so much, you made my mini more interesting and more valuable!

Thanks for your work!you're Great.....
We welcome you back here again!

Hello and welcome to you and I hope that you
All problems are solved with this version and you can easily use less
Thanks for your answer

iPlasm said:
Okay, Puxus my problem is it legally to attach this torrent file?
here is it, and if illegally I will delete my attach torrent. and I'm sorry if illegally.
And try BitSpirit, to begin.
Click to expand...
Click to collapse
Thanks, man! The download begins with your torrent file! And I don`t think that its illegal, because it`s not a warez.
P.S. I found the reason, why I can`t visit "Demonoid.me" - they have banned Ukraine

Munjeni, need more links to photon!!!
And torrent no downloads!
Why? You wrote what you seed at 7-23

djfastest said:
Munjeni, need more links to photon!!!
And torrent no downloads!
Why? You wrote what you seed at 7-23
Click to expand...
Click to collapse
Sorry my connection is slow so wait untill all guys have downloaded 100%, I think it will be fast after seeds have 100%
First tutorial uploaded to first page!

iPlasm said:
Okay, Puxus my problem is it legally to attach this torrent file?
here is it, and if illegally I will delete my attach torrent. and I'm sorry if illegally.
And try BitSpirit, to begin.
Click to expand...
Click to collapse
Munjeni, thanks for sharing. Being a good developer is one, being so kind to share all is a second! Thanks.
iPlasm, thanks for sharing the torrent. Downloading at my max connecions speed (1MB/s). So thanks all for sharing!

Related

All you wanted to know about Android on Polaris and never dared to ask

Just trying to make an easy access to android.
Note Android porting to polaris is under development so some things doesn´t work, versions change quickly (this is not a bad thing!) and sometimes something work for most ppl but not for all! devs may not try to correct this specific issues yet as we are on an early stage and maybe those specific issues get corrected as we advance
Bluetooth not working yet.
LATEST NEWS
-15-09 improved camera quality, should work well now (i still need to start cam on winmo in order to work well)
-Working camera, manual zoom
-Improved battery duration
I´m not a dev, we just need to thank newbie16, bally3, DJ_Steve, dzo, imfloflo...
I think it is impossible that testing this would harm any device, however you do it by your unique responsability
Installing Android with Wifi on Polaris: the easy way updated:15-10-09
0) Delete all android related files before trying the bundle. previous data.img should be deleted
1) Download and unzip android full http://rapidshare.com/files/293363380/android-15-10-09.rar
note that now any bundle can run with wifi on polaris. please check post #4 for bundles
2) Open default.txt and search for "board-htcpolaris.panel_type=1" (it´s a small file)
There are 2 different polaris and you should change this value according to yours.
POLA200 (rounded bottom) 0 or 3 (3 prefered) http://img.gsmarena.com/vv/pics/htc/htc-touch-cruise-01.jpg
POLA100 1 or 2 http://www.infotec-service.com/shop/images/HTC/htcCruise00.jpg
3) Copy the files to the root of your sd card
4) run Haret.exe from your polaris
ISSUES
audio on phonecalls doesn´t work
1) you need to make the first phone call.
2) radio 1.59.xx is recommended
3) even with 1 and 2 some ppl still have problems (me for example)
DETAILS
- basefiles-20091009 , zImage-15-10-09, rootfs 15-10-09 and Ion-v1.5-2009-09-12-sdcard (system)
FLAVORS
- Ion´s Google-polaris-Ion-2009-09-12.rar http://rapidshare.com/files/280093611/Google-polaris-Ion-2009-09-12.rar
(this is devs prefered bundle. if you stay with thisyou´ll probably get more support etc)
- mssmisonpackage-0911.zip (rogers) works FAST.mssmisonpackage-polaris-0911.rar http://rapidshare.com/files/280130360/mssmisonpackage-polaris-0911.rar
(language support .. at least spanish, pdf viewer..and some more goodies)
Won´t give support for other bundles as:
- Hero builds are still "experimental" last one is extremly slow on polaris. not usable
- Other builds aren´t as tested as this and may be more buggy
reserved nº4
reserved nº5
Wow... Nice Thread. Thx
Good thread !!!
Hi Iseeka,
Very good idea to have this thread.
I'm not an expert but maybe it is important to mention that POLA100 devices usually go for panel type 1, while POLA200 devices usually choose panel type 3.
There is some option in the default.txt file to add the APN settings for data connection, but personally this has not worked for me, since still you have to configure these APN settings in Android Settings once booted.
I saw you are still going to add a link for the downloaded file, so I wonder if it is necesary to explain what to do with system.sqsh... I personally dont know, I have only used system.img files but it would be nice to know how to use them.
thanks for this initiative.
JM
EDIT: OK, after my post, the explanation about Panel type appeard, thanks! In my case I identifyed my Polaris as POLA100 because of the label on the handset after removing battery.
@iseeka Nice thread good job all, see u on IRC
imfloflo said:
@iseeka Nice thread good job all, see u on IRC
Click to expand...
Click to collapse
forgot to thank you too
Thanks i hadn't do lot of thing just some haretconsol log and kernel test .
Off for today go to sleep.
Hope this thread will help n00b to install android and will improve the number of people interest on porting android to our device (maybe some devs are here..)
Will try.
Thanks
Hi!
Thanks for trying to keep a clean thread with updates, etc.
Is it possible to have a 4shared link for the files? I can't access rapidshare...
Is it a hero build in your second post or just a cupcake?
If it isn't, do you know if is it possible to make one?
A question for the developers : it's a good thing to keep the system file in .img format I think. When I tried squash fs version, it seemed to be slower.
Do you know if it's only on the Polaris? Because they all use squash fs build on vogue and kaiser...
Wifi not connecting with WPA2 in this build
Hi. I want to report that with this ION build u posted (very good and fast AFAICS) wifi goes ON but I can't connect with my AP protected with WPA2. With Cyanogen with zImage alpha5 and wifi.ko IRQ 18 no probs instead. Later (now I'can't) I'll try this build with that wifi.ko and I'll let u know. See u
mylostnick said:
Hi. I want to report that with this ION build u posted (very good and fast AFAICS) wifi goes ON but I can't connect with my AP protected with WPA2. With Cyanogen with zImage alpha5 and wifi.ko IRQ 18 no probs instead. Later (now I'can't) I'll try this build with that wifi.ko and I'll let u know. See u
Click to expand...
Click to collapse
I think Cyanogen has wifi driver built-in.. (if you talk about bally´s modded cyanogen has driver built in).
Can u please delete wlan.ko, boot again and see if wifi still works? In that case wlan.ko is inside system.img and we have better wlan.ko (18 or the new one wich is better)
If that cyanogen version load the driver from file i´ll update 1st page with your settings
Kiiv said:
Is it possible to have a 4shared link for the files? I can't access rapidshare....
Click to expand...
Click to collapse
I´ll send you a link and to whoever needs it.. i prefer rapidshare so at least i can get some points with this...
Kiiv said:
Is it a hero build in your second post or just a cupcake?
If it isn't, do you know if is it possible to make one?
.
Click to expand...
Click to collapse
I think is 08/08/09 system.img but I´m not sure. This version is used by developers to test as it´s a stable and tested version.
This is the only build with full wifi support. (Bally3 made 2 bundles (cyanogen and another) with wlan.ko inside the build so updates in wlan.ko are missing
Devs are working on 2 more bundles
1 Newbie16 on a hero based (is going to be complex with sd partitioning)
2 DJ_Steve on a donut version (is going to be without partitioning)
Kiiv said:
A question for the developers : it's a good thing to keep the system file in .img format I think. When I tried squash fs version, it seemed to be slower..
Click to expand...
Click to collapse
I think the same and devs knows it, plans are staying at img
iseeka said:
I think Cyanogen has wifi driver built-in.. (if you talk about bally´s modded cyanogen has driver built in).
Can u please delete wlan.ko, boot again and see if wifi still works? In that case wlan.ko is inside system.img and we have better wlan.ko (18 or the new one wich is better)
If that cyanogen version load the driver from file i´ll update 1st page with your settings
Click to expand...
Click to collapse
Hi. Excuse my really bad english. Sometimes I can' express what I think!
So, here are my results (only wifi related):
I've wifi starting and connecting with my AP WPA2 protected with:
1) Cyanogen build from Bally
2) KaiserHero build with sense ui with kernel alpha 5 and wifi.ko IRQ 18
With the ION build u posted in the first post of this thread (without changin any file) my wifi starts correctly but doesn't connect to my AP even if I disable the wireless protection. My phone see the AP but dows not connect to it. I hope can help. Bye-
mylostnick said:
1) Cyanogen build from Bally
Click to expand...
Click to collapse
cyanogen modded by bally has an old wlan.ko ...older than (18), the one in my bundle is the newest
mylostnick said:
2) KaiserHero build with sense ui with kernel alpha 5 and wifi.ko IRQ 18
Click to expand...
Click to collapse
I don´t know about this version. as far as i know the ion build included in my package is the only one that loads an external wlan.ko file.
can you please try if deleting wlan.ko still works wifi? if still works it doesnt load the external one.Or give me link and i´ll check if i can
BTW if it loads external, you can try with wlan.ko and zimage from my bundle (new wlan.ko is improved and also allow to load any compatible kernel)
mylostnick said:
With the ION build u posted in the first post of this thread (without changin any file) my wifi starts correctly but doesn't connect to my AP even if I disable the wireless protection. My phone see the AP but dows not connect to it.
Click to expand...
Click to collapse
I´ll try to ask devs but it´s strange. I think has been tested with protection. they probably want a dmesg log. you know how to do it? If not please search over other advanced threads as this one is intended as an easy access to android.. i will try to help you there too
iseeka said:
Installing Android with Wifi on Polaris: the easy way updated:09/09/09 v2!
1) Download and unzip android full 090909v2.rar http://rapidshare.com/files/277877148/android_full_090909v2.rar.html
2) Open default.txt and search for "board-htcpolaris.panel_type=1" (it´s a small file)
There are 2 different polaris and you should change this value according to yours.
POLA200 (rounded bottom) 0 or 3 (3 prefered) http://img.gsmarena.com/vv/pics/htc/htc-touch-cruise-01.jpg
POLA100 1 or 2 http://www.infotec-service.com/shop/images/HTC/htcCruise00.jpg
3) Copy the files to the root of your sd card
4) run Haret.exe from your polaris
Click to expand...
Click to collapse
after i;ve done all that and start booting into linux (black screen with penguin) it says sd card not found
@syto203 is your phone rom WWE or specific language?

[Release] [Kitchen] - SuperJustKitchen v0.9 - Engage!

SuperJustKitchen v0.9 Released.
Go to my site: http://justkitchen.info to get the updates and the info. It takes to long to update every device's forum that is supported, and I plan to support all devices, eventually.
Word of warning:
Not all EXT's have been tested or modified for the every device. Please test test and test and then let me know which packages don't work and what YOU've done to fix them. (I don't have time to fix ALL of them by myself.) Some packages will only be compatible with some devices.
(I'm no longer updating each thread separately for each device but just updating my site and posting the release info here. I will only update each thread to say that a new version is out.)
**Warning**
Before using this kitchen, you MUST read the whole thread. Any questions that have been answered will be ignored. This is your only warning.
**Disclaimer**
I am not responsible for any damage that may be done to your phone with a ROM created in this kitchen.
I am not responsible for any damage done to your computer.
I am not responsible for anything... at all.
Introducing SuperJustKitchen!
​ SuperJustKitchen is based on [http://forum.xda-developers.com/member.php?u=843218"]airxtreme[/URL]'s osKitchen Zero. All credit on for the kitchen backend goes to him.
Features
A completely stripped ROM. (Work in progress for some devices.)
LZX and XPR compression (Also option for No compression.)
Auto clean files that are language specific or DPI specific that your ROM does not need
Auto port missing language MUI files
Automatic rec'loc'ing for devices without native 6.5 nk's
6.1 and 6.5 support
Auto XIP and SYS porting
Auto NBH packing
Tool to convert OEM packages to EXT packages
Auto file conflict fix (don't have to removing older file that conflict (not that there are any. )
Save custom ROM settings (for cooks for multiple ROMs)
Cook multiple languages at the same time with the same ROM settings (Have to add language support yourself. I removed the required MUI's a while back because they made updating the kitchen and adding devices a nightmare.)
MUCH better organization of EXT packages
Active development instead of a program that is no longer being developed
Cleaner and easier to use interface
A built-in and customizable Tutorial section
And more!
Builds included
21056 - WM6.1
23658 - WM6.5 with new redesigned GUI
​
At the moment, this is an ENGLISH (WWE) only kitchen. This might change...
NOTE: In order for me to keep track of whether my time was well spent or wasted, if you use this kitchen to make a ROM, please either include SJK in the name or just mention that it was SJK cooked in your ROM's thread.
NOTE: This kitchen assumes that you know how to flash through SD, recover from a bad flash and are able to backtrack your steps to figure out how you broke your own ROM. If you do not understand these, please learn them first. Do not PM me asking me. I have written numerous walkthroughs on all these except on how to backtrack your steps. For that, just remember what you're doing as you do it and keep backups.
If you find any issues, PLEASE report them to the bug tracker in my website. It will help me make this kitchen better!
ENJOY!!!​
COOL......
Kwel, great booster for new chefs..!!!
error..error....
The elf/elfin side is untested (as I didn't have a tester for it) so let me know if you run into any problems.
Please also post any problems in my bug tracker on my site. Thank you
ivanmmj said:
The elf/elfin side is untested (as I didn't have a tester for it) so let me know if you run into any problems.
Please also post any problems in my bug tracker on my site. Thank you
Click to expand...
Click to collapse
already posted to ur site.....
saurabh88 said:
already posted to ur site.....
Click to expand...
Click to collapse
Please use the bug tracker. (It's one of the links on the site on the left hand side.)
But for now:
ok fine..in windows 7 when i cooked for elfin everythings work fine when i havent include any ext packages... it buikd .nbh but there is update 270error.. ok lets take another look..when i had included most of the ext packsges for first foyr times it gives me oskitchen not responding..after sometime succed in making.nbh file but same 270pdate error..... so what is probleml?... ok if u can plz add function of adding multiple or all ext packages...i have to do it manually.. i think it is promising kitchen but wait...
Click to expand...
Click to collapse
Are you HardSPL'd? If so, do you have the file size limit removed? Also, don't include most of the packages. Your device only has so much space. You're not supposed to include that many programs.
ivanmmj said:
Please use the bug tracker. (It's one of the links on the site on the left hand side.)
But for now:
Are you HardSPL'd? If so, do you have the file size limit removed? Also, don't include most of the packages. Your device only has so much space. You're not supposed to include that many programs.
Click to expand...
Click to collapse
hspl 3.10cmnox...
yes i had remove the file size limit...
file size wa 89mb....
i registered in ur site...ok...
ivanmmj said:
Please use the bug tracker. (It's one of the links on the site on the left hand side.)
But for now:
Are you HardSPL'd? If so, do you have the file size limit removed? Also, don't include most of the packages. Your device only has so much space. You're not supposed to include that many programs.
Click to expand...
Click to collapse
hspl 3.10cmnox...
yes i had remove the file size limit...
file size wa 89mb....
i registered in ur site...ok...but when i go to bug tracker it says helllo guest..i also activate my a.c. but no use..
tried by two gmail &yahoo id but .....
saurabh88 said:
hspl 3.10cmnox...
yes i had remove the file size limit...
file size wa 89mb....
i registered in ur site...ok...but when i go to bug tracker it says helllo guest..i also activate my a.c. but no use..
tried by two gmail &yahoo id but .....
Click to expand...
Click to collapse
It shows that you are registered twice and are activated on both accounts.
I do not have the ability to see passwords. IM me one of the usernames and passwords that you used so I can troubleshoot.
As far as the ROM goes:
If you have an elf, that file size is massive. Remember that the limit only removes the lower limit of a 50mb requirement. The elf doesn't have much space. Do not enable so many things. If you must have all those things, at least enable LZX compression and EXT-UPX compression.
ivanmmj said:
It shows that you are registered twice and are activated on both accounts.
I do not have the ability to see passwords. IM me one of the usernames and passwords that you used so I can troubleshoot.
As far as the ROM goes:
If you have an elf, that file size is massive. Remember that the limit only removes the lower limit of a 50mb requirement. The elf doesn't have much space. Do not enable so many things. If you must have all those things, at least enable LZX compression and EXT-UPX compression.
Click to expand...
Click to collapse
i
i have elfin.....
i had use lzx method....
no one try this?
plz report bugs lol....we got new to try?????
I tried - and already reported into BTS. Corrupted image is reported by RUU everytime I try to flash, does not matter which OS or settings I use. fully unlocked elfin, ipl&spl 3.10
nocturne said:
I tried - and already reported into BTS. Corrupted image is reported by RUU everytime I try to flash, does not matter which OS or settings I use. fully unlocked elfin, ipl&spl 3.10
Click to expand...
Click to collapse
same problem...
even friend of mine from opal have same problem..
dont know y this happen?
wait for the owners.
Looks like there is a corruption somewhere in the kitchen. It is affecting every device. I think it has to do with the executable I changed last minute before updating the kitchen. I'll check myself on my computer.
any update yet?
I've been home sick with the flu so I haven't even touched my computer since. I will let you know more tomorrow. I should get some time to work on it, then.
Get well soon! We are awaiting yout kitchen, seems to be really nice once finished
ivanmmj said:
I've been home sick with the flu so I haven't even touched my computer since. I will let you know more tomorrow. I should get some time to work on it, then.
Click to expand...
Click to collapse
oh sorry to here...get well soon.
i m very eager to try this new kitchen...
Thanks guys.
Do me a favor.
Go to your sources folder and delete the "_Compress" folder then try to cook and flash a ROM. If it works, then that was the problem all along... he moved the folder to another location but the kitchen still reads both.)

Custom bootloader

Hi after some time im'm back to bootloader test. I'm tried to port JumpSPL loader for our photon and i'm aplied Cotulla asm patch to code, also created Makefile, but i think this jumpspl code need some small edits to be able to load custom spl into memory. If you have time to look into source and fix it, this will be great. I'm tried to load custom bootloader and here is log:
Code:
-----------------------
SPL File: \Storage Card\My Documents\hboot_0.90.0000_720d6ffc74.nb0
Jump Address: 0x0
kmode is 0
SPL file size: 524288 bytes
Trampoline setup (tram=52 bytes @ virt 00012164/ virt=18012164/ phys=01e3e164)
And here is my modified source + compiled exe, photon original spl extracted from image, allso in attachment is new haret and new zImage (removed console text at startup)
Here is original jumpspl source
P.S. need help here because i want to try to load HSPL from other device!!!
Screen offset solve
Hi,Cardsharing
Thank you for release the patch files, according to our test, we have confirmed that the screen migration was solved .The mini user are grateful to you, was laborious! Thanks again for your great job!
more information,please click:http://bbs.xda.cn/forum-forumdisplay-fid-260-page-1.html
Xda.Cn miniAndroid test group
Thanx cardsharing...
with your new realeased zimage and haret: screen alignment, battery charging and clocks bugs are fixed in my case. i am uploading the combined released of yours. 29.04+05.04+ this release and will be posting the link to all.
thank you and welcome back.
Charging is not working, video on YouTube is though
Thanks cardsharing
Sent from my HTC Liberty using XDA App
bruce2728 said:
Charging is not working, video on YouTube is though
Thanks cardsharing
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
do i need to copied the t.rar and spl.rar to my sd card ? I would look or battery charge works on my phone
I just copied haret.exe and zimage from t.rar to my sd.
then use the new haret exe with the android icon to launch
................
JumpSPL thread, OK?
DO NOT CHARGE UNDER ANDROID !!
NEW Problem
yesterday i installed the new Haret , and Zimage. I shut it down to charge in windows mobile. today i wanna start haret again and it says :
Haret the file can not be opened. it is not signed with a trusted certificate or one of the components was not found. You must file may have to reinstall or repair if the problem continues to meet vision
what's the problem? i had never problems with android but since the last haret and Zimage i cannot open haret anymore
i look by installed programs , there is nothing. I think only option is hard reset. But will i loose al my programs ans stuff for android to?
I have used a hard reset and it works again fine. BUT i not jused the last HARET and Zimage. i used the package from 04-05-2011. But from cardsharing was better because the time was correct and the display was fine. It loaded faster and saw no bootscreen
Incredibly! Is this topic related to custom boot loader ?? I will not reply you here bacause this topic is not for zImage!
Xda developers forum realy need moderators for htc hd mini because working is not possible
cardsharing said:
Incredibly! Is this topic related to custom boot loader ?? I will not reply you here bacause this topic is not for zImage!
Xda developers forum realy need moderators for htc hd mini because working is not possible
Click to expand...
Click to collapse
if you gave zImage to download why you expect to don't get questions about it?
Be organized and others will respect that and will do the same
OR
Be messy and recieve mess on your threads...
yes, you're right, but again, little attention and reading the title issues would not be bad. Complete topic is gone in the wrong direction

How to Port a ROM to Milestone2

As lately some people are asking me about ROM porting I decided to create this new thread where we can share knowledge about this hard task.
Please note this is a Dev talk thread, so DON'T ASK about fixing a particular ROM problem here. Also don't ask questions like "My phone is bricked! please help!". This IS NOT the appropriate place for it. There are plenty of other threads to help you out.
Also note that this is not a step by step guide (and not a guide at all), it's just a point where you can start from. Android is a very complex system and there are many things I don't know yet. So, research and hard work is what you need to learn it deeply. My first tip is Google really works. Don't be afraid to search
Ok, to the basics. Porting a ROM is no simple task. It requires advanced understanding of how android works and how it is organized. Previous Linux/Unix knowledge helps A LOT. As android is based on this O.S. there are many similarities between both. In fact many ppl consider android to be a kind of linux distro.
The very first task to port a ROM is finding a device which is compatible with your own. For example Defy/Milestone2. Then you are going to choose a ROM to port to your device.
As our devices (Milestone2) have a locked bootloader we now need to find a system image that have a compatible kernel with the ROM we are trying to port. This is mainly based on trial and test and takes a long time. You'll be ending flashing your phone several times with RSD Lite. You should learn how to use MotoAndroidDepacker and how to create a fixed SBF.
The basic procedure to try that:
1. Open original ROM update.zip and remove any files/commands that flashes boot/devtree/recovery/anything.
2. Install this new file on your phone via CW Recovery.
3. Boot into bootmenu and enable ADB so you can read logcat while phone boots.
4. Choose Boot/Normal. If your ROM uses 2nd-init you will need to place/edit/adapt bootscripts into bootmenu 2nd-init folder.
5. Check logcat for errors:
- If you're getting HAL errors you're going to need a new kernel;
- If you can start android without getting HAL errors but still getting errors and bootloop on android animation you should try to replace libs with appropriate original ones.
6. Once you are able to boot android you should test it's features to see what needs to be fixed.
This is what I have to say for now. The thread is now open for discussion.
At this week, motorola has just pushed the GB official update for Droid 2 and Droid 2 Global....
Can i try to port this new rom to milestone 2 and after a success boot, fix the radio..??
I was asking that, because some people has success on port CM7 to milestone 1, when it originally maked for droid 1...
tks a lot..!!
jorgebaruchi said:
At this week, motorola has just pushed the GB official update for Droid 2 and Droid 2 Global....
Can i try to port this new rom to milestone 2 and after a success boot, fix the radio..??
I was asking that, because some people has success on port CM7 to milestone 1, when it originally maked for droid 1...
tks a lot..!!
Click to expand...
Click to collapse
It may be possible, but you'll have a hard time fixing the baseband.
You may have to mod the init.rc scripts and find the right radio binaries (rild is one of them) and drivers.
Ask those ms1 people for help, if they are still with the same phone...
Sent from my Milestone 2 XDA App
I don't know if this will be relevant or not.
I wanted to know if to do any of this, having a Linux distro as OS a must or can I try my hands at it on a windows based machine. I mean I'm sure that a Linux distro will give certain advantages (as Android is based on UNIX/Linux) but can we get things to work a 100% on windows.
If yes, then will someone be kind enough to get give the list of all softwares etc. which will be required to do the job on Windows machine as well as a Linux machine.
I do know a few softwares but I'm not sure if I have an exhaustive list. I would like to learn and try and at least be able to modify in bits n pieces to begin with.
I apologize if this wasn't supposed to be asked in this thread.
The only thing i can get from SBF is a bunch of smg files.
But the only ones i can open are
preinstall.smg
CG39.smg
Is there a way to open/see the rest?
2)
Im trying to modify the CM7 rom, what boot does it use? 2nd-init or 2nd-boot?
i guess it is second-init. but not sure
thanks a lot for this !!!
WeeDv2 said:
The only thing i can get from SBF is a bunch of smg files.
But the only ones i can open are
preinstall.smg
CG39.smg
Is there a way to open/see the rest?
2)
Im trying to modify the CM7 rom, what boot does it use? 2nd-init or 2nd-boot?
Click to expand...
Click to collapse
SMG files are disk images of certain partitions of your flash memory.
You can only open CG39.smg and preinstall (CG66.smg) because they are the only images in ext3 format. The rest of images may be on ramdisk format or some proprietary format. For more details on partition codes take a look here:
http://and-developers.com/partitions:cdt
You may be able to open and see contents of other partitions but the only one that matters aside from system and preinstall is the boot partition (CG35.smg), which contains the init scripts we should mod in order to make they work with 2nd-init. Boot partition is in ramdrive format. More details here:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
http://elinux.org/Android_on_OMAP
It is easier to unpack boot image using Dsixda's Kitchen here:
http://forum.xda-developers.com/showthread.php?t=633246
Edit: To see what boot your CM7 uses just go inside /system/bootmenu/config and look for a file called default_bootmode.conf. That should be the boot method used. It's normally 2nd-init.
sahilarora911 said:
I don't know if this will be relevant or not.
I wanted to know if to do any of this, having a Linux distro as OS a must or can I try my hands at it on a windows based machine. I mean I'm sure that a Linux distro will give certain advantages (as Android is based on UNIX/Linux) but can we get things to work a 100% on windows.
If yes, then will someone be kind enough to get give the list of all softwares etc. which will be required to do the job on Windows machine as well as a Linux machine.
I do know a few softwares but I'm not sure if I have an exhaustive list. I would like to learn and try and at least be able to modify in bits n pieces to begin with.
I apologize if this wasn't supposed to be asked in this thread.
Click to expand...
Click to collapse
Don't worry, this is the right place
As for your question: yes you can work in windows if you like, but using at least a Linux VM is more productive. I don't have a full list of applications to give you, as different mods may require different tools, but I advice you to have at least:
- Notepad++ (essential for editing text files and keeping linux end-line format);
- dsixda's Android Kitchen (http://forum.xda-developers.com/showthread.php?t=633246)
- 7zip (or some other compress tool you like)
- Moded putty for ADB as working with windows command prompt really suck (http://forum.xda-developers.com/showthread.php?t=803225)
- Oracle Virtual Box (if you are going to use linux VM).
r2beta0 said:
SMG files are disk images of certain partitions of your flash memory.
You can only open CG39.smg and preinstall (CG66.smg) because they are the only images in ext3 format. The rest of images may be on ramdisk format or some proprietary format. For more details on partition codes take a look here:
http://and-developers.com/partitions:cdt
You may be able to open and see contents of other partitions but the only one that matters aside from system and preinstall is the boot partition (CG35.smg), which contains the init scripts we should mod in order to make they work with 2nd-init. Boot partition is in ramdrive format. More details here:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
http://elinux.org/Android_on_OMAP
It is easier to unpack boot image using Dsixda's Kitchen here:
http://forum.xda-developers.com/showthread.php?t=633246
Edit: To see what boot your CM7 uses just go inside /system/bootmenu/config and look for a file called default_bootmode.conf. That should be the boot method used. It's normally 2nd-init.
Click to expand...
Click to collapse
Thanks again r2beta
thanks r2beta0
- Notepad++ -- got it
- dsixda's Android Kitchen -- downloaded (need some link for a how-to on its usage)
- 7zip -- got it
- Moded putty for ADB -- got it
- Oracle Virtual Box -- can't install Linux on my system as this is a work machine
dunno if I can do without the last option.
sahilarora911 said:
thanks r2beta0
- Notepad++ -- got it
- dsixda's Android Kitchen -- downloaded (need some link for a how-to on its usage)
- 7zip -- got it
- Moded putty for ADB -- got it
- Oracle Virtual Box -- can't install Linux on my system as this is a work machine
dunno if I can do without the last option.
Click to expand...
Click to collapse
Oracle Virtual Box is an application that lets you run an operational system on a virtual machine, in other words, it doesn't install linux on your real computer. It's a very useful tool that I use everyday. Google for it and learn a bit, you won't be disappointed. About kitchen: the link I provided was download + guide. Read it again. If necessary read the full thread.
r2beta0 said:
Oracle Virtual Box is an application that lets you run an operational system on a virtual machine, in other words, it doesn't install linux on your real computer. It's a very useful tool that I use everyday. Google for it and learn a bit, you won't be disappointed. About kitchen: the link I provided was download + guide. Read it again. If necessary read the full thread.
Click to expand...
Click to collapse
I know a bit about virtual box but as I said I'm not allowed to have softwares not approved by the IT team to be present on the system. Though I can get away with small things like notepad++ and 7-zip, having virtual box on my system may raise some eye brows.
I'm trying to arrange an alternative system.
Me neither. I must do almost everything at home, and at this very moment I simply don't have any free time. I'm afraid you're not going to see me here very often anymore (maybe in a few months? a year? well, it might be a bit too late for milestone2...)
hi. Have a question, I want to remove baseband from a flashable zip (lets say, CM7 from Tezet) , is it posible? I dont know where to look for it (baseband). Thanks!!
Baseband is located in \system\etc\motorola\bp_nvm_default\
But don't remove it, just replace it with files from ROM, which have baseband you want.
---UFO--- said:
Baseband is located in \system\etc\motorola\bp_nvm_default\
But don't remove it, just replace it with files from ROM, which have baseband you want.
Click to expand...
Click to collapse
Ok thanks for the info.
Sent from my A953 using XDA
Hi All,
Just a quick question. I have ported Paranoid Android 2.10 to MS2 but the problem I am facing is that Reboot goes through Bootmenu and I have to choose reboot from Bootmenu again.
Any inputs?
Thanks in advance
Megalith27 said:
Hi All,
Just a quick question. I have ported Paranoid Android 2.10 to MS2 but the problem I am facing is that Reboot goes through Bootmenu and I have to choose reboot from Bootmenu again.
Any inputs?
Thanks in advance
Click to expand...
Click to collapse
I meant to get to it last night, but I was tired after work and fell asleep watch tv. Eventually, later tonight, I'll be uploading PA for MS2. Check my Defy PA thread in 12-14 hours cause I'm about to go to work and I'm not gonna feel like making a MS2 PA thread or updating my Bravo PA thread -- but the Defy Thread is always up to date when I put out new roms.
Also, I'm looking to get either a Defy or MS2 -- I've heard that there's 3G issues with AT&T users (which I am) with the MS2 -- Apparently the MS2 has different 3G frequencies than AT&T. Are there any AT&T MS2 users who are knowledgeable about that? While I can deal with no 3G, edge only, calls only -- I need to make sure I can at least do that before I commit to something.
I'd rather have the MS2 because I want a hw keyboard and I don't have the $300+ to try and get a Photon Q LTE from eBay (and I don't have to change up my repos if I get a MS2). If anyone here knows of a phone that's AT&T compatible, Defy code compatible, and has a keyboard, please let me know.
Thanks.
//Normally I'd post the latter half in the Q&A section, but ya'll don't have one so I'm just gonna piggyback
//My Bravo doesn't have a Q&A page either -- it needs one that's not my PM box...Don't PM me on how to root your phone and flash CM7 -- read one of the 5 guides on the first page of both General & Dev...:silly:
Ok devs need some help here.
I am trying to port a rom to our Milestone 2...but it bootloops on rom animation.
I tried to logcat it but I don't think it gets as far as adb server to detect the device.and just keeps saying "waiting for device"...so I end up with no logcat to diagnose the problem.
I can logcat my current working rom but only after the phone boots....am i missing something here? please, help
Any help is very much appretiated.
Thanks a lot in advance

Turn Your ROM Into A .Torrent

Why use a crappy website to host your ROM when you can create a .torrent from it instead and allow it to be seeded by numerous sources so it stays active?
Here is how I create .torrent files with Windows...
1) Download and install the 2.0.3 version of uTorrent.
2) Open uTorrent after it installs and set it up. I would recommend NOT updating to the latest version.
3) Click the icon with the magic wand on it to create a .torrent.
4) I would suggest creating a folder with the name of your ROM then place the ROM .zip into that folder.
5) Click on the ADD DIRECTORY button and select the folder you created with the ROM .zip in it.
6) Use these trackers with line breaks between them...
udp://tracker.ccc.de:80
udp://tracker.istole.it:80
udp://tracker.openbittorrent.com:80
udp://tracker.publicbt.com:80
7) Click the CREATE AND SAVE AS... button and name the .torrent preferably with the folder name you used.
8) Leave your uTorrent on so you (Seed) can share your ROM with people (Peers). It is nice if those peers leave their .torrent program on so they can seed as well. The more seeders the better!
9) Upload the .torrent file of your ROM to some website and post the link to the .torrent in your ROM post.
Now people can download it with whatever .torrent program they use and get it on their phone.
Attached are a couple of .torrents to get either Liquid or RedHead for the Droid Bionic...
..
MarkTee said:
I think the main reason is that it's a lot easier to edit a post for updates than create a new torrent each time. Torrents would lead to even greater fragmentation; tons of users would start contacting devs for help with outdated versions.
Click to expand...
Click to collapse
I think torrents are a great options they really are!
The developers would only have to post the torrent for the newest version, it would take no more work then uploading it to a site and posting
MarkTee said:
I think the main reason is that it's a lot easier to edit a post for updates than create a new torrent each time. Torrents would lead to even greater fragmentation; tons of users would start contacting devs for help with outdated versions.
Click to expand...
Click to collapse
Fragmentation is not an issue especially when the user's torrent client is set to pre-allocate space. Users with older versions of the ROM would hopefully be wise enough to figure out the developer has released a newer version especially if the user is smart enough to check the official ROM thread for updates and the developer takes the few seconds of time needed to update the link/attachment for the torrent.
zacthespack said:
I think torrents are a great options they really are!
The developers would only have to post the torrent for the newest version, it would take no more work then uploading it to a site and posting
Click to expand...
Click to collapse
EXACTLY! And with hopefully hundreds of users sharing the ROM via torrent, the ROM will never be unavailable due to website problems.
Having the ROM on torrent would be so much more helpful in downloading. Everyone would be able to seed it =P

Categories

Resources