Related
So, I'm messing about with building android from the source, just as a learning process and for my own personal satisfaction at this point.
I've come most of the way under my own steam.. got a build up and running from the donut-plus-aosp branch, all google apps included and working.. but I don't actually know how to include root access in the build.. I know this is probably an embarrasingly simple question for a dev, and I feel suitably stupid for having to ask.
Also.. now you're here.. apps2sd.. do I need to compile anything special for that or is it just a bunch of symlinks in init.rc?
Muchos gracias.
I believe the root access is located in the kernel (boot.img)
You would also want to include the SU binaries and busybox.
For the apps2sd, the apps2sd script is run from the init.rc IIRC
Do not hold me up on this because I have not even looked at Android yet, but this is what I gather from reading the forums. I'm hoping it may give you a little direction while someone who has actually built from the source steps in
Thanks. I've already included the su binary and superuser apk but couldn't launch them, so I thought I must be missing something either in the kernel or init.rc.
I was hoping not to have to build the kernel manually just yet.. walk before you can fly and all that, but maybe it's time to grow some wings.
You should just compile cyanogen's kernel. he has it on his github. btw.. did you add busybox? i think apps2sd requires it but im not sure.(check logcat on startup, see what errors its throwing)
I've just added busybox in, but I can't do anything with apps2sd until I get root sorted.
I'm sticking with the 2.6.29-donut kernel for now.. cyan's includes loads of patches that I don't understand yet.. I'll compile it and see what happens purely as an experiment but I reckon it'll give me problems...
Just looking at the configuration options for cyan's kernel makes me feel like a dad trying to program a vcr
This post was infected with retardation. Please ignore.
goldenarmZ said:
This post was infected with retardation. Please ignore.
Click to expand...
Click to collapse
LOL
btw if your building from ASOP, it should already have root. I think you only need to add it to T-mobile OTA's
I know I hate looking at kernels. Liquefies my mind
B-man007 said:
btw if your building from ASOP, it should already have root. I think you only need to add it to T-mobile OTA's
Click to expand...
Click to collapse
It's not working for me.. I just get "permission denied"
Well I've got root by running chmod 4777 on /bin/sh, but this leaves root access wide open to everything and bypasses the confirmation check from superuser.apk... Come on devs, I could really do with a few tips here!
I think I've got it now... thanks to all the devs, you were a real help here.
goldenarmZ said:
I think I've got it now... thanks to all the devs, you were a real help here.
Click to expand...
Click to collapse
XD
i know, they are so helpful right?
Actually they never come by here anymore because of the supernoob questions
I suggest you try to pm,twitter, or website the devs. many of them are very helpful, but cannot stand noobs. as long as you do your research (like u did) you should get help
Hmmm, as I'm also building AOSP from scratch, I would have liked you to have at least posted the conclusion. I feel like several pages were ripped out of my copy of the story.
Hey the update.zip for nexus's one update is out
here is the link android.clients.google.com/packages/passion/signed-passion-FRF50-from-ERE27.1e519a24.zip
and here the prerooted from modaco romraid.com/paul/nexusone/update-nexusone-FRF50-signed.zip
i've started porting. help devs .
Does anyone know how to not flash the new radio cause when i remove the radio.img it always says line 70 installation abonded cause it couldn't find radio.img. any help ? don't worry figured it out
Yeah. I want froyo.
Ohh.. is that real to made 2.2 on Tattoo??
-------------------------------------
Sent via the XDA Tapatalk App
I'm waiting for 2.2 on tattoo.
Developers pls help the Tattoo user.
Thanks in advance.
I'm sorry to say it, but you'll have the same problems as with the 2.1 porting...: the drivers for the camera, sensors, FM radio, etc....
don't tell me xD and what do you believe about the new kernel ? anyway i can always try . and if i don't do it i'm loser .
rwmanos said:
don't tell me xD and what do you believe about the new kernel ? anyway i can always try . and if i don't do it i'm loser .
Click to expand...
Click to collapse
you are brave!
i hope you will be a winner
Guys, I'm confident that we can at least look at the source of 1.6 Tattoo regarding the camera and port it to the new Kernel...I won't stop researching until a decent ROM is created by all of us!
First I will download the source code of the tattoo ROM, then I will build a VM featuring Ubuntu and get all necessary dev-tools to decently start programming that son of a b****!
TheSSJ said:
Guys, I'm confident that we can at least look at the source of 1.6 Tattoo regarding the camera and port it to the new Kernel...I won't stop researching until a decent ROM is created by all of us!
First I will download the source code of the tattoo ROM, then I will build a VM featuring Ubuntu and get all necessary dev-tools to decently start programming that son of a b****!
Click to expand...
Click to collapse
yeahhhh
TheSSJ said:
Guys, I'm confident that we can at least look at the source of 1.6 Tattoo regarding the camera and port it to the new Kernel...I won't stop researching until a decent ROM is created by all of us!
First I will download the source code of the tattoo ROM, then I will build a VM featuring Ubuntu and get all necessary dev-tools to decently start programming that son of a b****!
Click to expand...
Click to collapse
I belive in you!...You can do it!
If there is source code for HTC's 1.6 camera drivers, then it should be easy to port those drivers for 2.1 or 2.2, even if the Android has changed. It's more easy than reverse engineering binary drivers, no?
We just don't have a man who can (or want) to do it.
I have a problem...I wanted to unpack the boot.img file, but unfortunately the structure of this update.zip seems to differ a lot from the normal update packages...this one seems to patch most files, which unfortunately means that there's no way to start this thing up on our Tattoo's, or am I wrong?
TheSSJ said:
I have a problem...I wanted to unpack the boot.img file, but unfortunately the structure of this update.zip seems to differ a lot from the normal update packages...this one seems to patch most files, which unfortunately means that there's no way to start this thing up on our Tattoo's, or am I wrong?
Click to expand...
Click to collapse
If you flash the original Nexus One 2.1 rom, and the nexus one recovery image, then you should be able to flash this...
Yeah, but I don't think the Nexus One recovery image will work on my phone...this smells like bricking the phone hard
use the modaco one. but i can't find a way to not flash the radio.img . i remove it from update-script but the i can't get rid off the syntax error can't figure out why.
I hope you ALL will be winner
rwmanos said:
use the modaco one. but i can't find a way to not flash the radio.img . i remove it from update-script but the i can't get rid off the syntax error can't figure out why.
Click to expand...
Click to collapse
I know this sounds stupid, but did u resign the zip file after deleting radio.img or did u just deleted the img file from the zip and update-script? I'll resign it and then check - anything else I have to pay attention to? I saw again a patchfile for the recovery image, I hope it does not brick my good Amon_RA one...
/Edit: doesn't the update-script normally need an update-binary?
TheSSJ said:
/Edit: doesn't the update-script normally need an update-binary?
Click to expand...
Click to collapse
Not if uses the recovery images built-in syntax...
kiljacken said:
Not if uses the recovery images built-in syntax...
Click to expand...
Click to collapse
thanks for the info...will try to flash the update package when my tattoo is charged..
yeah i did resign . i don't think it's a radio idea to flash it with the radio.img but you know if you just delete resign and flash it won't work cause it is going to look for the file and poof installation aborted . i think i figured out the syntax error .I'll flash when is my tattoo is charged too always out of battery
My Hero is running Damages 2.09.1 and it works perfectly in every respect. But when I was considering the update it was mentioned that this version was "deodexed" and this was a better file. What is deodex? What does it mean? Is it better then a version that is not deodexed?
Thanks for the education. I see the term and want to know what it means.......
Lisa
◦An odex file is basically a chunk of source code that has already been extracted from the apk and put on /system/. This is done to speed up the first boot of a rom (you know how your first boot takes a long time… that’s while it is extracting all of these dex files) and also to save space on /data/. Our stock sprint rom comes with this odex files to give you those benefits, however it also prevents us from “hacking” those files and modifying them. This build has taken all those odex files and injected them back in the apk’s. So expect a slower first boot, and more space taken up on /data/, but you get benefits from it such as the vanilla lock screen being fixed and live wallpapers in Rosie.
Taken from Flipz' website
Great explanation!
I so appreciate you taking your time to explain this....
Lisa
No problem....
Thank you Brian M!
jesus not again............
how the hell do yall even find these ancient threads to bump serously i want to know.
This is actually good. It's showing that he's learning and willing to go deep in our forum to find a solution. Bravo pimpin.
I also found this right now and it answered my question very well. Thanks biran m. =)
yea me to. Thanks brian m
Yah me 2, Thanks mr brian M
You can search it by google.:D
Google Search brought me here
Samsung Vibrant (SGH-T959, 2.1-update1)
Build date: 6/22/2010 22:34:50 KST
Baseband version: T959UVJFD
Kernel version: 2.6.29
Build Number: ECLAIR
Download at: http://bit.ly/wesaspin#311
Click to expand...
Click to collapse
What's Included:
Full System Partition
Root Directory Files
Mount Command Information
Complete File Listing
GetProp Command Output
Parittion sizes and info
What's Not Included:
Avatar Movie
Complete RUU
Boot Image
Recovery Image
SPL Image
Extra Info:
Includes LWPs
270* rotation
iPhone-like UI
Includes Flash
Most Partitions are listed as RW
Includes MobiTV and Sims 3
Dump by Wes Garner (7/14/2010)
Donate Link: http://bit.ly/wesdonate
Feel free to use this for any build you would like, but please include the README file in a quote command in your post
Click to expand...
Click to collapse
You are amazing. This is going to help so much with porting over CM6
I'd like to take this opportunity to #blamewes because I don't have a Vibrant yet.
I love you. Now I can sleep
Sent from my SGH-T959 using XDA App
Good job man so does Radio work on these rom ?
thank you
Does this mean wes is gonna be a vibrant dev???
Sent from my T-Mobile G1 using XDA App
Probably want to pull the Sims 3 out of there, it's a carrier exclusive and I don't think T-Mobile and EA will look lightly upon it being hosted here.
sweet, we got wesgarner developing for this phone?
Did Kingklick take over as wes for a while? why post a thread to a link with nothing there? expecially since there was already a thread waiting on a system dump link?
2 questions:
- What is a full system partition??
- Is Avatar not included because of legal reasons or because it wont work on other Androids?
Released, download link in OP
Eazail70x7 said:
2 questions:
- What is a full system partition??
- Is Avatar not included because of legal reasons or because it wont work on other Androids?
Click to expand...
Click to collapse
Legal Reasons!
All other applications are included because they are as stock - not unodexed for other phones or anything
Also, I am 99% sure they are locked to only be used on this phone - plus G1/etc does not have near enough specs to run it
(aka if I get a request to remove it, will no prob - but with those restrictions I am sure they don't care)
Very nice...good work.
Oo, thanks for this. Will you also be working on the Captivate, also? Not sure to get this phone or that one, yet
Is it possible to install any of the apks? I tried a couple with no luck. Couldn't get Sims to work after installing and some apks won't install at all...
I'll be doing some dev work as I just got my Vibrant today. No eta though as I have been EXttremely busy moving to portland
justanothercrowd said:
I'll be doing some dev work as I just got my Vibrant today. No eta though as I have been EXttremely busy moving to portland
Click to expand...
Click to collapse
YAY you got a vibrant! So happy you're gonna be one of the Devs! Thanks in advance!
Great thanks
why no recovery? Why no spl why did you leave these out?
Wow u guys are awesome. I wish captivate had a dev team like u. So well organized. Only wish vibrant off contract is cheaper then captivate.
(Originaly Posted by popdog123)
This is a work i continue as popdog123 is very busy, so i think we shall do our best and let him work on his work, or whatever hes doing,
See The 2 Reserved, comments to get latest info!
Hello!
Ok so this is an attempt to port MIUI to LGP500. We are trying this because porting on the Galaxy 3 (LDPI armv6) was a success and i'm sure it will work on our device too.
This is what we're using so far: MIUI for Milestone, Desire & Overflow ROM
So far this has been done:
ADB now working
Merged framework.jar from base rom with MIUI one
Replaced all apks with miui except LatinIME.apk which seems to give an error on boot
Use libs, bin and xbin from base rom
Merged permissions
[Update 9.07.2011 - 17:48 GMT+3 DST]
Now using framework from CM7
Libs, and bins from CM7
Boot.img still from Overflow (CM7 Boot.img stops adb on boot after a while - so using Overflow for developing for now)
Replaced many smali files in framework but errors keep popping up - I think framework is pretty screwed up now and must be redone (again)
No more nasty error on boot (with stack dump and stuff...)
No need for logcat now because errors come from framework
[Update 11.07.2011 - 15:32 GMT+3 DST]
MIUI boots up and we have graphics BUT
It only boots up to some error dialogs that say some processes force closed with "Close" and "Report to MIUI"
Gapps, Provision, and StatusBar force close so they need work
Removed ContactsProvider.apk and CalendarProvider.apk
[Update 14.07.2011 - 10:58 GMT+3 DST]
Fixed framework.jar - no more errors seem to come from it
New zip not made on mac so no low memory errors
New problem that might fix the apps: All apps look for their classes.dex in /cache/dalvik-cache but only system classes are there. The app classes are created in /data/cache/dalvik-cache
All apps are back because the errors don't come from them
[Update 28.07.2011 - 18:53 GMT+3 DST]
Added dalvik-cache to /cache script
New zip with init.d script and updated framework
Need to fix dead code in framework
Need new kernel
Need MDPI apks
Need libs that don't make the apks crash
Latest flashable zip:
http://www.multiupload.com/VNM8QTDBZ3 [Updated 28.07.2011] Thank you 4silvertooth
10/14/2011
Replaced all Apk's (Now using latest MIUI 1.10.07 (STABLE)
Replaceed Android Policy (With Milestone's)
Replaced Services (With Milestone's)
still boots up, only FC was keyboard
(DOES NOT BOOT! DON'T FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!) Sorry... i had to put this in big red letters because apparently people didn't see it well...
If you would like to help go ahead. Download the rom or make your own one if you don't like our development and give input. But most of all don't try to bring us down with "this can't be done" stuff. It can be done and it was done for another armv6 device. We need to get apps and framework to work and rom to boot. Libs and bins will come after...
This being said i would like to thank these people for their work so far and for making me get off my ass and do something useful:
4silvertooth
jazux
DJoptimus-One
Also i would like to thank overflow for his rom. It's the base for our miui so far.
!
Special Thanks to!
Popdog123
For starting the port and to get it to even boot,
Thanks To!
4silvertooth (teaching me on how to)
jazux (telling me what to do)
DJoptimus-One (yeah he made stuffs also as i dont know)
For helping to get this port to work,
TO DO:
See the difference in this files:
android.policy.jar
services.jar
framework-res.apk
framework.jar
(as we only looked at framework.jar we)
we got no progress, but now we can do get it!
(Akash.gupta made the launcher work on galaxy 3, and on the port of MIUI)
Nothing is impossible we need to see what we are missing
and try to edit and recompile and test on our phone,
Whats the status so far ? I mean actually where have we reached ? What things aren't working ?
Sent via LG Optimus-One Gingerbread
why a new thread when old thread by popdog already exist are u taking over the rom assembling from here on .
whatt progess can we expect from this.....as it has beeen long since no update in old thread
shhbz said:
why a new thread when old thread by popdog already exist are u taking over the rom assembling from here on .
whatt progess can we expect from this.....as it has beeen long since no update in old thread
Click to expand...
Click to collapse
we can in hope for sure that we may soon get launcher to work as i now know that we cant only look into framework.jar we must check services etc,
DJoptimus-One said:
Whats the status so far ? I mean actually where have we reached ? What things aren't working ?
Sent via LG Optimus-One Gingerbread
Click to expand...
Click to collapse
the thing is for now same as before, but as popdog123 is busy and so many want this i actually will settle down and look into what is not correct in our files as in framework.jar , launcher, services.jar and framework-res.
SWEATTAIMI said:
the thing is for now same as before, but as popdog123 is busy and so many want this i actually will settle down and look into what is not correct in our files as in framework.jar , launcher, services.jar and framework-res.
Click to expand...
Click to collapse
Cool! All the best then and if you need any help. PM me or any other member of Team ENVY
We are always there to help
Sent via LG Optimus-One Gingerbread
DJoptimus-One said:
Cool! All the best then and if you need any help. PM me or any other member of Team ENVY
We are always there to help
Sent via LG Optimus-One Gingerbread
Click to expand...
Click to collapse
thing is for now we need to see what we are missing in our launcher and framework files
im so tired of you sweattaimiasdads.... ¬¬ always creating spam threads!
sewa2k said:
im so tired of you sweattaimiasdads.... ¬¬ always creating spam threads!
Click to expand...
Click to collapse
theres no spam thread, serious its you whos spamming delete the comment or i get mod to delete it for you!
Is this actually coming along now or is it still stumped??
scruffy3666 said:
Is this actually coming along now or is it still stumped??
Click to expand...
Click to collapse
i will see if i can get it to not fc as we have not all working parts, also the settings.apk seems damaged when using apktool it gives me alot of errors, so i think the settings is damaged
SWEATTAIMI said:
theres no spam thread, serious its you whos spamming delete the comment or i get mod to delete it for you!
Click to expand...
Click to collapse
Im sorry, but with your non-working roms u r the one whos spamming the entire dev section of P500.
First you start to "porting" ROMS to our P500, then, when u fail, start a new thread involving a "supercrazyamazing rom with extra-cheese", and only was a themed rom, but hey, no rom, because u cant figure it to enable sd-mount and show us screenshot of your fail (sorry, rom). Then u take others ppl work (like dr.notors) and continues as ur work? sorry m8 but im not spamming either threatening u with the mods. I dont even know why ur threads are still open.
sewa2k said:
Im sorry, but with your non-working roms u r the one whos spamming the entire dev section of P500.
First you start to "porting" ROMS to our P500, then, when u fail, start a new thread involving a "supercrazyamazing rom with extra-cheese", and only was a themed rom, but hey, no rom, because u cant figure it to enable sd-mount and show us screenshot of your fail (sorry, rom). Then u take others ppl work (like dr.notors) and continues as ur work? sorry m8 but im not spamming either threatening u with the mods. I dont even know why ur threads are still open.
Click to expand...
Click to collapse
again thats not spam, and i quited the rom and i do not have time,
The ihero is partly working, and SD-Card mounted,
Doktor notor's rom is not stolen i said i do a topic for it, as people may not go to his forum,
Please do read before posting man And why some threads is still open and not closed or deleted is because I or anyoneelse exept mod can close it (or administrator's) so i have tried close some topics with no luck, so what you can do is ask mod to do that for me ?
Well it would be great if you work on a single port and make it a complete success rom.
As dj said team envy is all there to help you out but we need a fully working rom as all the thread remains incomplete.
Well lets port miui :d
shhbz said:
Well it would be great if you work on a single port and make it a complete success rom.
As dj said team envy is all there to help you out but we need a fully working rom as all the thread remains incomplete.
Well lets port miui :d
Click to expand...
Click to collapse
yeah i thought that to, after some researches and questions i noticed that we only worked on framework.jar but we forgot 2 other files aswell
A quick tip from my side :- consider andy for the launcher. Remember his rom that was removed RC4.1 or something. He has always used a launcher actually and fully modified by HIM, and also with his upcoming legendary rom, he is doing the same with the launcher. All around the devs in O1 section, andy is the best in this field. You should ask him
I am 100% sure he will help and will take out some time for you.
JUST ONE RULE SHOULD BE FOLLOWED WHILE THIS :- BE PATIENT
DJoptimus-One said:
A quick tip from my side :- consider andy for the launcher. Remember his rom that was removed RC4.1 or something. He has always used a launcher actually and fully modified by HIM, and also with his upcoming legendary rom, he is doing the same with the launcher. All around the devs in O1 section, andy is the best in this field. You should ask him
I am 100% sure he will help and will take out some time for you.
JUST ONE RULE SHOULD BE FOLLOWED WHILE THIS :- BE PATIENT
Click to expand...
Click to collapse
your 100 thanks clicked.
ANDY:
as i see in the logcat, it seems that there are mixed libraries from miui and LG proprietary libs.
this cant work, because many apps are crashing at boot time because of missing functions for layout.
at first, remove the fu** LG drmserver - no one but LG need this.
second, try the surfaceflinger, surfaceflinger_client, libpixelflinger and liblayout from another rom,
these from LG rom cant work here - miui has patched many libraries, so these installed
cant work properly.
Click to expand...
Click to collapse
hmm we have missed something