This was a Pulse port thread but lack of interest killed it so I'm just going to make it as general as possible and put all the steps. I'll write Hero and AOSP guides for porting, for example the Droid X, to our phones.
I'll add platform and kernel guides here and keep the second post for actually porting. Any added tips or fixes will be added to the OP.
Step By Step
This assumes you have a Unix shell available. A lot can be done in Windows but not everything. This is one way, not exactly the best but will do the job.
Step 1: Getting The Goods
Download a ROM you want to port. This could be like a Sense one that is closed source and all you have are compiled files.
Step 2: Your System's Starting To Work
* a.) Make a base folder
# mkdir ~/android-port/working && cd ~/android-port/working
# mkdir source_system
# cp ~/Downloads/SuperAwesomeROM_signed.zip ./source_system/
# cd s* && unzip U*
* b.) Take a release from a good, working ROM, preferably AOSP for our phones. We'll call this aosp_update.zip
# cd ~/android-port/working && mkdir aosp_src
# cp ~/Downloads/aosp_update.zip ./aosp_src/
# cd a* && unzip a* && rm a*.zip && cd ..
* c.) Make a working folder for your port and begin:
# mkdir output && cd o*
** Up to this point we have made 3 folders: one for AOSP source, one for the ROM to port and a working folder that you will edit and eventually ZIP into an update. Some may use A2SD where the system apps are in /data/app_s. This would be any Sense ROM due to their size versus our paltry storage space. I will assume not so adjust accordingly. Details on setting that up will be added.
Going in ABC order for clarity:
* d.) Copy AOSP's extracted contents in full over to the output/ folder.
* e.) Go through the source system in a new window and:
* f.) replace all of the apps
* g.) copy the bin/ folder but do not overwrite anything
* h.) this rom has a cust/ folder; if there are folders not in AOSP, just copy
* i.) In the source's etc/ folder, copy everything to AOSP, overwriting but do not copy apns-conf.xml or any wifi files/folders
* j.) fonts + media can go right over, replacing all
* k.) delete everything in your framework folder then put Pulse's in their place
* l.) Considering the update-script, copy the contents of xbin/ over that work with it-- more later on that
* m.) The libs/ folder is one of the most important and the wrong files will wreck your setup. Keep these from AOSP but override the rest:
Audio: libaudio.so
GPS: libgps.so
Camera: libcamera.so
Live wallpapers: libRS.so & librs_jni.so
Bluetooth: honestly forget at the moment
EGL & HW folders: LEDs, keypad, 3D support, graphics, etc. If using a kernel other than for AOSP keep these files from the ROM the kernel came in as they can be very specific. But not always..
I'll update the first page with boot.img guides later but for now you can pretty much follow this guide. I use the 'alternative' method:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images
very excited for this release, keep up the good work
so i said to myself... "yo dawg, i heard u like pulse ROMs"... and then answered myself and said "hell ya C to da R!!" so then i was like "well ur in luck... cuz were gon PIMP UR RIDE"... wait... "PHONE".... "damn it... cut... can we do that again?"
Can't wait to try this out, I like the multiple direction scrolling home screen.
You can find a 2.1 pulse dump from modaco
http://android.modaco.com/category/413/t-mobile-pulse-pulse-modaco-com/
Not to down you op but the 2.1 pulse port runs like **** on the pulse,why would we want it on the 32b devices considring we already have nearly perfect 2.1 in several differnt flavors,sorry again,just my opinion.
Jerzeeloon said:
Not to down you op but the 2.1 pulse port runs like **** on the pulse,why would we want it on the 32b devices considring we already have nearly perfect 2.1 in several differnt flavors,sorry again,just my opinion.
Click to expand...
Click to collapse
The OP wants to help people learn to port ROMs to 32B.
Jerzeeloon said:
Not to down you op but the 2.1 pulse port runs like **** on the pulse,why would we want it on the 32b devices considring we already have nearly perfect 2.1 in several differnt flavors,sorry again,just my opinion.
Click to expand...
Click to collapse
Its one of the few 2.1 devices with similar specs to the g1 (resolution, ram and processor) could pick up a few good things from it maybe?
It's a how-to thread but also no one has a port to our phones yet so why not? It is pretty w/the pink designs taken out. Besides, with FroYo source being held we can't get much further than we are already.
I've already done some work on this.
Here is a link for a build of mine (based on Paul's r6, so it is odexed unfortunately, because r4 was in a worse mess (seperated ramdisk)) that shows the t-mobile pulse logo with the pink circle (boot screen) but simply loops that animation, and gets stuck on a libaudio.so related problem. CM .33 kernel, compiled for this (should technically have same md5 as the one in test4). Help me out devs. This isn't signed (ignore the filename), I assume that anyone who is going to work on this at least knows how to sign a file
http://www.mediafire.com/?wmnoyzmmcdt
Good Luck to anyone who helps me. I'll continue tomorrow or on the weekend, I have a math test to study for.
http://bit.ly/d3YjEa if anyone has $230~ they want to shell out for this.
would love to learn how to start dev'ing, but where do you start with something like this? im lost as a kitty in a jungle of snakes >.>
I actualy was thinking today that I wanted to try a pulse rom on my Fender. It would be nice. Since its a 32a board, might run much much smoother
yea, I'll be adding a guide (and download) for 32A once I have a working ROM + lrn2notfail at 32A ports.
I'm gettin the mytouch slide wednesday,I'd be intrested in a full 2.1 port for that,can supposedly overclock the cpu to 800mhz and it has 512 ram,should be able to run lwp easily,that and the launcher 2 are the only full features I'm missing on my current mt3g running super E,I mean lwp is there but some cut out when I go to lockscreen.
Jerzeeloon said:
I'm gettin the mytouch slide wednesday,I'd be intrested in a full 2.1 port for that,can supposedly overclock the cpu to 800mhz and it has 512 ram,should be able to run lwp easily,that and the launcher 2 are the only full features I'm missing on my current mt3g running super E,I mean lwp is there but some cut out when I go to lockscreen.
Click to expand...
Click to collapse
The slide is a Mytouch 32a with a keyboard. Nothing more.
crypysmoker said:
The slide is a Mytouch 32a with a keyboard. Nothing more.
Click to expand...
Click to collapse
yes but with 2.1 and sense which i can't stand but i saw how the pulse is im loving that !!!
I for one am all for this. I've been trying (and failing miserably) to figure out how to simply MAKE a ROM, much less port one. @enatefox, bless us (or at least me) with some wisdom, Pulse or not.
Last I remember, Pulse ROMs simply ran on G1's and the like, but didn't have much functionality behind them. Hopefully, myself and others can learn a little more from threads like this, to help out potential dev's like enatefox, ChiefzReloaded, and others with this and other ROMs they're working on.
crypysmoker said:
The slide is a Mytouch 32a with a keyboard. Nothing more.
Click to expand...
Click to collapse
It has twice as much ram and a faster cpu them the 32a
Related
READ FIRST - I am no longer updating my ROMs - details.
If you're following the Hero scene, you'll know that I have published a custom ROM based on the 1.73.405.5 shipping ROM. I have a Vodafone Magic (32B) and a T-Mobile G1 kicking around (and HTC want my PR review unit Hero back!), so figured it would be cool to firstly build a really simple way for me to package my ROMs for all 3 devices, and secondly try and produce an update.zip that runs on all 3!
Well, the first step is here, I have the MoDaCo Custom ROM ready to install on your Sapphire 32B device (if anyone can point me at a boot.img / kernel that runs this on 32A, i'll include that in the package (I can't test 32A)).
Things you should know...
- Contents are IDENTICAL to the MoDaCo Custom ROM core version detailed here.
- I have used cyanogen's kernel from 4.0.4 (big respect to cyanogen, he's doing awesome work!)
- Now compcache ready - use this script for a big performance boost!
It has room for improvement, and given the serious lack of ROM on the G1, I think optimising is a priority. Hopefully it will also provide a useful base for some other chefs. All that said and done tho, I don't think in it's current state it's unusable!
The download link (in update.zip format for flashing in the usual way via recovery image) is at: http://android.modaco.com/content/h...-09-2-1-modaco-custom-rom-hero-to-dream-port/
I've packaged Cyanogen's 4.1.6 BFS enabled Kernel and wlan.ko as an update.zip too (see above thread) - nandroid backup before applying!
I've quoted some of my original Hero post here, so you know what you're getting. Enjoy!
P
Changelog
2.2
Fixed SU and SD card bugs.
2.1.2
Updated busybox
Now compcache ready - use this script for a big performance boost!
2.1.1
Switch to Cyanogen's kernel
Fixed G-Sensor / Compass
Fixed sound
Unified Dream / Sapphire 32B download
2.1
Initial Release
me said:
This ROM is based on the Generic 2.73.405.5 release version of the 'new update' (together with my own optimisations) for the best possible performance! The ROM is now available in 2 versions - 'core' and 'enhanced' by popular request.
Included in both 'core' and 'enhanced' versions
- Rooted with 'adb remount' permission and superuser APK
- A2SD included (fully automatic - thanks cyanogen!) - create a EXT3 partition as your second partition to use. dalvik-cache remains on device. EXT4 is NOT supported.
- Added Jbed Java
- Added Spare Parts (run it and switch the 2 animation types to 'fast' for an even better experience!)
- Added Custom Locale for setting non english Locales
- Added android-wifi-tether 1.52 (props to the developer, this is a great app!)
- Added WMSM
- Added busybox 1.15 - tweaked such that 'get information' in Swapper now works as desired
- Added nano 2.09 - text editor for use in shell mode
- Added terminfo and settings to boot.img to allow nano etc. use
- Added tun.ko file (untested, please report on whether this is useful)
- Added files required for Debian linux
- Moved Quickoffice to data partition to allow easy uninstall
- Deleted 'Learn More' application
- Deleted Maps application - install from the Android Market to always stay up to date
- ROM now includes touch focus in Camera app
- ROM now supports shortcuts using BetterCut (and therefore I assume anycut!) in Rosie
- Silenced boot sound (it's still there and can be reactivated with a file edit)
- You can now check your MoDaCo Custom ROM (MCR) version from the about menu. It will display MCR2.0 (core) or MCR2.0e (enhanced).
- Fix for HTC Peep on Vodafone now available here!
Click to expand...
Click to collapse
Yes
Fire up the stoves chefs and let the cook-off begin!!! lol
Awesomeness Just out of interest then, is this the same build as in this thread
http://forum.xda-developers.com/showthread.php?t=555624
or newer/older?
Jonno12345 said:
Awesomeness Just out of interest then, is this the same build as in this thread
http://forum.xda-developers.com/showthread.php?t=555624
or newer/older?
Click to expand...
Click to collapse
It is based on a newer build of Hero. So it should technically be better. May need some optimization for the G1 though.
I'm running CM v4.1.4 right now, I can just flash this without any other modification? Would a wipe be advisable?
modaco said:
If you're following the Hero scene, you'll know that I have published a custom ROM based on the 1.73.405.5 shipping ROM. I have a Vodafone Magic (32B) and a T-Mobile G1 kicking around (and HTC want my PR review unit Hero back!), so figured it would be cool to firstly build a really simple way for me to package my ROMs for all 3 devices, and secondly try and produce an update.zip that runs on all 3!
Well, the first step is here, I have the MoDaCo Custom ROM ready to install on your Sapphire 32B device (if anyone can point me at a boot.img / kernel that runs this on 32A, i'll include that in the package (I can't test 32A)).
Things you should know...
- Contents are IDENTICAL to the MoDaCo Custom ROM core version detailed here.
- I have used the awesome 2.6.29 jac kernel (serious respect - these guys are the real heroes (pun intended)!)
- None of the 2.6.29 kernel tricks are used (yet)
- No real optimisation has been done (yet)
So, it has room for improvement, and given the serious lack of ROM on the G1, I think optimising is a priority. Hopefully it will also provide a useful base for some other chefs. All that said and done tho, I don't think in it's current state it's unusable!
The download link (in update.zip format for flashing in the usual way via recovery image) is at: http://android.modaco.com/content/h...-09-2-1-modaco-custom-rom-hero-to-dream-port/
I've quoted some of my original Hero post here, so you know what you're getting. Enjoy!
P
Click to expand...
Click to collapse
thanks!!! 10 chars
B3astofthe3ast said:
I'm running CM v4.1.4 right now, I can just flash this without any other modification? Would a wipe be advisable?
Click to expand...
Click to collapse
just make sure u have the latest Radio and SPL and make a nand backup Just In Case
Anyone else having trouble flashing? Get an error, going to redownload incase it's just a bad download.
Redownloaded, still can't flash, get
Code:
E:failure at line 361:
copy_dir PACKAGE:data DATA:
Installation aborted.
EDIT: Wiped dalvik-cache and it flashed .
Jonno12345 said:
Redownloaded, still can't flash, get
Code:
E:failure at line 361:
copy_dir PACKAGE:data DATA:
Installation aborted.
Click to expand...
Click to collapse
You have to wipe your ext 3 and do a alt+w
Yeeeahhh.
The blaze is about to be set!
Got a question....
Are there any devs out there that can build a ROM from the ground up? Maybe a Hero clone that doesn't require so much space and resource? I've noticed (not being anything close to a dev) that you guys take a ROM developed by some techie at HTC and cook it to bring the rest of us enjoyment and peace with our phones, but does any dev have the know-how to develope a "Hero" ROM designed for the G1?
If this is retarded, just ignore the post and tell me to go brick my G1. Word...
jugg2000 said:
Yeeeahhh.
The blaze is about to be set!
Got a question....
Are there any devs out there that can build a ROM from the ground up? Maybe a Hero clone that doesn't require so much space and resource? I've noticed (not being anything close to a dev) that you guys take a ROM developed by some techie at HTC and cook it to bring the rest of us enjoyment and peace with our phones, but does any dev have the know-how to develope a "Hero" ROM designed for the G1?
If this is retarded, just ignore the post and tell me to go brick my G1. Word...
Click to expand...
Click to collapse
Um first off that would be painstainkinly annoying to do and second if it was possible someone probably would have done it and third these roms are a HERO rom designed for a g1 they were once for hero now there for a g1
r_dub said:
You have to wipe your ext 3 and do a alt+w
Click to expand...
Click to collapse
Ahh okay, didn't wipe my ext 3 Hoped I'd get away with it Will try again.
Jonno12345 said:
Ahh okay, didn't wipe my ext 3 Hoped I'd get away with it Will try again.
Click to expand...
Click to collapse
Yeah for 1.5.1 its an absolute must
jugg2000 said:
Yeeeahhh.
The blaze is about to be set!
Got a question....
Are there any devs out there that can build a ROM from the ground up? Maybe a Hero clone that doesn't require so much space and resource? I've noticed (not being anything close to a dev) that you guys take a ROM developed by some techie at HTC and cook it to bring the rest of us enjoyment and peace with our phones, but does any dev have the know-how to develope a "Hero" ROM designed for the G1?
If this is retarded, just ignore the post and tell me to go brick my G1. Word...
Click to expand...
Click to collapse
if you have the money to pay my bills whilst I quit my day job and can wait several months. Then yes.
It takes TEAMS of people that get paid a **** ton of money MONTHS to develop a ROM from the ground up.
ccyrowski said:
if you have the money to pay my bills whilst I quit my day job and can wait several months. Then yes.
It takes TEAMS of people that get paid a **** ton of money MONTHS to develop a ROM from the ground up.
Click to expand...
Click to collapse
Scratch that. If you have the money to pay every cooker here for several months then yes it could be done.
EDIT: I'm only talking for myself and JAC, but a lot of the stuff JAC or I include in our builds we built from the source at http://android.git.kernel.org/
ccyrowski said:
Scratch that. If you have the money to pay every cooker here for several months then yes it could be done.
Click to expand...
Click to collapse
Not a bad idea we could all pitch in and have all the hero devs work togeather on a fully functional G1 Hero build LOL just kidding
im gonna nandroid backup and flash... will post results
It looks like we have some known issues for me to fix tomorrow... no G-Sensor, Compass or (worringly) sound! biggrin.gif
If any chefs have come across these before and have any hints, let me know! wink.gif
P
hey i have bricked my phone i trieed to update my radio to install this rom after completing it when i rebooted my phone now i onli see a photo of a box and a arrrow cuming out of it indicating to phone i cant even power on my phone cant even go to recovery mode..............please help...
This is still not a bootable build
update 10/16/09 ------
Qteknology has got it booting to splash screen but its in a bootloop
this amazing progress
everything i do will be based off this work from here on out thans so much Qtek!
ill need to get some information on what exactly he changed but i know
modified build.prop
modified hw folder
modified bootscreen (tattoo one wouldnt play right)
still wont boot all the way waiting to work out a few things before i post a link i also wanna ask him if its ok for me to post a link
THIS BUILD WILL NOT BE FLASHABLE YET IT IS SPECIFICALLY FOR INPUT/Developement ONLY!
Code:
*****!!!!!! DISCLAIMER!!!!!!!*******
This is still not a bootable build
i am not responsible if you try to flash these roms
for any damage that may occur to your device
these are not finished and are not bootable
still in EARLY EARLY EARLY BETA!
This is about where im at right now
closed-10.07.09
Tattoo Only from the WWE 1.65.405.1 build
Merged lib and hw (for sensors) folders with 1.6 doughnut for magic 10/13/09 will try new lib folder idea tonight and report back with logcat and DDMS report
Specific items will be listed later today when i can think of everything
added some stuff in system/bin (super user access etc)
cyanogens 4.1.11.1 kernel and corresponding wlan.ko added (Thank you so much jubeh for the boot.img)
update-script should be super barebones... really just hoping for a boot right now
______________________________________
Update 10/07/09
so Jubeh might be my saviour He packed the Tattooboot.img with cyanogens kernel
A big thanks to: Jubeh(wouldve never got this far without his knowledge),Nk02(for dump used), Drizzy Drake Rogers(is my personal htc hero),Qteknology (you rock man), Jac, Haykuro, Cyanogen, ccyrowski,JF,twizzzzzzted and any others I forgot to mention you guys are great lets keep building a better bot
you cant mixe 2 different builds together, rosie is tied to many apps, so if you were to only try and port the rosie onto a hero build already out, then rosie wont load just your regular laucher!
mixing builds is bad, especially if they are odex!
Drizzy~
I have a night job and I'm getting ready to sleep. Sorry I didn't reply to your last PMs, but the questions are a little involved and I'm very very sleepy. When I have time (maybe later today, or tomorrow, or could be the weekend) I'll try to get a very simple (no a2sd, no compcache, no nonsense, no nothing, just tattoo and root) build working so that people can take it and mod it as they wish. I won't promise anything though, I'm a known procrastinator.
jubeh said:
I have a night job and I'm getting ready to sleep. Sorry I didn't reply to your last PMs, but the questions are a little involved and I'm very very sleepy. When I have time (maybe later today, or tomorrow, or could be the weekend) I'll try to get a very simple (no a2sd, no compcache, no nonsense, no nothing, just tattoo and root) build working so that people can take it and mod it as they wish. I won't promise anything though, I'm a known procrastinator.
Click to expand...
Click to collapse
Id feel alot more accomplished if i can make it work with a small ammount of direction (ill try not to ask REALLY stupid questions hahaha OMFG I BRICKED
coding makes all kinds of sense to me I jsut need to know what points where and where the system starts the read from
starts at kernel and kernel on firstboot compiles my libs and runs scripts once the environment is built from kernel loads framework and apps stuff like that
once that happens you have live system
Drizzy Drake Rogers said:
you cant mixe 2 different builds together, rosie is tied to many apps, so if you were to only try and port the rosie onto a hero build already out, then rosie wont load just your regular laucher!
mixing builds is bad, especially if they are odex!
Drizzy~
Click to expand...
Click to collapse
i knew about the odex thing becuase the odex is SPECIFIC to the build correct? when you add it i think youll get a error like doesnt match stored signature no signature on file ignoring in logcat
i need a NON Odex'd hero like haykuro's and update it all with tattoo stuff and the newest hero apps to fill in where tattoo doesnt cut it
I know rosie is tied in with alot of stuff and when you just try to merge rosie it wont parse properly because it needs the sdk4 to parse the package
THEREFORE! haha i want to make basically 1.6 Rosie with hero apps filling in for the tattoo ones that i dont wanna edit all the drawables in
i want functionality of 1.6 speed of the dumbed down rosie for tattoo and apps from hero i know ill have to cook this and in no way am i asking someone to "just make update.zip so i can flash"
lets limit me to 1 n00b question a day and after a week or so of patience ill prolly have it done
Question of the day: Can I Un ODEX builds or do the ODEX's directly correspond with the apk and are necesary for the apk's functionality i know that dexopt will run at firstboot on odex'd builds but the odex's exist before the dexopt runs right?
yes you can unodex. http://jf.andblogs.net/2009/09/10/slay-those-pesky-odex-files/#more-153
alritewhadeva said:
yes you can unodex. http://jf.andblogs.net/2009/09/10/slay-those-pesky-odex-files/#more-153
Click to expand...
Click to collapse
then ill see if unodex'd tattoo and unodex'd TwiztedZero6.14r3 can play nicely together :-D
sounds like a headache to unodex the whole build
*shoots self in head* this will take almost a week man i need my own computer
the classes.dex items go back into the apks right? (sorry that makes 2 stupid n00b questions today
NEVER MIND SCRATCH THIS WHOLE ENTRY
per mister drakes words
dont mix builds its bad!
so build off this droid i will
ok so last night i compiled the two different ideas weve had
1) Mashed Tattoo's APP/framework and merged the lib folder with TwiztedZerox6.14
2)Tattoo Alone with Cyanogens kernel and bin xbin folders and some build.prop changes for LCD DPI density changed from 120 back to default
On test flash i get the same message from both update scripts
(the update scripts had been pulled from the latest cyanogen update to be used in my build)
problem line 64 Chown perm *some numbers* bin:reboot
on both update zips tried editing the update-script and it still has issues
any ideas anyone?
Zarboz said:
ok so last night i compiled the two different ideas weve had
1) Mashed Tattoo's APP/framework and merged the lib folder with TwiztedZerox6.14
2)Tattoo Alone with Cyanogens kernel and bin xbin folders and some build.prop changes for LCD DPI density changed from 120 back to default
On test flash i get the same message from both update scripts
(the update scripts had been pulled from the latest cyanogen update to be used in my build)
problem line 64 Chown perm *some numbers* bin:reboot
on both update zips tried editing the update-script and it still has issues
any ideas anyone?
Click to expand...
Click to collapse
in /system/bin from system.img there is a toolbox symlink "reboot" ? if there is, you have to remove it (because all symlink must be create during installation, as write in update-script)
its actually easy to edit the script ... check every line and try to see! what it is doing , you shouldn need xbin at all, remove all lines about it for now, no busybox nothing
as nk02 said remove all links (do you use linux ?) and then your script hould copy system and data , make a symlink for app_s and change some permissisons that's it.
so clean upp the script , and make your own. I will pst one for you here , make sure you have all files in your system ...
shwan_3 said:
its actually easy to edit the script ... check every line and try to see! what it is doing , you shouldn need xbin at all, remove all lines about it for now, no busybox nothing
as nk02 said remove all links (do you use linux ?) and then your script hould copy system and data , make a symlink for app_s and change some permissisons that's it.
so clean upp the script , and make your own. I will pst one for you here , make sure you have all files in your system ...
Click to expand...
Click to collapse
thanks started using textpa and now my update scripts are fine got the hero+tatto mashup to boot but its giving me all kinds of odex issues
im gunna have to find a UN odex'd hero to mash it with and un odex the tattoo build
havent worked on the ONLY tattoo with cyanogens kernel yet i got busy and i dont have a tester phone just my mytouch and i cant go more than 3 hours with out being able to use it haha
no im not on a linux machine i am still getting comfortable with command line functions and have been doing nothing but reading the android developers page and anything linux related on the internet
my betas are uploading right now neither will boot one boots enough to get into logcat but because i mashed the odex'd builds together i know i know im a bum and i didnt wanna deodexarnt the whole thing (take time to do it right and never do it twice)
next on my list of things to try
get unodex'd hero build and unodex tattoo then mash
see if i cant just get straight tatoo to boot then trim the resolutions of the rom to fit on our 32b devices
any input is greatly appreciated
Zarboz said:
thanks started using textpa and now my update scripts are fine got the hero+tatto mashup to boot but its giving me all kinds of odex issues
im gunna have to find a UN odex'd hero to mash it with and un odex the tattoo build
havent worked on the ONLY tattoo with cyanogens kernel yet i got busy and i dont have a tester phone just my mytouch and i cant go more than 3 hours with out being able to use it haha
Click to expand...
Click to collapse
You can use my Hero build, it's unodexed.
maxisma said:
You can use my Hero build, it's unodexed.
Click to expand...
Click to collapse
wouldnt i need to unodex tattoo as well to ensure that they will work together?
i assume yes since the whole build would be unodexed
**edit**
wich one your new drizzy stuff or the old one thats in sapphire forums
yes would be need to unodexed too.
Can anyone deodexerant the tattoo dump I have no Linux machine
Zarboz said:
Can anyone deodexerant the tattoo dump I have no Linux machine
Click to expand...
Click to collapse
virtualbox ?
Help!
I am willing to help with the Deodex if I can, I already started doing something similar to you but against the latest Cyanogen experimental build which is already Donut.
I am trying to Deodex Tattoo but am struggling, I am trying to get my head round what we need to do to deodex it.
According to the readme of deodex you need to have the phone running the exact firmware you want to deodex (I don't have a Tatoo or know anybody who does), or use a CH Root environment to do it.
This is where I get stuck, are they on about a CH root environment on our phones or within my Unbuntu environment (it is not very clear)? Can somebody give me a clue or even better instructions on the CH root process required to use Deodex?
Thanks
James
james194zt said:
I am willing to help with the Deodex if I can, I already started doing something similar to you but against the latest Cyanogen experimental build which is already Donut.
I am trying to Deodex Tattoo but am struggling, I am trying to get my head round what we need to do to deodex it.
According to the readme of deodex you need to have the phone running the exact firmware you want to deodex (I don't have a Tatoo or know anybody who does), or use a CH Root environment to do it.
This is where I get stuck, are they on about a CH root environment on our phones or within my Unbuntu environment (it is not very clear)? Can somebody give me a clue or even better instructions on the CH root process required to use Deodex?
Thanks
James
Click to expand...
Click to collapse
take my tattoo only build unzip it and take the update script delete the line about system:xbin save and resign then flash this will load the android environment through cyanogens shell for the tattoo i just dont know if it will display anything on the phone itll probably have a bunch of errors in logcat
i just havent gotten this far yet because i dont have a phone that i can flash just to test stuff all i have is my mytouch and i cant afford to be without it for very long and i dont know how to boot custom roms on emulator nor do i think we can boot this due to htc parts missing from the SDK
next on my list to try....
*****************
-get virtualbox up and going and deodexarnt the tattoo build (i think itll boot enough to get dalvik manager to run so we can deodex it)
-once deodexed i would like to see if i can get this thing to boot standalone (if the standalone i have now will boot {not been able to test yet like ive said no device to test with} if the standalone is being a big pain in the [email protected]# and not booting properly or we have issues with screen size differences ill have to stop because my knowledge of these things is limited..)
we cant deodex tattoo without being booted into tattoo
so
oh well for that
lets work on getting original tattoo to boot so we can deodex and build off it
if anyone has started to do these things or is already in the process of doing these things please let me know
Zarboz said:
next on my list to try....
*****************
-get virtualbox up and going and deodexarnt the tattoo build (i think itll boot enough to get dalvik manager to run so we can deodex it)
-once deodexed i would like to see if i can get this thing to boot standalone (if the standalone i have now will boot {not been able to test yet like ive said no device to test with} if the standalone is being a big pain in the [email protected]# and not booting properly or we have issues with screen size differences ill have to stop because my knowledge of these things is limited..)
we cant deodex tattoo without being booted into tattoo
so
oh well for that
lets work on getting original tattoo to boot so we can deodex and build off it
if anyone has started to do these things or is already in the process of doing these things please let me know
Click to expand...
Click to collapse
went through about 15 flashes last night
none booted
the furthest i got the logcat is posted on the OP
i have two more ideas but i need someone to pack my boot.img for me for one of them (i know i should have my own linux machine but im not about to download anything over 100 megs on my tether SLOW!)
and the other ill work on tonight and see if i cant get it to work
So I have a bootable Tattoo build. is that all you need? Different phone but I don't see why it matters. I can unodex but I don't see the point... Tattoo and Hero share a lot of apps and functionality. All I see are cosmetic changes, which I'm working on as well. But, if you tell me what to run I can have it posted within the hour.
I'm not sure what you're really trying to do by backporting to Cupcake based Hero. I can unpack the boot.img, unodex Tattoo, whatever but I don't see what you want to accomplish with this. I don't have your phone so I can't test whether the kernel would work if I mod boot.img for you but it doesn't sound hard. Got the tools in my PATH.
I need some input im working on porting tattoo over to the mytouch 32b board
Progress:
THIS BUILD WILL NOT BE FLASHABLE YET IT IS SPECIFICALLY FOR INPUT/Developement ONLY!
i am not responsible if you try to flash these roms for any damage that may occur to your device these are not finished and are not bootable still in EARLY EARLY EARLY BETA!
like i said this is where i am at right now with stuff and im hoping to make forward progress
- idea closed staying with only tattoo-
10/03/09
Hero+tattoo Mash Based off Zeroxd6.14r3 (wont boot due to .odex stuff.. need to unodex whole tattoo build recompile and mash with an unodex'd hero)
Merged lib folders and made sure a2dp.so and the other .so out of sapphire folder were in the lib folder
Merged Hw Folder so that sensors were there for hte device
Replaced Framework Folder with Tattoo Framework
Replaced App_S with Tattoo App folder
replaced /system/media with tattoo
cyanogens latest 4.1.11.1 boot.img and wlan.ko
10.05.09
Tattoo Only from the WWE 1.65.405.1 build
Merged lib and hw (for sensors) folders with 1.6 doughnut for magic
added some stuff in system/bin (super user access)
cyanogens 4.1.11.1 boot.img and corresponding wlan.ko added
update-script should be super barebones... really just hoping for a boot right now
http://www.4shared.com/file/137624393/e1c0febe/tattooonlysigned11b.html
** will boot but i dont think itll boot past g1/mytouch screen **
next on my list to try....
*****************
Code:
-get virtualbox up and going and deodexarnt the tattoo build (i think itll boot enough to get dalvik manager to run so we can deodex it) !!!!!!!!! if no one can get tattoo to boot to deodex it or has a tattoo to deodex it then im stuck and the project is pretty much over!!!!!!!
-once deodexed i would like to see if i can get this thing to boot standalone
(if the standalone i have now will boot {not been able to test yet like ive said no device to test with}
if the standalone is being a big pain in the [email protected]# and not booting properly or we have issues with screen size differences im gunna be pretty much stuck until a more experienced dev wants to chime in
just got some direction from Drizzy. He gave me some ideas ill process these ideas and upload tattoonly1.2b.zip this evening. Itll be sometime around 7pm-9pm central standard (im stuck using the neighbors wifi or my tether so uploading SUCKS)
there is hope !!!
http://forum.xda-developers.com/showthread.php?t=564984 if they can port for hero and we can port hero to g1 we can port htc tattoo over to our 32b devices
I DONT WANT A TATTOO ROM!! i am working for an unodexed' 1.6 compatible rosie and corresponding HTC apps (calendar,contacts,messaging,settingswhatever is from the tattoo that sucks app wise is getting replaced with their corresponding 1.5 hero apk counterparts
probably gunna put a hero'ish look to it as well
save for space
No updates ?
Why are there no updates on this ???
Porting tattoo would be more stable then porting hero right ???
the hard part is cuz ofhte way smaller screen size. for updates, check out the sapphire forum. eugene373 is taking over porting it.
chinmayfun said:
Why are there no updates on this ???
Porting tattoo would be more stable then porting hero right ???
Click to expand...
Click to collapse
porting magic sense update would be stable no reason to copy whole phone build when u only wanted sense that would keep drivers intact with working blue-tooth should it not?(dunno)
I hate to make a thread on this but would like to get started soon with learning how to root roms and add the kernel for multitouch and tethering. This is more for my personal use since I just want a stock rom with all the root benefits like jf use to and theses are the questions I have.
1. Will I have to take the update.zip file and extract everything and modify it then resign and I'm done?
2. I read some info on adding busybox and root which seem easy but when I run the chmod command and such everything will be through adb and the files will be on my pc so do I just make sure its all in the right directory and file path?
3. Where are the wallpapers stored in builds along with animations I will be looking into the framwork/framework-res.apk later but still curious
4. The modified kernel for tethering and multitouch is located where along with the market.db file?
5. What is meta.inf and how easy is it to make the cpu 528mhz standard also not sure what BFS and ASOP are haven't been keeping up.
P.S. I would really appreciate some help on this and I don't mind reading if this information is somewhere else so please provide a link and as always gotta show love to those who started this like JF, Hakuro, Cyanogen, Drizzy, and many more like daproy and kornub did a lot of helping.
I hate to make a thread on this
Click to expand...
Click to collapse
You mean you hate starting threads in the correct place?
Thats a fine line here. Although it is a question, it is specifically a development question. Its not a which rom do i choose?
Although android is "open source" these people dont give a **** about people trying to learn how to develop. They will pull the google line or something.
yeah me 2
Trying 2 learn
Im a noob, so I can only answer two of thosew questions
1. Anytime you modify your update.zip you will have to resign before trying to flash it onyour device.
5b. BFS: Brain **** (simple) Scheduler, something to do with the priority of running proccesses or something http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler. AOSP stands for Android Open Software Project, which i believe is just googles standard rom really (but I may be wrong)
I recommend you try out this rom though, kind of like JF but for Donut http://forum.xda-developers.com/showthread.php?t=538456
Very Sorry, double post
Thanks! I'm actually using that rom and its what has me so interested in this cause I hate having to flash another update.zip to get the full root benefits when JF just made everything available in one nice package but looks like I will just have to go through trial an error unless I get some more feedback cause switching between cyan 4.1.11.1 and JF1..51 is killing me and taking up space on my card.
With my little to no knowledge, replacing the boot.img and some files in system/bin with the ones provided in theofficial expansion pack should give you all that you need. With no extra apps.
yeah me 2
Yeah me too
Hi Guys,
I compiled an eclair rom using the 2.9.26-eclair branch of Cyanogen kernel on github . And I ported the camera-related sources from donut branch to eclair branch. Now both 3d and camera can work on my G1. But I still canoot play mp4 on G1.
Would you please tell me how to make mp4 work on G1? I knew Kingklick had succeed to make mp4 work. Is his sources open?
Thanks.
loveheaven said:
Hi Guys,
I compiled an eclair rom using the 2.9.26-eclair branch of Cyanogen kernel on github . And I ported the camera-related sources from donut branch to eclair branch. Now both 3d and camera can work on my G1. But I still canoot play mp4 on G1.
Would you please tell me how to make mp4 work on G1? I knew Kingklick had succeed to make mp4 work. Is his sources open?
Thanks.
Click to expand...
Click to collapse
working dec libs come from the 2.1 drioderis dump which you can find in the eris dev forums.
you can also find them here
http://forum.xda-developers.com/showpost.php?p=5793964&postcount=667
Firerat said:
working dec libs come from the 2.1 drioderis dump which you can find in the eris dev forums.
you can also find them here
Click to expand...
Click to collapse
Would you please tell me which libs I should push into my 32B G1? I pushed libopencore_mp4*.so libOmxMpeg4.so from droid eris dump into my g1. But after that when I reboot my phone, my phone cannot be rebooted and stays at the first "G1 Tmobile" splash screen.
loveheaven said:
Would you please tell me which libs I should push into my 32B G1? I pushed libopencore_mp4*.so libOmxMpeg4.so from droid eris dump into my g1. But after that when I reboot my phone, my phone cannot be rebooted and stays at the first "G1 Tmobile" splash screen.
Click to expand...
Click to collapse
Code:
mkdir eris;mkdir Firerat3dvid
cd Firerat3dvid
unzip <fullpath to the update zip>
export SomeOtherDir=$PWD
cd ../eris
unzip <fullpath to dump zip>
cat > ~/bin/compmd5sum << "EOF"
#!/bin/sh
# md5sum a bunch of stuff
md5sum $1;md5sum $SomeOtherDir/$1;adb shell md5sum /$1
EOF
chmod 755 ~/bin/compmd5sum
find . |sed s/^/compmd5sum\ /|sh
now you can compare files in two dir on your linux box against the ones on your phone, tells you whats 'missing' what are the same and what are different
PS the files you need are in the zip files in the link I gave you
just thought that the above script might come in handy for someone wanting to compare files
Thank you very much!
I downloaded the CE-12-Patch_3D_vid_signed.zip you prodivded and pushed all the libraries in your zip (except the wlan.ko) into my G1. The kernel my G1 used is built from Cyanogen kernel eclair branch. After pushing the libraries, I reboot my G1.But the G1 got stucked in the first "T-mobile G1" splash screen and couldn't be reboot into the system.
Why did it happen? I should use your kernel?? The opencore library depends on the kernel?? I think the opencore is independent. Even if there is something wrong with opencore, G1 can always be reboot. Am I wrong?
Firerat said:
Code:
mkdir eris;mkdir Firerat3dvid
cd Firerat3dvid
unzip <fullpath to the update zip>
export SomeOtherDir=$PWD
cd ../eris
unzip <fullpath to dump zip>
cat > ~/bin/compmd5sum << "EOF"
#!/bin/sh
# md5sum a bunch of stuff
md5sum $1;md5sum $SomeOtherDir/$1;adb shell md5sum /$1
EOF
chmod 755 ~/bin/compmd5sum
find . |sed s/^/compmd5sum\ /|sh
now you can compare files in two dir on your linux box against the ones on your phone, tells you whats 'missing' what are the same and what are different
PS the files you need are in the zip files in the link I gave you
just thought that the above script might come in handy for someone wanting to compare files
Click to expand...
Click to collapse
loveheaven said:
Thank you very much!
I downloaded the CE-12-Patch_3D_vid_signed.zip you prodivded and pushed all the libraries in your zip (except the wlan.ko) into my G1. The kernel my G1 used is built from Cyanogen kernel eclair branch. After pushing the libraries, I reboot my G1.But the G1 got stucked in the first "T-mobile G1" splash screen and couldn't be reboot into the system.
Why did it happen? I should use your kernel?? The opencore library depends on the kernel?? I think the opencore is independent. Even if there is something wrong with opencore, G1 can always be reboot. Am I wrong?
Click to expand...
Click to collapse
your linux will be running fine, its the Android that isn't happy
the libs are not dependent on the kernel, but may be dependent on something which is already in CE
tbh I can't really help you , I have no idea what 'ROM' you are pushing these libs to.....
logcat is your friend, I have a whole bunch of them on one line
Code:
adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat
make sure your phone is connected the first time, and it will happily sit there when you unplug, 'waiting for device' till you plug it back in.
and in another console
adb shell busybox top
sometimes you can even shell in if you are not seeing anything on logcat
'busybox top' will give you an idea of what is running
and there is nothing stopping you from having a couple more terminals open
one with a shell for 'doing stuff' and another for pushing and pulling stuff
all while watching top and logcat
your loop is probably to do with drm, but the logcat will tell you
Firerat said:
your linux will be running fine, its the Android that isn't happy
the libs are not dependent on the kernel, but may be dependent on something which is already in CE
tbh I can't really help you , I have no idea what 'ROM' you are pushing these libs to.....
logcat is your friend, I have a whole bunch of them on one line
Code:
adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat
make sure your phone is connected the first time, and it will happily sit there when you unplug, 'waiting for device' till you plug it back in.
and in another console
adb shell busybox top
sometimes you can even shell in if you are not seeing anything on logcat
'busybox top' will give you an idea of what is running
and there is nothing stopping you from having a couple more terminals open
one with a shell for 'doing stuff' and another for pushing and pulling stuff
all while watching top and logcat
your loop is probably to do with drm, but the logcat will tell you
Click to expand...
Click to collapse
Thank you very much!
I used your method and found it is because my rom could not load the libwebcore.so in your zip. So I pushed my orignal libwebcore.zip back into G1, my G1 can boot now. But after that I still cannot watch Mp4 on my G1...
Would you please give me some advice? Thanks.
loveheaven said:
Thank you very much!
I used your method and found it is because my rom could not load the libwebcore.so in your zip. So I pushed my orignal libwebcore.zip back into G1, my G1 can boot now. But after that I still cannot watch Mp4 on my G1...
Would you please give me some advice? Thanks.
Click to expand...
Click to collapse
CE1.2 with my vid patch
wait for CE2
or Kings 1.8 AOSP
or
check the code in this
http://forum.xda-developers.com/showpost.php?p=5889900&postcount=4
with a bit of deduction, you could figure out what is missing/different
as I said in my last post, I can't help you as I have no idea what ROM you are trying to get mp4 to run on.........................................
Installing/Pushing CE-12-Patch_3D_Vid_signed.zip
Got a question... I recently downloaded the v4_1.zip, and was wondering if it's possible to incorporate the CE-12-Patch_3D_Vid_signed.zip in to it. I'm not new to the whole rooting thing, and have tried several variations of the Eclair and Donut roms floating around here. Unfortunately, I'm not to well versed in ADB. My main interest in pushing the above zip is to finally have an Eclair rom with working video. If anyone can help me out with this, it'd be greatly appreciated.
will4958 said:
Got a question... I recently downloaded the v4_1.zip, and was wondering if it's possible to incorporate the CE-12-Patch_3D_Vid_signed.zip in to it. I'm not new to the whole rooting thing, and have tried several variations of the Eclair and Donut roms floating around here. Unfortunately, I'm not to well versed in ADB. My main interest in pushing the above zip is to finally have an Eclair rom with working video. If anyone can help me out with this, it'd be greatly appreciated.
Click to expand...
Click to collapse
the v4 is a different beast
King's Eris has working video
King's Eris CachHacked has working video and is a lot faster
CE-12-Patch_3D_Vid_signed.zip
Thanks for the response. Actually, I was only using the v4 rom as an example. I have tried King's Eris rom, and I think I have the most recent version of it, but the last time I tried it the camcorder did it's I'm not gonna work for you thing. Is there a way to push the CE-12-Patch_3D_Vid_signed.zip to this rom instead, or did I misinterpret the description of this patch? At any rate, it is fun trying all these new and different roms. Can't wait for a fully working 2.0 pastry.
P.S: I just tried the FR-v4OL-CH-0-1_S.zip rom, and it does have video playback. Unfortunately, the camcorder is still non-funtional, of course, and data doesn't appear to be working.
will4958 said:
Thanks for the response. Actually, I was only using the v4 rom as an example. I have tried King's Eris rom, and I think I have the most recent version of it, but the last time I tried it the camcorder did it's I'm not gonna work for you thing. Is there a way to push the CE-12-Patch_3D_Vid_signed.zip to this rom instead, or did I misinterpret the description of this patch? At any rate, it is fun trying all these new and different roms. Can't wait for a fully working 2.0 pastry.
P.S: I just tried the FR-v4OL-CH-0-1_S.zip rom, and it does have video playback. Unfortunately, the camcorder is still non-funtional, of course, and data doesn't appear to be working.
Click to expand...
Click to collapse
/data not working?
if data wasn't working it wouldn't boot past the bootanimation splashscreen
if data is 'full' reboot, it will correct itself
Unfortunately, when I try to do something that requires a data connection, it suggests using wifi. During setup, I did select the first connection option, which I think was data and wifi or something like that. When I try to go into Market to sign in that way, I can't connect. Is there a step I'm missing, or has this happened to anyone else? Also, is there a way to push the CE-12-Patch_3D_Vid_signed.zip into the FR-v4OL-CH-0-1_S.zip rom, or can I just flash like a normal zip? Thanks in advance.
will4958 said:
Unfortunately, when I try to do something that requires a data connection, it suggests using wifi. During setup, I did select the first connection option, which I think was data and wifi or something like that. When I try to go into Market to sign in that way, I can't connect. Is there a step I'm missing, or has this happened to anyone else? Also, is there a way to push the CE-12-Patch_3D_Vid_signed.zip into the FR-v4OL-CH-0-1_S.zip rom, or can I just flash like a normal zip? Thanks in advance.
Click to expand...
Click to collapse
ahh, sorry I'm getting all mixed up, because everyone is stressed out over FR-a2sd using /data for something useful instead of leaving it as an empty,wasted space.
yes, data connection is not working, tbh I don't know why the Market doesn't work even if wifi is working..
The CE-12-Patch_3D_Vid_signed.zip isn't going to do anything for FR-v4OL-CH-0-1_S.zip
its just a 3D kernel , and libs I took from the eris dump which got video working.
infact , the libs are 'mostly' the same as the ones already in v4OL
( which means I'm totally not understanding why video is dark, got to be a framework thing, maybe, I don't really know, just guessing )
Flashing / pushing CE-12-Patch is just going to kill v4OL
I did CE-12-Patch a long time ago, shortly after re-visiting xda after initially rooting my g1 way back in Feb '09.. kinda wished I'd stuck around then.
anyway, CE-12-Patch WILL break v4OL, is it doesn't mount mtdblock4 in the right place.
the v4OL is beta , lots of things don't work
if you get your kicks trying to fix broken things, or making yourself understand things you don't understand ( i.e. you self teach )
then it is for you.
if you want things to work 'out of the box' ,
King's Eris mostly works
ce12 cachehack works
ce2.0 works ( with a 'lil' fixup, facebook fix is in the thread FR*S.zip coming soon.. )
OE1.3.0.1 has things working ( anyone flashed ce12-patch over oe1.3 ? )
and good ol' SuperD works very well.
personally I think your best root is the CE12 CacheHack
It's fully functional, and best of all, CE2.0 is a *no wipe* update
You can flash CE2.0 , just a couple of fixes that need to be consolidated
they are in the thread , minor fix is at post #1401 ( which I will update to a "no hassle,flash straight after CE2.0" soon )