Related
Hey guys
First of all: I'm not good in develop! But i want to start with CM porting to our Gen8
I just get some infos from chulri how to port CM.
What have to be do:
Build-Scripts for CM on Gen8
Extract some Gen8 Binaries
Build the Kernel with Touchscreen Drivers
Build-Scripts for CM on Gen8
I started a Thread at the CM Forum about this I'll report here..
( http://forum.cyanogenmod.com/topic/24048-cm-port-to-archos-gen8/ )
Extract some Gen8 Binaries
I hope chulri will answere me soon so i can do this
Build the Kernel with Touchscreen Drivers
This have to be done from a guy who has Kernel Knowledge! Anyone?
If anyone's interested i could send a link with an how to, i've found onthe web
Everybody is invited to help to getting this Project started!
Greetz,
Lenn
I'm not a great porter, but I've shadowed a lot of porting with the cm roms, I'll try to do my part if you host the project on something like github(both kernel and rom). I also have a little bit of kernel development experience.
Scaryghoul said:
I'm not a great porter, but I've shadowed a lot of porting with the cm roms, I'll try to do my part if you host the project on something like github(both kernel and rom). I also have a little bit of kernel development experience.
Click to expand...
Click to collapse
Thats good You know more than me
I just could host the normal kernel and rom, because i've do nothing yet
(When chulri answered me i'll catch the original binaries, you can read this here: http://forum.xda-developers.com/showthread.php?t=1029507&page=3 )
You think you could the first step i described?
That would be assome
thank you for start the ball rolling!
Lennb said:
Thats good You know more than me
I just could host the normal kernel and rom, because i've do nothing yet
(When chulri answered me i'll catch the original binaries, you can read this here: http://forum.xda-developers.com/showthread.php?t=1029507&page=3 )
You think you could the first step i described?
That would be assome
thank you for start the ball rolling!
Click to expand...
Click to collapse
Not sure what you mean, you want me to explain how to extract the original binaries?
If you need a tester i'm your man ^^
(and if i can be of help with anything else learn me and i'll try ^^)
link should be this?
http://forum.cyanogenmod.com/topic/19647-archos-gen8/page__view__findpost__p__196966
Scaryghoul said:
Not sure what you mean, you want me to explain how to extract the original binaries?
Click to expand...
Click to collapse
First of all, Thanks for a help appear!!
I think he mean the step of porting CM7 to gen8 is:
1.Build-Scripts for CM on Gen8
2.Extract some Gen8 Binaries
3.Build the Kernel with Touchscreen Drivers
so, step 1 should be "1.Build-Scripts for CM on Gen8"..
Scaryghoul said:
Not sure what you mean, you want me to explain how to extract the original binaries?
Click to expand...
Click to collapse
I dont know, when chulri respone me i'll report it here
@eagleofdeath13
Thanks for support! Maybe you could search someone with Kernel knowledge who could do the first step, i think this is hard
@LeoNg628
Yep,sorry about that, thank you for correcting me
Thank goes to all you guys!
LeoNg628 said:
First of all, Thanks for a help appear!!
I think he mean the step of porting CM7 to gen8 is:
1.Build-Scripts for CM on Gen8
2.Extract some Gen8 Binaries
3.Build the Kernel with Touchscreen Drivers
so, step 1 should be "1.Build-Scripts for CM on Gen8"..
Click to expand...
Click to collapse
Yep,you're right
But i think its the hardest step and i've kernel knowledge,
We have to find someone with Kernel Knowledge who could do this
(Except chulri, i always ask him, but he has to much work right now..)
Oh, well I've never really created a build script before but there are plenty of guides instructing on how to do so.
Extracting the binaries usually consists of adb pulling all of the binaries required for the complication that are proprietary/closed source. I suppose you could just copy/paste them to your sdcard then copy to a computer if adb weren't around but that's just extra work.
As to which binaries we need, I'm not sure yet but we can cross that bridge in a bit.
To make the build script, we should probably analyze other build scripts for other devices and the directories for them.
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Also for whoever attempts to get a functional kernel for cm7 this page may be useful(or possibly me just making sure I read this later)
http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
Scaryghoul said:
Oh, well I've never really created a build script before but there are plenty of guides instructing on how to do so.
Extracting the binaries usually consists of adb pulling all of the binaries required for the complication that are proprietary/closed source. I suppose you could just copy/paste them to your sdcard then copy to a computer if adb weren't around but that's just extra work.
As to which binaries we need, I'm not sure yet but we can cross that bridge in a bit.
To make the build script, we should probably analyze other build scripts for other devices and the directories for them.
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Also for whoever attempts to get a functional kernel for cm7 this page may be useful(or possibly me just making sure I read this later)
http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
Click to expand...
Click to collapse
Thank you!
Okey, you really knows a lot more than i am
I'll do the binaries, just say me where they are?^^
Maybe you could try the Build script(s)...
And for the Touchscreen Driver:
We've to look for somebody who do the instructions i've found on the net
Scaryghoul said:
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Click to expand...
Click to collapse
Okey, i know this Thread, its great except the fact it don't support Archos ^^
I'll send a message at these guys about archos devices and parallels about our gen8 devices ad supported devices, so we could create our own script to do it from scratch like they've do
But i now i go to bed^^
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
chulri said:
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
Click to expand...
Click to collapse
I have Desire and Desire HD also Aria and Legend....but all is HTC...the hardware spec is not similar to Archos gen8....
chulri said:
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
Click to expand...
Click to collapse
Okey,thank you
there is no device similar to our archos that is supported
But is it possible to "mix" it?
Like:
Cpu - from a phone that has Arm Cortex A8
[...]
we put together all parts
woukd that be possible?
Yes, CPU might be the most important common part, then WiFi/BT, DSP (for hardware acceleration of videos), Sound, Touchscreen and in the end USB host port.
Lennb said:
Okey, i understand thank you very much, chulri!
I've searched but i dont found anything about writing build scripts on android...
Click to expand...
Click to collapse
I haven't found anything too, but I did some research in the beginning of this year: http://wiki.cyanogenmod.com/index.p...nMod_for_Sholes#Prepare_the_Build_Environment
After installing the repository on the build machine, you have all the build scripts from other devices and can copy and adapt them.
Lennb said:
Okey, then we'll do this step (binaries) in the end, i think the best would be to write the build scripts first? What do you mean?
Click to expand...
Click to collapse
Agreed
Lennb said:
i think we should write now on the developement thread, then the other guys could read it
Click to expand...
Click to collapse
Agreed too
chulri said:
Yes, CPU might be the most important common part, then WiFi/BT, DSP (for hardware acceleration of videos), Sound, Touchscreen and in the end USB host port.
Click to expand...
Click to collapse
Okey, but how do we get these firmwares out of the archos firmware?
http://wiki.cyanogenmod.com/index.p...nMod_for_Sholes#Prepare_the_Build_Environment
After installing the repository on the build machine, you have all the build scripts from other devices and can copy and adappt them.
Click to expand...
Click to collapse
Okey, i just have a windows pc, but i think i put linux on it
Ubuntu is the best for developening, isn't it?
I have to talk to my brother (with-owner of the pc)
I'll put a dual-boot system on my pc
I want Cyanogen!
Lennb said:
Okey, but how do we get these firmwares out of the archos firmware?
Click to expand...
Click to collapse
a) adb pull (this is what the "extract_files.sh" does)
b) root the device and copy files one by one
c) root the device, copy the filesystem image and extract the files by script
Lennb said:
Okey, i just have a windows pc, but i think i put linux on it
Ubuntu is the best for developening, isn't it?
I have to talk to my brother (with-owner of the pc)
I'll put a dual-boot system on my pc
Click to expand...
Click to collapse
So you start developing? If not, no need for linux at all
Lennb said:
I want Cyanogen!
Click to expand...
Click to collapse
4 days ago you wanted UrukDroid, 3 day ago you wantet Honeycomb, now you want CM, will you stay this time?
chulri said:
a) adb pull (this is what the "extract_files.sh" does)
b) root the device and copy files one by one
c) root the device, copy the filesystem image and extract the files by script
Click to expand...
Click to collapse
Sorry, im a noob I just don´t understand.
Adb pull is copy files over adb(command connection over usb); right?
So you start developing? If not, no need for linux at all
Click to expand...
Click to collapse
I try I reset my Pc anyway
4 days ago you wanted UrukDroid, 3 day ago you wantet Honeycomb, now you want CM, will you stay this time?
Click to expand...
Click to collapse
Same answer as in 2
from what i understand 2.2, 2.3 doesnt support usb hosting which is needed for the archos screen
is there a fix for that?
i know android 3.0, 3.1 support usb hosting...
Hey Guys, I made a program so you can switch your Phone's Hardware Keyboard with just two clicks on the PC.
Instructions:
Connect Phone
Turn on USB Debugging
start Programm
select your desired Language from the List
Hit Button
Finished
Reboot Phone
Works on every rooted Phone.
Its for the Sony Ericsson Default Input Method.
(The Program can only be started if Java 1.6 is installed just double Click it)
Source Code is available in this post too, ..._src.zip
Great idea!
Amazing mate,great idea, and i like it's done on java, will work on ubuntu?
D4rKn3sSyS said:
Amazing mate,great idea, and i like it's done on java, will work on ubuntu?
Click to expand...
Click to collapse
would just need to change adb.exe in adb (in source) and provide the proper linux files. other than that no issue.
slade87 said:
would just need to change adb.exe in adb (in source) and provide the proper linux files. other than that no issue.
Click to expand...
Click to collapse
I see, well nice work , i have been working on java softwares using adb, now im porting to linux
May you provide the sources please?
Or in other words: do you replace some files or is it just the keyprint.xml thingy?
Thanks man, but for me it is easier to change it manually using root explorer, because I never use data cable But it is very useful for many people
Temes
I think so too.
Snoopo said:
May you provide the sources please?
Or in other words: do you replace some files or is it just the keyprint.xml thingy?
Click to expand...
Click to collapse
Yes i can upload them when i get home
Sent from my U20i using XDA Premium App
Another awesome tool that works fine
But why java? It takes ages to load the jvm just for some commands that are ported into a GUI :/
s0ftcorn said:
Another awesome tool that works fine
But why java? It takes ages to load the jvm just for some commands that are ported into a GUI :/
Click to expand...
Click to collapse
What you mean with that? java it's the more portable language, you can make a tool for windows and VERY easily port it to linux, or any OS.
Im sorry but I <3 java, also wtf with "it takes ages" ??
THanks Slade,
I tested it to update my MiniPro to qwerty-br, reboot and it works!
Just to confirm, now instead of SE keyboard I see TalkBack keyboard option...
Look at programs compiled in C/C++, they run really fast, while in java you have to wait some time, until the java virtual machine is loaded
Sure, the cross platforming of java is awesome, but i dont think so much GUI-only people are driving linux on their systems
Hi Slade,
Qwerty-br is definitly different than qwerty-pt!
Example
- 'Ç' is ','
- ',' is '´'
- '´' does not exist
You have all details in the other thread to create a qwerty-pt, but if you need again I can attach it!
Can you please make a qwerty-pt?
Thanks
Snoopo said:
May you provide the sources please?
Or in other words: do you replace some files or is it just the keyprint.xml thingy?
Click to expand...
Click to collapse
sources added to first post (please don't look to close at the gui part i was lazy )
I have a question can I use this to make layout for other keyboar like 'Android keyboard' can I use this to make a layout for that. I want it because in 'android keyboard' the slide out qwerty does not have a underscore ' _ ' mark.
Sent from my U20i using XDA App
s0ftcorn said:
Look at programs compiled in C/C++, they run really fast, while in java you have to wait some time, until the java virtual machine is loaded
Sure, the cross platforming of java is awesome, but i dont think so much GUI-only people are driving linux on their systems
Click to expand...
Click to collapse
I use GNU/Linux,
Has a lot of people using Linux
i'm an Linux user, and want this tool too ^^
Not working
have never ran a Java Application before, i did everything you said but it isnt working,
Can anyone please provide all the Detailed steps for changing the Keyboard layout
Thanks
@Nayef
You have to install the jre, just google "java"
@Linux Users
Yeah, but i think you are used to use commands instead of GUIs?
hey there, can someone please help me setup dsixda's android kitchen properly, I have followed everything to the letter but it is still coming up with clear command not found,, im running windows 8 I have installed everything I needed but its still not working,, any help to get it working will get thanks
Dsixda's Kitchen (or probably Cygwin itself) doesn't support Windows 8
This was sent from a Galaxy Ace. Problem?
hmm thanks, I am reverting back to windows 7 in about half hour once all my downloads have gone to my other hdd,, then I will try again
also does it support the ace cuz I was gonna use kitchen to edit some roms
all still a no go at the moment,, i really want to use this to mod some roms, is there anything else i can use insted of cygwin and kitchen
Do you even know how the Kitchen works ?
This was sent from a Galaxy Ace. Problem?
well not at the moment,, all i want to do is get to the menu just to check i have it working but i cant,, i want to learn, but i think its a bit hard as i am running windows
winxuser said:
well not at the moment,, all i want to do is get to the menu just to check i have it working but i cant,, i want to learn, but i think its a bit hard as i am running windows
Click to expand...
Click to collapse
Please give a clear idea of what you have installed till now.
From the Galaxy to your phone
well cygwin and kitchen of course, and java jdk,, what else do i need
last time i installed cygwin i downloaded default,, this time im downloading everything,, TAKES FOREVER -_-
Please give the details. Which jdk have you installed and which guide are you following?
From the Galaxy to your phone
shaaan said:
Please give the details. Which jdk have you installed and which guide are you following?
From the Galaxy to your phone
Click to expand...
Click to collapse
i am using dsixda's windows guide, and im using the latest jdk
omg this is SOO annoying, im should just give up now, if i cant even get cygwin and kitchen to work how am i gonna mod roms -_-
The easiest way is if you make a Ubuntu Live Stick or install Ubuntu on another partition.
I also was not able to set up kitchen on my Windows 7 Pc so i installed Ubuntu on my old Laptop and it worked instantly
i have snow leopard on vmdk, but using the virtual pc it wont reconise my external hdd
and im using a laptop with half a screen LOL, hooked up to my tv via hdmi, so theres no point repartitioning my hdd and installing ubuntu anything, im lucky i have installed windows too many times that i know were all the buttons are
im not a ubuntu person and have only used its years ago once,, any hints for setting up kitchen, im installing ubuntu now with windows installer hope it works
hey guys, got ubuntu on a seperate partition on my laptop now,, can you guys help me on how to start making my own rom???
winxuser said:
hey guys, got ubuntu on a seperate partition on my laptop now,, can you guys help me on how to start making my own rom???
Click to expand...
Click to collapse
Since you've already set up Ubuntu , why not compile AOSP or CM7 from source
Or would you rather stick to the Kitchen ?
This was sent from a Galaxy Ace. Problem?
could you teach me,, im a windows person not linux person hahah
Hello dear members of XDA-developers!
This is my first post, so please don't kill me. I've tried to find the answer to my question, but I guess it's too simple, since I believe nobody ever asked this.
So, I've just finished the first tutorial about developing on the android website (can't post outside links yet, but I'm pretty sure you all know it haha) and I would like to get it working on my Galaxy Nexus, but sadly I don't know how . (I honestly have no idea what version, but I'm in the Netherlands and that's where i bought it. It's running 4.1.1)
Could you guys help me out?
I know this question must've been answered before, but I can't find it.
Yes I am aware of the fact that I am a complete and utter noob and should be killed for my lack of knowledge or pro-ness in android developing.
Anyways if you read this you've made it through all of my question, so thanks for reading ^^
colonelmy
Assuming you are using eclipse connect your phone to your computer via usb cable. Now click the run program button and it should be sent to your device. If you have an emulator running at the same time eclipse should ask you what what device to send it to.
blazingwolf said:
Assuming you are using eclipse connect your phone to your computer via usb cable. Now click the run program button and it should be sent to your device. If you have an emulator running at the same time eclipse should ask you what what device to send it to.
Click to expand...
Click to collapse
Thanks for the quick response man, didn't think anyone way going to asnwer this lol.
That's right, I am using eclipse and i already tried what you suggested, but the problem is that eclipse can't find my nexus..
you think it might have anything to do with the fact that im programming for 4.1.2 and my Nexus currently runs 4.1.1?
That would be weird though, since i should have compatability all the way back to 2.3.3.
Otherwise I'd need to try and get my Nexus to run 4.1.2, but I don't think it supports it, right?
once again thanks for the response.
colonelmy
colonelmy said:
Thanks for the quick response man, didn't think anyone way going to asnwer this lol.
That's right, I am using eclipse and i already tried what you suggested, but the problem is that eclipse can't find my nexus..
you think it might have anything to do with the fact that im programming for 4.1.2 and my Nexus currently runs 4.1.1?
That would be weird though, since i should have compatability all the way back to 2.3.3.
Otherwise I'd need to try and get my Nexus to run 4.1.2, but I don't think it supports it, right?
once again thanks for the response.
colonelmy
Click to expand...
Click to collapse
Make sure USB debugging is turned on on your phone.
You set the minimum sdk level to 10?
blazingwolf said:
Make sure USB debugging is turned on on your phone.
You set the minimum sdk level to 10?
Click to expand...
Click to collapse
USB debugging is on, and yes I set the minimum sdk level to 10.
MY pc also recognizes it, but somehow eclipse does not...
Anyway, thanks for replying.
colonelmy
When I started building my first app, I built the "Hello Android" example using eclipse, to run on the emulator on my Windows PC.
When that worked, I found the built .apk file on my PC, and copied it to my DroidX, and sideloaded it, and it ran fine on the DroidX.
Sent from my unrooted DroidX using Tapatalk2
Nate2 said:
When I started building my first app, I built the "Hello Android" example using eclipse, to run on the emulator on my Windows PC.
When that worked, I found the built .apk file on my PC, and copied it to my DroidX, and sideloaded it, and it ran fine on the DroidX.
Sent from my unrooted DroidX using Tapatalk2
Click to expand...
Click to collapse
Yeah I've been hearing a lot about those .apk files, but where can i find them?
Once I know where that is, I just have to use a filebrowser and install it, correct?
Thanks for replying.
colonelmy
colonelmy said:
Yeah I've been hearing a lot about those .apk files, but where can i find them?
Once I know where that is, I just have to use a filebrowser and install it, correct?
Thanks for replying.
colonelmy
Click to expand...
Click to collapse
right click in eclipse in the project browser on your project and choose "export"... then copy the apk file to your phone and install it
btw set the minimum sdk to android 2.3
Sorry for my bad englisch
emyaz said:
right click in eclipse in the project browser on your project and choose "export"... then copy the apk file to your phone and install it
btw set the minimum sdk to android 2.3
Sorry for my bad englisch
Click to expand...
Click to collapse
my god thanks! It works like a charm now!
colonelmy
EDIT:
Yeah, getting it installed on my phone was easy now, but when I start the app, it only says: "Unfortunately, MyFirstApp has stopped", but that's probably a problem within the app itself I think.
Thanks again for helping me out (well sortof anyways )
colonelmy
To fix it run
Code:
adb logcat
You can see what went wrong
Enviado desde mi XT912
Correct me if I'm wrong. But I don't think simply copying the apk into phone and installing work, because I guess the apk needs to be signed. But when you launch from Eclipse it need not have to, and will install straight away into your phone.
First you should make sure ADB detects your device.
Run this command in cmd -> C:\android-sdk-windows\platform-tools\adb devices
Assuming you've installed android-sdk in C drive, turned on Android Debugging in phone. If it displays your device, then you are good to go and run your project from Eclipse.
Hey!
Ik ben ook Nederlands, en net begonnen met het ontwikkelen van apps.
Dus ik denk dat ik je meer dan anderen kan helpen! Stuur me maar een berichtje!
Translation:
Hey! I'm from the Netherlands too, and just got started with app development on my Galaxy Nexus. I think I can help you more than anyone else! PM me!
Sent from my Galaxy Nexus running Android 4.2 JB
Hello everyone!
I used Eroot on WinXP, but I switched to Linux. So, how can I root my LwW on Linux?
Thanks, @zutyenka
zutyenka said:
Hello everyone!
How can I root my LwW on Linux?
Thanks, @zutyenka
Click to expand...
Click to collapse
try this app https://towelroot.com/
after it used the app you NEED to install superuser / superSU
good uck
bejunk said:
try this app https://towelroot.com/
after it used the app you NEED to install superuser / superSU
good uck
Click to expand...
Click to collapse
thanks, but it's for S5. I need a program like Eroot.
zutyenka said:
thanks, but it's for S5. I need a program like Eroot.
Click to expand...
Click to collapse
NOT ONLY. i uses a exploit which is in ALL android kernels which was build BEFORE 6/2014. so if you lucky it will work too.
-remeber installing superSU & busybox after rooting with that app.
& no i dont think theres some "easy" solution for linux users. most method require a exe or drivers etc which in most cases are written for windows.
also why you dont do this job on firends pc?? (with win) or use a HDD/SSD to install windows quickly just for this & delte after. or make a partiotion install win, do your stuff, then format in linux & give back space to linux filesystem.
do you have no machine running win???? (i couldnt live in that way even MS sucks!)