Related
Hello, I'm developer of linux software and I tested capabilites to get full Linux on our phone.
Sorry for posting in general, but i'm unable to post in development.
At the beginning - some theory:
1) We don't need to unleash Linux, because Android IS build on top of linux.
2) Availability of software depends on standard C library - in GNU/Linux it's glibc, in android - bionic.
So we need to port glibc, not linux.
We have following solutions:
-mount and chroot on top of android:
It's really simple: read here.
-build glibc and replace bionic-it's great idea, but may cause some Android problems.
read here.
-build a whole system: but then, we can't use gsm and android at all ,and it's extreemly hard.
Any questions? If sbd need any tutorials, i can help.
i thought you should contact mai77. he seems to be really interested in porting a linux on sgy. he even have made a thread about it. you may see the thread in development section.
Yes, I know. Unfortunately I have not enough posts to post there, but I really want to help him. I've an idea to develop "ready to run" archlinux images,easy to mount and run lxde. Is there anybody interrested?
Count me in just give me the
instructions
Sent from my GT-S5360 using xda premium
well...you only need another 8 post or you can directly pm him.
Lol, he can beat about the bush,to get 10 post.to post in dev,,
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
MichalBn said:
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
Click to expand...
Click to collapse
It really interresting count me in
Sent from my GT-S5360 using xda premium
count me in too...though i am not a dev...hehehe
OK, I've tested DebDroid, and i think that my work have no target-it's all already done. So happy using LinuxInstaller - I will rather help them than create it from scrath.
This tutorial ASSUMES you know about linux and compiling stuff from source so i will forgo the source stuff, AND THIS IS FOR GSM
step 1: For CWM 5 you need the CM ICS branch for CWM 6 you need the ICS-RELEASE branch
step 2: mkdir device/htc
step 3: git clone [email protected]:Lloir/android_device_htc_primouCWM.git -b android_device_htc primou
step 4: go back to the root of the source folder
step 5: run this command make -j4 otatools
step 6: . build/envsetup.sh
step 7: make lunch_primou-eng (for primoc just change the u to a c)
step 8: make clobber
step 9: make -j4 recoveryimage
step 10: TADA all done it tells you where the file is...also feel welcome to modify the CWM device folders i've provided to make your own, just MAKE SURE you CREDIT ME and point people towards this thread
dafuq did i just read? :thumbup:
fantastic work
praise the Lord is now
praise the Lloir hehe:beer:
a true lfc supporter
and a former symbian lover
sent from my awesome HTC One V using xda premium
SUPPORT THE SOFTWARE DEVELOPER'S IF YOU LIKE THE GAME / APP BUY IT
paarthdesai said:
dafuq did i just read? :thumbup:
fantastic work
praise the Lord is now
praise the Lloir hehe:beer:
Click to expand...
Click to collapse
+1
The source is 25gb...I wish I had fast internet to try this out...
Sent from my HTC One V Running SuPrimo v4.1(28/6/12)
shubhamchamaria said:
The source is 25gb...I wish I had fast internet to try this out...
Sent from my HTC One V Running SuPrimo v4.1(28/6/12)
Click to expand...
Click to collapse
this is the size of my folder
259,428 items, totalling 12.9 GB
thats including the One V Device tree, the GB tree is 25gb this is the ICS tree, i've told you 3x it's not 25gb
Lloir said:
this is the size of my folder
259,428 items, totalling 12.9 GB
thats including the One V Device tree, the GB tree is 25gb this is the ICS tree, i've told you 3x it's not 25gb
Click to expand...
Click to collapse
Ok..still too big ..
Sent from my HTC One V Running SuPrimo v4.1(28/6/12)
shubhamchamaria said:
Ok..still too big ..
Sent from my HTC One V Running SuPrimo v4.1(28/6/12)
Click to expand...
Click to collapse
want me to make you a torrent for the folder? minus the one v stuff that with it
Hi
Thanks for that tutorial
Just yesterday I fetched JB but only build an emulator till now
Now I am stuck how to build it specific for the primou
Can I use the files from your android_device_htc_primou repository
also for building complete JB?
Sorry if this is a noob question
regards
max
maxwen said:
Hi
Thanks for that tutorial
Just yesterday I fetched JB but only build an emulator till now
Now I am stuck how to build it specific for the primou
Can I use the files from your android_device_htc_primou repository
also for building complete JB?
Sorry if this is a noob question
regards
max
Click to expand...
Click to collapse
you can try and follow the guide above......this guide works for the GB repo so it MIGHT work for the jelly
Has anyone used this guide?
Sent from my HTC Desire using xda premium
Are there any major differences that you know of for doing this on a Mac? I could do a Parallels Linux boot, but I'd rather not.
i have no idea dude....i dont think there's much difference...you will have to google some of it i think
If you can't download the entire source, type in terminal
regedit manifest.xml
And then remove stuff whose source you wouldn't require...
This would shrink up your 11gb source...
Excuse the errors, if any...
Lloir said:
i have no idea dude....i dont think there's much difference...you will have to google some of it i think
Click to expand...
Click to collapse
No worries, i may just buy a laptop to use for deving, if i decide to start.
OP is updated to make things easier
guys , any ideeas in how i can change the recovery font size? i have to edit ui.c i unterstood...but i didnt find any FONT_SIZE, or anything similar...thanks!
solved: need to edit the Android.mk from bootable/recovery
now i got messed up graphics in CWM6, there is a problem with graphics.c?
llior.....can u make a custom recovery like cwm recovery for xolo a700?
any ideea what modifications i need to make to the kernel to build CMW Recovery touch?
Touch is closed source.... use this to build touch
http://builder.clockworkmod.com/
Hey,
I think you guys know me from my Xperia SSpeed rom and kernel, but from now on I'll be starting with a new project
I'm going to try to compile an AOSP rom for Xperia S. I'd like to create this thread as a discussion thread about features, bugs, etc.
I'll also try to create a sort of "FAQ post" here
Everything you want to discuss about an AOSP is welcome here
Regards,
Krabappel2548
== To Do ==- Clone the right Google Source code and compile again.
== Progress ==
== Compile again using the right google source code [19/12] ==
- Going to start again, I compiled from the wrong Google source code
== Made a flashable zip [19/12] ==
- Made the rom as flashable zip
- kernel is included
- Symlinks and permissions should be ok now
== Fixed boot.img not flashing problem [18/12] ==
- Boot flashed, this is the kernel: download the kernel
- Rom still not booting
==First compiled version as system.img [18/12] ==
- Boot, not fashable
- Rom not booting with FXP kernel
- System.img is not editable with a linux disk reader
Hello, I had KA ROM since 01 in GB to 19 in ICS.
I'll try your new ROM when you'll release it.
Good luck for this project
Great. AOSP on XS will be cool. :good:
You will work with The Three Musketers team (that one on Facebook)?
The long awaited AOSP rom??? WOW thanx Krabappel!!
Felimenta97 said:
You will work with The Three Musketers team (that one on Facebook)?
Click to expand...
Click to collapse
yes, but no one succeeded in getting it to boot, so now I'm compiling my first version, just to see if it boots first
Cool ! Will test it once u release it and report back
Sent from my Xperia S using xda premium
krabappel2548 said:
yes, but no one succeeded in getting it to boot, so now I'm compiling my first version, just to see if it boots first
Click to expand...
Click to collapse
Ok. Hope to see you all working together, so you can find it faster, and avoid multiple AOSP ROMS.
Sent from my LT26i using Tapatalk
I made the second post one to post my progress in. I think I have fixed the flashing issue with boot.img, but I'm going to add a kernel logo to really see if it the compiled kernel works
The rom doesn't boot when compiled a system.img, so I'm going to try to compile it as an flashable zip to test again today
Would you mind posting link to boot.img to see if we can get it to work with the img files I've compiled Because rather than use the device files from sonydev github, I've used the ones from Google just to see if that would make a difference, but our testers couldn't flash the boot.img
[vertigo] said:
Would you mind posting link to boot.img to see if we can get it to work with the img files I've compiled Because rather than use the device files from sonydev github, I've used the ones from Google just to see if that would make a difference, but our testers couldn't flash the boot.img
Click to expand...
Click to collapse
ok didn't knew you were working on this?
I'm alone for this project now
I'll add the link to the second post
Yeah I've been having a go, but not having the device makes it really hard lol ... Also tried the fruits and veggies rom from Galaxy Nexus forum but I'm having the same problems with that as its also based on AOSP.
Edit: thanks for the kernel
Come on Krab
Sent from my Xperia S using xda premium
Ill even unlock my bootloader if this is a winner.
did you find a way to edit system.img?
Xperia S Tapatalk
system.img is simg, just do simg2img system.img system.ext4 then you can mount it.
Apology11 said:
did you find a way to edit system.img?
Xperia S Tapatalk
Click to expand...
Click to collapse
letama said:
system.img is simg, just do simg2img system.img system.ext4 then you can mount it.
Click to expand...
Click to collapse
Got that in the meantime
I made a flashable zip with the right permissions and symlinks now
Only thing left to do for now:
- Test it out and see if it boots!
Hi Krabappel2548,
Out of curiosity, are you following the instruction on their README to build a bootable image?
I agree that all the efforts from XDA devs should be concentrated on a single project.
I am no developer but it would be amazing if devs from XDA would collaborate with Sony devs to make this project develop into a working ROM.
Their code is all hosted on a public github where code can be contributed, forked and merged!
Good luck, keep up the good work and work together with Sony and other XDA devs! :victory: :fingers-crossed:
EDIT: Also, should this thread be in the development section maybe?
rent0n said:
Hi Krabappel2548,
Out of curiosity, are you following the instruction on their README to build a bootable image?
I agree that all the efforts from XDA devs should be concentrated on a single project.
I am no developer but it would be amazing if devs from XDA would collaborate with Sony devs to make this project develop into a working ROM.
Their code is all hosted on a public github where code can be contributed, forked and merged!
Good luck, keep up the good work and work together with Sony and other XDA devs! :victory: :fingers-crossed:
EDIT: Also, should this thread be in the development section maybe?
Click to expand...
Click to collapse
Yes I followed the instructions from Sony, but there is more then those instructions that needs to be done You need to setup ubuntu first
I know about the Sony github, I can't compile the AOSP rom without those files
The thread belongs here for now, as soon as the rom boots, I'll make a new thread in development section
Sent from my LT26i using xda app-developers app
Hi there!
Since nobody has yet been able to answer this clearly, I'm making a thread.
(I don't want to pester RaymanFX anymore, he's been a lot of help already)
I need to unpack a Sony Xperia device's boot.img, so that I can edit the ramdisk and then repack the thing into a working boot.img.
I've read a lot, tried a lot of tutorials, but it just seems impossible.
There is a way to unpack with 7zip, but that destroys the simlinks and renders the ramdisk useless. Yet on the other hand, it is the only method that works.
Every other method and/or kitchen says that there is no Android header and/or that 'Android magic' can't be found (Sony's kernels are special for some reason).
But let's say that 7zip works fine. You make your edits and try to repack. But how? Sony's mkelf.py file doesn't do much on Windows/Cygwin, do I have to boot Linux? But from there on, what do I do?
I've been bashing my head into the wall for the last 30 hours. If anyone could please help, I'd be grateful.
Thanks!
P.S.
If anyone wonders why a noob would be doing this, it's to prove anyone can do anything (with a lot of help) -- I'm porting HTC Sense to the Nozomi
EDIT:
Would this work for a 2012 device?
Trying out now...
http://forum.xda-developers.com/showthread.php?t=1477845
Sent from my LG-LS970 using Tapatalk 4 Beta
Wow, I pasted the exact same thing in my post (under the EDIT)... Any internet form in existence hates me... ;-;
Thanks anyways, tho, appreciated that somebody replies
I've started to port Sense 4.1 lite from HTC Desire X 1.18.401.1 to our phone. I've been following this guide to port it, but when booting I always get a blackscreen and it doesn't do anything =/. I can't enable ADB, even though I've added persist.service adb.enable line in the build.prop. I know that it generates things in the data partition, because the ADB in recovery shows it. Does anyone have any ideas on how to get this working?
may be you have to edit res-framework.apk to make a rom working!
gulsher said:
may be you have to edit res-framework.apk to make a rom working!
Click to expand...
Click to collapse
Do you know what parts of it? I'm not so great at sense rom porting =/
Decompile
1. Download these files:
http://dl.dropbox.com/u/54258750/apktool1.4.2.31e6dc5.jar
md5: 38db374a2f733000b1b0309b2b99f74b
http://dl.dropbox.com/u/54258750/aapt.exe (from the latest R16 SDK)
md5: 26a35ee028ed08d7ad0d18ffb6bb587a
http://dl.dropbox.com/u/54258750/apktool.bat
md5: 2bf3b895011fc4b1801edcfbabfdc295
2. Copy all files to your 'Windows' directory and rename apktool1.4.2.31e6dc5.jar to apktool.jar
3. Open command prompt, and install framework (apktool if framework-res.apk)
4. Decompile with apktool1.4.2.31e6dc5.jar (everytime use this to decompile framework-res.apk)
apktool d framework-res.apk
Rebuild
1. Download http://code.google.com/p/android-apktool/downloads/detail?name=apktool1.4.3.tar.bz2 and copy to your windows directory (overwrite the old apktool.jar)
md5: 3d0478c4d23c7829edc024266697fef9
2. apktool b framework-res
3. extract all files from 'dist\apktool-res.apk' and create new archive with winrar or 7zip (archive type: zip | compression method: store)
4. resign
5. zipalign
6. Rename to famework-res.apk
---------- Post added at 09:04 PM ---------- Previous post was at 09:01 PM ----------
try to copy these lib
Libandroid_runtime.so
Libandroid_servers.so
Libmedia_jni.so
if rom is not booting
MameTozhio said:
I've started to port Sense 4.1 lite from HTC Desire X 1.18.401.1 to our phone. I've been following this guide to port it, but when booting I always get a blackscreen and it doesn't do anything =/. I can't enable ADB, even though I've added persist.service adb.enable line in the build.prop. I know that it generates things in the data partition, because the ADB in recovery shows it. Does anyone have any ideas on how to get this working?
Click to expand...
Click to collapse
Waiting for your Android 4.0.4 Sense 4.1 :good:
Well I managed to get it to show Boot animation, I edited the build.prop.
I still can't get a logcat, I tried to make an init.d script to logcat a file to the sdcard, but that didn't want to work.
I'm using my own guide now, but no matter what I do it doesn't boot.. anyone else able to help?
I've also switched base to Asia HK 2.24.708.1, it isn't much different from the telus_wwe base I was using.
That thread your using wont work for Sense. You have to use Rom Kitchen Porting. I managed to get the Desire X 1.14.401.1 working but the camera didn't. And it was real slow. I've been trying the same. I've had a bunch of working ones, they just sucked.
bandit97 said:
That thread your using wont work for Sense. You have to use Rom Kitchen Porting. I managed to get the Desire X 1.14.401.1 working but the camera didn't. And it was real slow. I've been trying the same. I've had a bunch of working ones, they just sucked.
Click to expand...
Click to collapse
I don't use that thread anymore to port. Link me to the ROM kitchen porting? Oh, and for camera:
libchromatix*.so
LibOlaEngine.so
LibOlaEngineNew.so
libhtccamera.so
liboemcamera.so
libcamera*.so
libmm*.so
In /system/etc:
media_profiles.xml
MameTozhio said:
I don't use that thread anymore to port. Link me to the ROM kitchen porting? Oh, and for camera:
libchromatix*.so
LibOlaEngine.so
LibOlaEngineNew.so
libhtccamera.so
liboemcamera.so
libcamera*.so
libmm*.so
In /system/etc:
media_profiles.xml
Click to expand...
Click to collapse
I don't know of a guide. Its pretty self explanatory in Rom Kitchen using its porting tool. Maybe I could give it a try and upload a base for you.
bandit97 said:
I don't know of a guide. Its pretty self explanatory in Rom Kitchen using its porting tool. Maybe I could give it a try and upload a base for you.
Click to expand...
Click to collapse
I'm going to try using the kitchen porter.. just downloaded the master from github, just waiting for 1.18.401.1 from DX to finish downloading.
Delete- figured it out!
I used the android kitchen to port it, I can't get it to boot now. Does anyone have any ideas? (Sorry for all the double posts ._.)
Sent from my Nexus 4 using xda app-developers app
Can you give a link to the base your using?
Sent from my HTC One V using xda app-developers app
http://forum.xda-developers.com/showthread.php?p=36280811
The hTC Asia HK 2.24.701.1 version.
Sent from my Nexus 4 using xda app-developers app
Oh I ment what your trying to port.
Sent from my HTC One V using xda app-developers app
bandit97 said:
Oh I ment what your trying to port.
Sent from my HTC One V using xda app-developers app
Click to expand...
Click to collapse
Oh.
http://forum.xda-developers.com/showpost.php?p=39658634&postcount=2
MameTozhio said:
Oh.
http://forum.xda-developers.com/showpost.php?p=39658634&postcount=2
Click to expand...
Click to collapse
Yeah I've been trying without luck as well. It probably has to do with different screen size, symlinks and or 4.03 as base. Ill mess around for a bit. I'm not sure if your just trying to get 4.04. I managed to port Desire S 4.0.4 but it was slow and the camera didn't work as I said.
bandit97 said:
Yeah I've been trying without luck as well. It probably has to do with different screen size, symlinks and or 4.03 as base. Ill mess around for a bit. I'm not sure if your just trying to get 4.04. I managed to port Desire S 4.0.4 but it was slow and the camera didn't work as I said.
Click to expand...
Click to collapse
I'm really only trying to get Sense 4.1 lite.
MameTozhio said:
I'm really only trying to get Sense 4.1 lite.
Click to expand...
Click to collapse
I got http://forum.xda-developers.com/showthread.php?t=2006392 working. For myself. Thats the one I had problems with though. You need to gut a lot of stuff out of it. And I don't know if he would allow public porting or not. If you want help we could do it together. I still have a booting rom from that. I know a bit more now so I think I could do it better.
bandit97 said:
I got http://forum.xda-developers.com/showthread.php?t=2006392 working. For myself. Thats the one I had problems with though. You need to gut a lot of stuff out of it. And I don't know if he would allow public porting or not. If you want help we could do it together. I still have a booting rom from that. I know a bit more now so I think I could do it better.
Click to expand...
Click to collapse
Yeah, I've also got my own method of porting that doesn't require a lot of gutting and produces a working ROM. It just doesn't work for Desire X sense ports..