Hi, first of all I hope this is the right place for this if not please close/move and tell me the right place to ask.
I am planning to improve the CM-FM app for our N1s, it works but there is a lot of room for improvement (named stations, autosearch, overriding national limits...).
The problem is that I am working on a Windows machine and the FM app needs the modified CM framework classes to compile, it seems there is no option to compile the full CM distribution under Windows.
But it shouldn't be too difficult given the CM framework compiled to use it with android-SDK and eclipse to build just the app.
So I ask here if someone can provide me the compiled classes.
It would be great to have them published with the nightlies, but as I don't think there would be a lot of changes in this part probably I can work with an outdated version for some time.
Why don't you use a virtual machine with Linux for this?
Of course that's a last resource but surely there are people out there that can provide this classes from their last compilations without problems and maybe this can help other developers also.
You'd probably want to be able to compile CM anyway so just installing Ubuntu 64bit in Virtualbox will work fine and is free. Make sure to enable Hardware Virtualization in your BIOS if your CPU supports it.
I do want to compile CM just the radio app, otherwise I would have installed a linux.
Sent from my Nexus One using XDA App
frisco82 said:
I do want to compile CM just the radio app, otherwise I would have installed a linux.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Why so stubborn? It literally takes less than a few hours to install, download sources, and compile your classes. Instead, you'd rather post here, and sit in waiting for who-knows-how-long to get an answer?
Not flaming, just trying to follow your thought process...
Hi,
I have successfully set up FRG83 and Cyanogen repositories, I've compiled the whole ROM, and I've compiled specific apps (make Gallery3D, for example).
Now I'm trying to start working with Eclipse. I've installed it and imported Cyanogen repo into it as a project - worked fine. The problem is - what if I want to compile a single package from it, say, Calendar app only? What is the equivalent of "make Calendar" in Eclipse, and is there any?
Thanks.
Bump. I don't believe no developers pass around here..
Don't believe many people in here know as much as you... xD
I know you shouldn't post questions in the dev section, but it may be a better option?
Sent from my Nexus One using XDA App
Unfortunately there are still plenty of internal-only API calls in the AOSP system apps. This means that many of them will not compile using the SDK.
So the right way to work with them would be editing in Eclipse and building in command line, like I did. Oh well... Thanks
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 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
(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.
Fantastic news! I can't wait too see how this works out. Good luck, you're gonna need it!
look forward to.
Thanks popdog
Will get into works as soon as i get my laptop back
Great news!
Waiting for testing release!
wow ! MIUI for o1 ?
oh sh*t this is what i've been waiting for so long !
looks good ill be happy to help, just ask for now im looking the motorola dump... maybe theres something that will help my team on galaxy 3 but anyway i subscribed tol this thread
EDIT: damn that motorola dump is useful, already found many, many tweaks thanks a million times for 4silvertooth
Hey can we use pastebin.com for all the logs.. it will be convenient and easy.
Sent from my LG-P500 using XDA Premium App
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
popdog123 said:
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
Click to expand...
Click to collapse
No but make a base rom and update.zip which will have all changes and will be small in size.
Sent from my LG-P500 using XDA Premium App
About the log.
The error so.lcddensity(something) is in build.prop you have to add it, it's using 160 by default.
All the missing class will have to be taken from the decompiled framework.
Sent from my LG-P500 using XDA Premium App
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
Breaking news of the day! I'll one of the first tester Keep going, heroes!
popdog123 said:
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
Click to expand...
Click to collapse
Will have to replace some smali. Merge the missing wont do.
@jazuk which one mainly.
Sent from my LG-P500 using XDA Premium App
Great news!
4silvertooth said:
No but make a base rom and update.zip which will have all changes and will be small in size.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
+1 for this, it would be easier to download for people with a slow connection like me.
ok ok... will do that... but for now we have to make a good base to start off of...
4silvertooth said:
Will have to replace some smali. Merge the missing wont do.
@jazuk which one mainly.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Whaaat???
Nice to see another dev porting some other firmwares to our phone if you want help then I'm in
Sent from my LG Optimus One P500 using XDA Premium App
jazux said:
Whaaat???
Click to expand...
Click to collapse
Never mind back to that later.
Sent from my LG-P500 using XDA Premium App
New thread:
Why did you made a new thread?
mDroidd said:
Hello
first: I want to release this public, but to start I decided to share it with some known guys
I'm into android for a while right now, and tried many things.
A few examples:
theming
build from kitchen
adb
build from source
To do these things, you need to do some steps. If you don't know what they are, or how you should do 'em, then you're in the right place
I teached myself (and my father teached me) some bash scripting.
ATM, I use it for resizing images.
I'll upload a screen tomorrow, together with more detailed specs.
For now, it's an easter egg for you to find out
FEATURES:
DOWNLOAD:
HOWTO:
Remember, many features will come later.
You kids have fun.
Click to expand...
Click to collapse
Wow! That would be cool!! HDPI>MDPI conversion would be very easy!! Thanks!!
Sent from my LG-P500 using XDA App
You're welcome, I had the problem first also
It uses a package called "imagemagick" and a few others, with a nice combination of commands
And don't say thanks only, also thank me
mDroidd said:
You're welcome, I had the problem first also
It uses a package called "imagemagick" and a few others, with a nice combination of commands
And don't say thanks only, also thank me
Click to expand...
Click to collapse
Good work!
Il have to try it asap...!
Updated first post, updated app, updated link.
It's now a direct link, just give it a shot!
And from now on, if people are not grateful (but they don't have to thank me) OR do not give comment on how I could improve it, I will keep this private and for my friends only.
Nice tool!
Will take a look at it and if I have some more ideas to include, I will let you know ; )
Sent from my LG-P500 using XDA App
mDroidd said:
Updated first post, updated app, updated link.
It's now a direct link, just give it a shot!
And from now on, if people are not grateful (but they don't have to thank me) OR do not give comment on how I could improve it, I will keep this private and for my friends only.
Click to expand...
Click to collapse
You might wanna release this in the General Android Development section where more people will be interested, since here there are quite few who are new to developing on android and there are more full-fledged developers who basically dont use such tools... releasing this in the general development section will encourage more newbies who are fairly new to editing apps n stuff or building an environment... this tool is great, but you need to make it public to get the 'actual' response u want...
Anyway, all the best for this tool, sadly now i dont have my pc, jus an old crappy netbook which is jus nuff fo browsing... shall try this in march after my final exams...
RockR172 said:
You might wanna release this in the General Android Development section where more people will be interested, since here there are quite few who are new to developing on android and there are more full-fledged developers who basically dont use such tools... releasing this in the general development section will encourage more newbies who are fairly new to editing apps n stuff or building an environment... this tool is great, but you need to make it public to get the 'actual' response u want...
Anyway, all the best for this tool, sadly now i dont have my pc, jus an old crappy netbook which is jus nuff fo browsing... shall try this in march after my final exams...
Click to expand...
Click to collapse
Thank you also, and you Arjen also.
I will release it there, and also in Android Chef Central. There will more people be intersted, I know.
But for now, I think you people would be nicer to me iwth suggesting idea's, just becuase some of you may know me
Anyways, after someone made a suggestion and I was able to include it and include cpfr, I will release it there
OK, done. included some more things.
I think I will be trying to PORT APK MULTI-TOOL to Linux
Should not be too hard. I'll include it in my script when it's done and submit it to the DEV to publish it.
But I want you to make a request, just to keep myself busy!
Is there ANYTHING that takes you too long, seems too hard for you, or something you want to automate?
If not, I'll continue with building from source.
Please comment within 3 days
mDroidd said:
OK, done. included some more things.
I think I will be trying to PORT APK MULTI-TOOL to Linux
Should not be too hard. I'll include it in my script when it's done and submit it to the DEV to publish it.
But I want you to make a request, just to keep myself busy!
Is there ANYTHING that takes you too long, seems too hard for you, or something you want to automate?
If not, I'll continue with building from source.
Please comment within 3 days
Click to expand...
Click to collapse
Maybe, automate the setting up of build environment for various versions of android...
So it would be like just start ur tool, go into the menu, select the build environment for the version your gonna build and it all does it by itself...
Downloading/installing packages etc..
I havent tested your tool so dunno if u have already included it in your tool...
Also, you might wanna create a directory of different types of custom roms and their github source codes link... like for example, cyanogenmod, omfgb, omgb, oxygen, aokp, codename android and so on...
So i open your tool, select the source i wanna download and it will do it...
Just my 2 cents...
Sent from my LG-P500 using XDA App
RockR172 said:
Maybe, automate the setting up of build environment for various versions of android...
So it would be like just start ur tool, go into the menu, select the build environment for the version your gonna build and it all does it by itself...
Downloading/installing packages etc..
I havent tested your tool so dunno if u have already included it in your tool...
Also, you might wanna create a directory of different types of custom roms and their github source codes link... like for example, cyanogenmod, omfgb, omgb, oxygen, aokp, codename android and so on...
So i open your tool, select the source i wanna download and it will do it...
Just my 2 cents...
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
+1 I think that would be a great addition.
Sent from my LG-P509 using xda premium
Lol, the first thing about installing packages is already included.
I sent you a PM about smthing, pkease watch.
I am busy including the next step: build environment.
Expect it to work within 2 days, if you click the first link it'll be one
Greets!
If you need a Hans with anything let me know
Sent from my PC36100 using Tapatalk
tommytomatoe said:
If you need a Hans with anything let me know
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Sure, I will Thank you.
Btw, tge post is now also at Chef central ;(
Greets!
Updated first post with FEATURES tab
Now everyone who will read this will answer?
mDroidd said:
Updated first post with FEATURES tab
Now everyone who will read this will answer?
Click to expand...
Click to collapse
A small typo??
Should'nt it be 'prepare build FROM source' and not 'form' source??
Leaving it, its come out great... n thx...
Did u add the directory stuff??
Sent from my iPad 3 using XDA App
RockR172 said:
A small typo??
Should'nt it be 'prepare build FROM source' and not 'form' source??
Leaving it, its come out great... n thx...
Did u add the directory stuff??
Sent from my iPad 3 using XDA App
Click to expand...
Click to collapse
Directory stuff: mik: done, oxygen: done, AOSP: done.
But adfad has multiple sources... I am gonna ask him
And yeah, typo, I'll edit right away!
Greets!
mDroidd said:
Directory stuff: mik: done, oxygen: done, AOSP: done.
But adfad has multiple sources... I am gonna ask him
And yeah, typo, I'll edit right away!
Greets!
Click to expand...
Click to collapse
Wait, this tool isnt just for O1...!
Its should me made for every phone out there... so maybe you should add the official sources and not ported sources... cuz if you start including port sources, it will be too much hassle trying to keep the source links updated, sometimes they change, too many ports for every available android device etc...
Also, u will b flooded with requests to add this source, add that source..
Do it like:
CyanogenMod- full official source from CM, github.com/cyanogenmod
Oxygen- full official source by oxygen team, (i dont remember the links)
AOSP
AOKP
CodeNameAndroid
OMGB
OMFGB
Etc etc
Add the official repo's n not ports...
It will help in keeping the sources more update as the official teams work more on their sources than individual porters do on their own sources...
Sent from my iPad 3 using XDA App
RockR172 said:
Wait, this tool isnt just for O1...!
Its should me made for every phone out there... so maybe you should add the official sources and not ported sources... cuz if you start including port sources, it will be too much hassle trying to keep the source links updated, sometimes they change, too many ports for every available android device etc...
Also, u will b flooded with requests to add this source, add that source..
Do it like:
CyanogenMod- full official source from CM, github.com/cyanogenmod
Oxygen- full official source by oxygen team, (i dont remember the links)
AOSP
AOKP
CodeNameAndroid
OMGB
OMFGB
Etc etc
Add the official repo's n not ports...
It will help in keeping the sources more update as the official teams work more on their sources than individual porters do on their own sources...
Sent from my iPad 3 using XDA App
Click to expand...
Click to collapse
I did
I am making funtions like this in bash:
function AOSP
{
repo init -u blablabla
}
and downstairs the script
AOSP
So you can edit it above
I am now making an LG Specific and a stock android one
Updated
Changelog:
Code:
#v1b4:
[^]Added copyright
[^]Updated Animation
[^]Added second section; looks better
[^]OOPS! I added CopieFrom under the option "c" wich is already changelog!
[^]Improved other than home directory - was not working
[^]ICS Blue characters <3
[^]Added BUILD FROM SOURCE option
[^]Custom animation speed :)
[>]To try if this works, please go into terminal and type:
cat --help
if it tells you the manual for "cat", then you are fine.
Option D from the main menu.
Have fun
Hi.
If someone have improvement advices for this thread PM me.
This won't work for sense ir smth similar.
I'm not responsible for bricked(or smth similar) devices cause of ROMS ported by this method.
I don't know if this works for non-aosp/cm based ROMS. You may need to do some more things to get it working.
Try to use the same android version for both ROMS For 4.2.2 use Cm For 4.1.2 use Stock ROM.
You won't have a compatible source code. This means you can't update the ROM through syncing and recompiling. But you won't need a Linux distro fot this Method.
Actually its very easy.
firstly follow this tutorial: http://www.fesilo.com/forum/android/guides/113-guide-guide-to-port-roms-fast-and-easy to get a booting ROM
then download this Tool -> http://www.virtuous-ten-studio.com/ it makes de/re-compiling very easy.
now you just have to fix those anoying bugs
to fix Phone.apk FC.
Be sure to put in the submenu smali API level to Android 4.2.2(in VTS) and tick use smali debug output and in the submenu build tick use old signature
Decompile telephony-common.jar from both ROMS.
Copy the X3RIL.smali found in /com/android/internal/telephony from the .jar of your base ROM (cm 10.1,stock rom) to the .jar of the ROM you're trying to port.
Recompile and replace the one within your old one from HOX ROM.
Decompile framework-res.apk from both ROMS.
open /res/values/arrays.xml
press Control+f to use the search function.
enter auto
copy the arrays config_autoBrightnessLevels,config_autoBrightnessLcdBacklightValues,config_autoBrightnessButtonBacklightValues,config_autoBrightnessKeyboardBacklightValues to the .xml off your ROM and overwrite the old ones.
then copy and overwrite power_profile.xml and storage_list from your base ROM to the ROM your trying to port.
Recompile and replace the one within your old one from HOX ROM.
actually this was the magic.
I hope I forgot nothing. Please Excuse me If I did. It's half past 23 here and I had a very exhausting Weekend.
I will update this thread in a few days to make it more userfriendly
You can PM me if you have Questions.
BIG THANKS TO SNXO FOR GIVING ME THE KNOW-HOW TO FIX BIG ISSUES.
and sorry for my English
reagards tobixdev
Thanks..
Very Interesting and useful..
Infact i find some guide simple to try...
Good Job!
Very nice Tobi good job :thumbsup:
Hopefully that gives power to the people for making some good Roms and Programms for us. It isn't that difficult to do just a little bit reading and then learning by doing.
Best regards SnXo
Notice that will work with every rom. The easy way is snap from HOX but you can choose Roms from others too... To keep it iesy you should have the same resolution and Androidversion nothing more... That's it!
Maybe a admin can make this as sticky that would be nice
Sent from my LG-P880 using XDA Premium HD app
SnXo said:
Very nice Tobi good job :thumbsup:
Hopefully that gives power to the people for making some good Roms and Programms for us. It isn't that difficult to do just a little bit reading and then learning by doing.
Best regards SnXo
Notice that will work with every rom. The easy way is snap from HOX but you can choose Roms from others too... To keep it iesy you should have the same resolution and Androidversion nothing more... That's it!
Maybe a admin can make this as sticky that would be nice
Sent from my LG-P880 using XDA Premium HD app
Click to expand...
Click to collapse
thanks
anyone tried yet ?
Sent from my LG-P880 using xda app-developers app
tobixdev said:
thanks
anyone tried yet ?
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
I tried a while ago with this rom: http://forum.xda-developers.com/showthread.php?t=1562603.
The end result was a bootloop. I will maybe try to do it again when I have more time.
this doesn't work with sense without additional work.
Sent from my LG-P880 using xda app-developers app
tobixdev said:
Hi.
If someone have improvement advices for this thread PM me.
This won't work for sense ir smth similar.
I'm not responsible for bricked(or smth similar) devices cause of ROMS ported by this method.
I don't know if this works for non-aosp/cm based ROMS. You may need to do some more things to get it working.
Try to use the same android version for both ROMS For 4.2.2 use Cm For 4.1.2 use Stock ROM.
You won't have a compatible source code. This means you can't update the ROM through syncing and recompiling. But you won't need a Linux distro fot this Method.
Actually its very easy.
firstly follow this tutorial: http://www.fesilo.com/forum/android/guides/113-guide-guide-to-port-roms-fast-and-easy to get a booting ROM
then download this Tool -> http://www.virtuous-ten-studio.com/ it makes de/re-compiling very easy.
now you just have to fix those anoying bugs
to fix Phone.apk FC.
Be sure to put in the submenu smali API level to Android 4.2.2(in VTS) and tick use smali debug output and in the submenu build tick use old signature
Decompile telephony-common.jar from both ROMS.
Copy the X3RIL.smali found in /com/android/internal/telephony from the .jar of your base ROM (cm 10.1,stock rom) to the .jar of the ROM you're trying to port.
Recompile and replace the one within your old one from HOX ROM.
Decompile framework-res.apk from both ROMS.
open /res/values/arrays.xml
press Control+f to use the search function.
enter auto
copy the arrays config_autoBrightnessLevels,config_autoBrightnessLcdBacklightValues,config_autoBrightnessButtonBacklightValues,config_autoBrightnessKeyboardBacklightValues to the .xml off your ROM and overwrite the old ones.
then copy and overwrite power_profile.xml and storage_list from your base ROM to the ROM your trying to port.
Recompile and replace the one within your old one from HOX ROM.
actually this was the magic.
I hope I forgot nothing. Please Excuse me If I did. It's half past 23 here and I had a very exhausting Weekend.
I will update this thread in a few days to make it more userfriendly
You can PM me if you have Questions.
BIG THANKS TO SNXO FOR GIVING ME THE KNOW-HOW TO FIX BIG ISSUES.
and sorry for my English
reagards tobixdev
Click to expand...
Click to collapse
ths very much