Related
I have been following the Threads since I got my G1 for about 3 weeks now. Two days after receiving it I got the OTA update from T-Mobile before I knew it I was on RC30. After DREAMIMG.nbh and very careful reading I was able to downgrade to RC29, Root - Telnetd, and install RC30 Mod JFv1.2 then JFv1.3. Finally I installed Bootloader and got the skateboarding androids.
After a couple days of reading, I took the plunge. Let me be the first to say that as a Windows XP user, alot of this information is very confusing as I am used to a Dos type system, and all of these commands made it seem a bit more confusing than it really is.
Now that I have root and bootloader I would like to start to change the boot screen and try my hand at some Linux based stuff?
Being that I use Windows XP, it is my understanding that I can run Linux using Slax? I am very computer literate, but haven't tried my hand at programming since the days of Dos and Paschal. Are their any online tutorials that somone would recommend as a starter or is the Android Software so different that it may be better to start from scratch?
Willing to learn any pointers would be appreciated.
I may be misunderstanding you but if your looking to make any modifications to the operating system itself (which is definitely needed), I would suggest having a look at the Android source code at http://android.git.kernel.org. The back-end of the platform (kernel, etc) is all written in C. The userland stuff is written in Google's implementation of Java called Dalvik. Now that you have the dev bootloader, all you really have to do is clone the official android repository, make your changes, build and flash to the device using fastboot.
Thanx Datruesurfer
After all the reading it seemed alot of work was being done in Linux but I don't know anything about that so, I could be completely off base.
At your suggestion I looked at android.git.kernal and it seems they do a good job at explaining some things, but it still makes many references to Linux and Unix.
Would programming of Git be done in linux. I see that Git is gotten using .tar files which is Linux compressed files? So is it best to try to do programming using slax or ubuntu?
Also, are things like the boot screen modified using Linux based .png or can that be done in Windows?
Let me say sorry in advanced, as I am doing this for the first time, please say stop if I am being too n00bish.
Also...I noticed ....
that the commands given in the Git User's Manual look very familiar like the commands that were given while I was reverting my RC30 back to RC29 using the Pterminal/Telnet. Can this programming with Git be done off of the G1 Phone itself?
You're in over your head dude. If you haven't programmed in these object oriented based programming methods and you know nothing of linux, then recompiling the android source like the above poster suggested is too much.
I don't mean to dissapoint or negatively comment, but really save yourself the trouble.
If you really want to though, figure out the basics of C and java programming and start reading the source.
Brutal-Force said:
After all the reading it seemed alot of work was being done in Linux but I don't know anything about that so, I could be completely off base.
At your suggestion I looked at android.git.kernal and it seems they do a good job at explaining some things, but it still makes many references to Linux and Unix.
Would programming of Git be done in linux. I see that Git is gotten using .tar files which is Linux compressed files? So is it best to try to do programming using slax or ubuntu?
Also, are things like the boot screen modified using Linux based .png or can that be done in Windows?
Let me say sorry in advanced, as I am doing this for the first time, please say stop if I am being too n00bish.
Click to expand...
Click to collapse
A Few things...
1. Android and Git are two completely different products. Git is the revision control system used by Android. Whenever one of the developers at Google makes a change to the source code they will upload it to the repository. Then people can go revision by revision to see where modifications have been made and suggest their own if they wish.
2. The part where a Linux box would be handy is actually downloading all of the files in the repository and compiling your own build. As dirr said, you probably should hold off on this until you have a better understanding of the platform itself.
3 As far as the boot image goes, the bootloader will only accept files that have been formatted specifically for it. Once you have the image formatted, you can flash it in the SPL via fastboot (the screen with the skating androids) I believe this can all be done via windows now.
4. I think I better understand where your coming from as far as modification. You should look at http://code.google.com/android to learn about how to code in Dalvik, as that will help you out much more then learning C. Once you have a good understanding of that, you can try to build from source
Hope that helps...
Thanx for the advice.
After reading about the above suggestions, it does seem that to do something simple would only be simple for someone who has all the background programming information of different platforms. This is probably why most tutorials/procedures are written so vaguely here. I appreciate the input and I will hold off and just read up on things other "more experienced" people write about here. I have a basic understanding of what is happening, but the "language" is so complex. Maybe in baby steps I will learn, since it appears that on this forum "Android" is fairly new. And while I am watching what is happening here, I will get java for dummies or bone up on Dalvik and start reading and practicing. Thanx for the help guys, and thans JF, Koush and all the other senior members for the RC30 Mod. At least I have the skateboarding Androis
if you want a certain script added, chances are some1 else does too. if you have an idea, or find a script you want added, please either post or PM me. i take a look at this thread alot throughout the day, so i will be able to see your ideas quickly. YOUR IDEAS ARE IMPORTANT
first of all, i did not write this script, i took it from the thread HTC Hero Speedup v2.0 (http://forum.xda-developers.com/showthread.php?t=521421), which was put together by tehseano, who i must thank, however, it seems to only work for Haykuro's Hero ROM
THIS SCRIPT is made to speedup the HTC HERO rom on the g1's. my speedup script is made to work under JACman's. if tried on someone elses, you could brick your phone (although i doubt it), and i will not take responcibility for bricks
trying to use it under JACman 1.72, i couldn't get tehseano's script to work, so im going through a bunch of tweaking and editing for it to work under JACman roms (im guessing twistedumbrella's too).
currently, i'm about to release version 0.2. - released
i have fixed most of the directories and codes except for Battery fix, i have gotten the HTC camera to work, read the readme file
out of curiosity, does any1 have any preference on where i upload the files? want someplace easy and fast, so no rapidshare or anything like that. first working suggestion gets it
please do not use option #8 once it is up, it is not done yet
everything else should be good. this is made STRICTLY for JACman roms, not haykuro's, but twistedumbrella's should work, since it is based off of JACmans
____________________________________________________________________________________________
version 0.2 - http://www.4shared.com/file/113524687/c98398cd/AJZ_HeroSpeed_02.html
very minor changes
fixed the scripts
working on a battery fix
version 1.0 will be more compatible with JAChero 1.8, i expect to release that in the next few day, but this might not be possible because i'm going on vacation
_____________________________________________________________________
I ACCIDENTLY UPLOADED THE BAT AS A TXT FILE. im not gunna change it, so until the next release, just rename the file as a bat
0.1.5: http://www.4shared.com/file/113343120/6c89dd65/AJZ_HeroSpeed_015.html
i must thank dpgc213 for creating the original lockscreen change bat file
Changes:
deleted option to delete pc sync, causes bootloops and doesnt exist
added possibility to change the screen lock image (although doesnt have to do with speed)
added quick directions for changing the lock screen image
____________________________________________________________________________________________
version 0.1 - http://rapidshare.com/files/247165073/hero_speedup_2.0_AJZ_0.1.zip
here's a mirror of 0.1 http://www.4shared.com/file/113320662/7e513586/hero_speedup_20_AJZ_01.html
in version 0.2, expect to see support for the deletion of htc sync, and support for changing your lock screen
can you please include instructions for mac users? thanks good work
did you get it to work with JACman 1.72, you said you would try to tweak it, but did not say if you were successful?
I dont know how to apply the script cuz its made for windows, If some1 put instructions plz?
Franklees said:
did you get it to work with JACman 1.72, you said you would try to tweak it, but did not say if you were successful?
Click to expand...
Click to collapse
i got all the commands and everything working in 1.72 except for #2 to work. #2 will cause a boot loop.
#2 just deletes your htc sync, which idk what it does anyways.
in 0.2, i will try to fix this, as well as add support to change your lock screen
i got the change lockscreen part in, now just gatta see the problem with htc sync
juangil said:
I dont know how to apply the script cuz its made for windows, If some1 put instructions plz?
Click to expand...
Click to collapse
u could try renaming it to something that will work in leopard (er tiger). idk if that would work, im not a mac user. ubuntu and windows
alexjzim said:
u could try renaming it to something that will work in leopard (er tiger). idk if that would work, im not a mac user. ubuntu and windows
Click to expand...
Click to collapse
so if put the optimize.sh file in my sd how do I run it? or is the .bat file the ones that needs to be run? thx
juangil said:
I dont know how to apply the script cuz its made for windows, If some1 put instructions plz?
Click to expand...
Click to collapse
it cant be used for mac users, but basically a bat file just has a bunch of adb commands in it. i can post them for you if you like.
wwwhershcom said:
it cant be used for mac users, but basically a bat file just has a bunch of adb commands in it. i can post them for you if you like.
Click to expand...
Click to collapse
great! that will do it, I appreciate your help
anyone know if HTC pc sync is included in 1.72? if it is, anyone know where it is? once i find this out i can release 0.2.
Wow, this script really made a difference
Henchman said:
Wow, this script really made a difference
Click to expand...
Click to collapse
was aiming for that
juangil said:
can you please include instructions for mac users? thanks good work
Click to expand...
Click to collapse
...Buy a PC lol.
alexjzim said:
was aiming for that
Click to expand...
Click to collapse
When I ran option 3, 6 and 5 in that order without a reboot and then reboot after I did all those I got a bootloop, when I did #5 it was saying success on each one. If I installed dextop-wrapper awhile back like weeks ago do I have to install it again because I didn't install it. I figured I still had it.
jigdagod said:
When I ran option 3, 6 and 5 in that order without a reboot and then reboot after I did all those I got a bootloop, when I did #5 it was saying success on each one. If I installed dextop-wrapper awhile back like weeks ago do I have to install it again because I didn't install it. I figured I still had it.
Click to expand...
Click to collapse
my only suggestion is to wipe and reinstall your ROM, then do everything in order. i cant tell you exactly, because i cant actually see your phone
Okay, thanks I'll try that tomorrow when I get home.
Does this support 1.72 yet?
71CH said:
Does this support 1.72 yet?
Click to expand...
Click to collapse
first of all, i did not write this script, i took it from the thread HTC Hero Speedup v2.0 (http://forum.xda-developers.com/showthread.php?t=521421), which was put together by tehseano, who i must thank, however, it seems to only work for Haykuro's Hero ROM
THIS SCRIPT is made to speedup the HTC HERO rom on the g1's. my speedup script is made to work under JACman's. if tried on someone elses, you could brick your phone (although i doubt it), and i will not take responcibility for bricks
trying to use it under JACman 1.72, i couldn't get tehseano's script to work, so im going through a bunch of tweaking and editing for it to work under JACman roms (im guessing twistedumbrella's too).
currently, i'm about to release version 0.1. - released
i have fixed most of the directories and codes except for uninstalling HTC sync, and replacing the sapphire camera with the official HTC camera. i have gotten the HTC camera to work before, and just need to add in the right codes
out of curiosity, does any1 have any preference on where i upload the files? want someplace easy and fast, so no rapidshare or anything like that. first working suggestion gets it
please do not use option #2 once it is up, it will cause your phone to boot loop - option #2 is now used to change the lockscreen and is completely usable now
everything else should be good. this is made STRICTLY for JACman roms, not haykuro's, but twistedumbrella's should work, since it is based off of JACmans
PC sync is out of all JAChero builds... i spent hours trying to fix something not there . because of this, the next release will be 0.1.5 instead of 0.2
I ACCIDENTLY UPLOADED THE BAT AS A TXT FILE. im not gunna change it, so until the next release, just rename the file as a bat
0.1.5: http://www.4shared.com/file/11334312...Speed_015.html
i must thank dpgc213 for creating the original lockscreen change bat file
Changes:
deleted option to delete pc sync, causes bootloops and doesnt exist
added possibility to change the screen lock image (although doesnt have to do with speed)
added quick directions for changing the lock screen image
__________________________________________________ __________________________________________
71CH said:
Does this support 1.72 yet?
Click to expand...
Click to collapse
Yes.
That's what I'm using ti with. And it's made Rosie completely usable for the first time for me.
Has anyone had the experience where Rosie was really fast when first optimizing using whatever procedure but then lags down over time? That was what I experienced when using a different optimizer. Hopefully this one is consistent.
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.
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 )
I built a new zImage off the Eclair I5800XXJK1 rom. I assumed it was the best, but if I'm mistaken please tell me =) Though, the zImage should work on other Eclair roms too. I flashed it on my Froyo JPA/JPB hybrid.. Phone boots, but it is very broken.
I included:
- Ext2
- Ext3
- Ext4
- JFS
- CIFS (no module needed)
- Tun (no module needed)
*** I have only partially tested this (on Froyo for fun). Do so at your own risk. ***
I used the factoryfs.rfs, cache.rfs and initramfs right from JK1. No changes.
I'm not including boot.bin, Sbl.bin, or modem.bin to eliminate the chances of bricking your phone. I still cannot be held liable for anything happening to your phone.
If you don't know what to do with this file, then you probably shouldn't be modifying your phone.
(UPDATED) Download from here: http://www.multiupload.com/9QBAZ34454 pass: precurse
Kernel only is posted here: http://www.multiupload.com/E5TM4XWAKF pass: precurse
- Use this if you already have JK1 on your phone, or already have the main files for JK1. Flash a stock JK1 first, and this after.
If people find this works for them and want an ext2 or 4 setup for /data and/or /system, then I may be able to set that up for them.
Ext4 for data would be great man i have to test that kernel but it makes no sense if there is no use of those filesystems. I know it should now be possible to use the loop lagfix, but why doing this if one could get the real thing... there will not be that much quadrant boost using ext4 than using loop, but the smoothness of the system will vastly improve i think
The zImage works... It boots up my hybrid phone. But it's not a good idea to boot Eclair kernel/initramfs with Froyo userland =) All the services started dying on me, but it still did boot nontheless (good sign).
If people actually start using it, then I can probably remove a lot of crap in there (ext3 and jfs mainly). If there's no interest for this rom, then I won't continue it.
It sucks that we need to decide between a nice filesystem with 2.1, versus a newer (albeit beta) 2.2 OS ... I still haven't decided.
Though, I'm picking up a Galaxy S i9000 tomorrow. Trading an iPhone 3G and some cash for one =)
oh!we can't find other power user like you
if the office 2.2 froyo is out ,can you make a zimage.tar with ext2-4 initramfs
and make a update.zip to change all partitions to ext2-4
like z4mod.
hybrid system is useless yet.
http://forum.xda-developers.com/showthread.php?t=797672
precurse said:
The zImage works... It boots up my hybrid phone. But it's not a good idea to boot Eclair kernel/initramfs with Froyo userland =) All the services started dying on me, but it still did boot nontheless (good sign).
If people actually start using it, then I can probably remove a lot of crap in there (ext3 and jfs mainly). If there's no interest for this rom, then I won't continue it.
It sucks that we need to decide between a nice filesystem with 2.1, versus a newer (albeit beta) 2.2 OS ... I still haven't decided.
Though, I'm picking up a Galaxy S i9000 tomorrow. Trading an iPhone 3G and some cash for one =)
Click to expand...
Click to collapse
I will flash it to my gf's g3 asap, to test how it behaves, but without having a ext4 partition it makes not much sense...
I agree. But once we know this setup works, then it's really easy to change the initramfs to something that will load up ext4 partitions for /data and /cache pretty easily.
Ok, problem is my gf left her g3 at a friends house on new year, and will only pick it up later today, so in the evening i will be able to test this...
If only I hadn't recently bought a Galaxy S, I would surely try this on my Galaxy 3..
addicted2088 said:
If only I hadn't recently bought a Galaxy S, I would surely try this on my Galaxy 3..
Click to expand...
Click to collapse
I just got a Galaxy S today - too good of a deal to pass up.... And that screen, wow....
The community for that phone seems a lot more established unfortunately. I was having some high hopes for the G3, but I don't think the development will be nearly as close to that of the SGS..
I might keep the G3 for a while to tinker with it though..
precurse said:
I just got a Galaxy S today - too good of a deal to pass up.... And that screen, wow....
The community for that phone seems a lot more established unfortunately. I was having some high hopes for the G3, but I don't think the development will be nearly as close to that of the SGS..
I might keep the G3 for a while to tinker with it though..
Click to expand...
Click to collapse
Yeah, looking at my G3 after the SGS is horrible.. I'll be giving the G3 to my Dad.
Yeah, the SGS community is very well established. I didn't use the stock ROM on the SGS except when it was getting charged the first time. Soon as it got charged, I put a custom ROM over it.. (Darky's Gingerbread Edition ROM).
Hopefully, the G3 will see development like the Spica i5700, but right now the future's not looking so bright..
precurse said:
I just got a Galaxy S today - too good of a deal to pass up.... And that screen, wow....
The community for that phone seems a lot more established unfortunately. I was having some high hopes for the G3, but I don't think the development will be nearly as close to that of the SGS..
I might keep the G3 for a while to tinker with it though..
Click to expand...
Click to collapse
Hm, to bad, the g3 lost one of the most promising guys with you...
FadeFx said:
Hm, to bad, the g3 lost one of the most promising guys with you...
Click to expand...
Click to collapse
Indeed, I totally agree with you ...
Well, there is one question: How did you build that file ?
ok, tested the kernel on jk1 firmware (flashed only the zimage) and works as intended, got no idea how to test ext4 support...
edit: seems like cifs is not working like intended, do i need to insmod?
FadeFx said:
ok, tested the kernel on jk1 firmware (flashed only the zimage) and works as intended, got no idea how to test ext4 support...
edit: seems like cifs is not working like intended, do i need to insmod?
Click to expand...
Click to collapse
You shouldn't need to insmod. I compiled it statically into the kernel (as with tun):
CONFIG_CIFS=y
CONFIG_TUN=y
I might have to research into that a little further.
Can you do an uname -apm and tell me the output?
Thanks
FadeFx said:
Hm, to bad, the g3 lost one of the most promising guys with you...
Click to expand...
Click to collapse
Sorry to hear that. I sure hope I left enough of a paper tail to let others research and take off with this. I'm too much of a power user to be held back - I have a feeling Froyo will be the only update (and last) for the G3 unfortunately, while the SGS is closely tied with the Nexus S so the updates should continue (Gingerbread is already out for it).
I'm not going anywhere at this moment in time. My next school semester starts up again right away anyways, so I wouldn't have had the same amount of time either way to contribute as much as I have been.
If there's anything unclear with the work I've posted - feel free to ask, and I'll do my best to help spread whatever knowledge I have of this to you guys. I've sent Gsam information about how to build the eclair kernels, so if anyone else feels that they want to as well let me know.
uname -apm
uname: not found
busybox uname -apm
uname: applet not found
Something wrong here
FadeFx said:
uname -apm
uname: not found
busybox uname -apm
uname: applet not found
Something wrong here
Click to expand...
Click to collapse
oh yeh.. It's the stock factoryfs, so no busybox is installed.
What about under Settings > About > Kernel Version ?
Now i got it, Linux localhost 2.6.29 #2 Fri Nov 5 16:05:33 KST 2010 armv61 GNU/Linux
The busybox library was outdated, 1.14.1 or so... think this was installed by titanium backup, could not install it using sterricssons installer, so just copied it over...
FadeFx said:
Now i got it, Linux localhost 2.6.29 #2 Fri Nov 5 16:05:33 KST 2010 armv61 GNU/Linux
The busybox library was outdated, 1.14.1 or so... think this was installed by titanium backup, could not install it using sterricssons installer, so just copied it over...
Click to expand...
Click to collapse
Strange... It should show a date of a few days ago (the day I built it). I'll have to double check that it's the right zImage in that tar file.
... Update...
Yeah I have no idea what happened, but it's the same kernel as stock JK1. Sorry guys!
Kernel only is posted here: http://www.multiupload.com/E5TM4XWAKF pass: precurse
Just flash it as a regular "full" firmware in ODIN.. It only contains the zImage.
I'll upload a full replacement firmware.
Here (flashed it on my froyo setup to see if it booted):
Code:
# uname -apm
uname -apm
Linux localhost 2.6.29 #2 Sat Jan 1 03:53:22 MSK 2011 armv6l GNU/Linux
Ah, will test in the evening...