[Q]Compiling CyanogenMod 7 - XPERIA X8 Q&A, Help & Troubleshooting

Hi guys,
I'm in need of help here I ran this command:
HTML:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j10
Then it gave me a long string of codes, which means it was downloading the resources off github. But then when I was done(15 hours later ) I went to check /android/system/ but there weren't any changes made(still nothing inside). SO my question is is there something wrong or it's normal, because I've googled it and one particular guy said that the repo is a hidden file and you won't be able to see it unless you use a code in terminal or something like that. Have I done something wrong? Any help is appreciated!!!
Regards

XperienceX8 said:
Hi guys,
I'm in need of help here I ran this command:
HTML:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j10
Then it gave me a long string of codes, which means it was downloading the resources off github. But then when I was done(15 hours later ) I went to check /android/system/ but there weren't any changes made(still nothing inside). SO my question is is there something wrong or it's normal, because I've googled it and one particular guy said that the repo is a hidden file and you won't be able to see it unless you use a code in terminal or something like that. Have I done something wrong? Any help is appreciated!!!
Regards
Click to expand...
Click to collapse
Which distro do you use? Debian based or Redhat based?
Skickat från min ST18i via Tapatalk 2

Should use ubuntu 10.10 or mint 11
Sent from my E15i using xda premium

fotak-x said:
Should use ubuntu 10.10 or mint 11
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Fedora works too, but its more complicated.
Debian works too, I think
Skickat från min ST18i via Tapatalk 2

DevStaffAndroid said:
Fedora works too, but its more complicated.
Debian works too, I think
Skickat från min ST18i via Tapatalk 2
Click to expand...
Click to collapse
They are all good but for me Ubuntu <3
Sent from my E15i using xda premium

fotak-x said:
They are all good but for me Ubuntu <3
Sent from my E15i using xda premium
Click to expand...
Click to collapse
For me it is Fedora, I think Ubuntu is loaded with to much ****z like Libreoffice.
Fedora doesnt come with that crap, but you can install it if you want.
Skickat från min ST18i via Tapatalk 2

DevStaffAndroid said:
For me it is Fedora, I think Ubuntu is loaded with to much ****z like Libreoffice.
Fedora doesnt come with that crap, but you can install it if you want.
Skickat från min ST18i via Tapatalk 2
Click to expand...
Click to collapse
But if you use linux for development then most of them are good but for daily use like me then ubuntu is on top
Sent from my E15i using xda premium

Hi guys,
I use Ubuntu 12.04 LTS(Main OS) and somehow I tried again and it works I saw the files, becuase eagleeyetom told me that repo sync gives a lot of errors. Does anyone know if I have to copy proprietary files before entering "make -j4 otapackage" ? And if I have to, must I be on stock ROM?

Related

[Q]ubuntu on our phone

Hi all
I have downloaded ubuntu image and stuff via ubuntu installer from play and extracted it. Does it work? And how do i boot back from ubuntu to Android when i booted ubuntu via the app?
RomWiz said:
Hi all
I have downloaded ubuntu image and stuff via ubuntu installer from play and extracted it. Does it work? And how do i boot back from ubuntu to Android when i booted ubuntu via the app?
Click to expand...
Click to collapse
The app wouldn't have been created if it doesn't work.Sure theres instructions on the app page,if it doesn't work,you can always unbrick using smartflashtool
zyfkurmom said:
The app wouldn't have been created if it doesn't work.Sure theres instructions on the app page,if it doesn't work,you can always unbrick using smartflashtool
Click to expand...
Click to collapse
Buut it says
That it doesnt replace Android
Skickat från min LG-P970 via Tapatalk 2
RomWiz said:
Buut it says
That it doesnt replace Android
Skickat från min LG-P970 via Tapatalk 2
Click to expand...
Click to collapse
oh so you want it to replace android ? but theres no ubuntu rom or anything like that created by developers.dual boot android and ubuntu then?
zyfkurmom said:
oh so you want it to replace android ? but theres no ubuntu rom or anything like that created by developers.dual boot android and ubuntu then?
Click to expand...
Click to collapse
That is what i asked.
When i boot (dual boot) ubuntu how do i boot back to Android? Just a simple reboot?
Skickat från min LG-P970 via Tapatalk 2
I also want to know the answer to this question, thanks for your reply.
RomWiz said:
That is what i asked.
When i boot (dual boot) ubuntu how do i boot back to Android? Just a simple reboot?
Skickat från min LG-P970 via Tapatalk 2
Click to expand...
Click to collapse
I read the post on google play and the ob is supported but must be on marvel rom.Since it runs ontop of android,just shut down ubuntu like you would do on a pc and it should bring back android
zyfkurmom said:
I read the post on google play and the ob is supported but must be on marvel rom.Since it runs ontop of android,just shut down ubuntu like you would do on a pc and it should bring back android
Click to expand...
Click to collapse
Okey, Thanks
Skickat från min LG-P970 via Tapatalk 2

[Q] Nightly OR Stable

(CyanogenMod) Ok title kinda sums up everything. so which one would you rather and which is better to be used as a base ????
Sikorsky96 said:
(CyanogenMod) Ok title kinda sums up everything. so which one would you rather and which is better to be used as a base ????
Click to expand...
Click to collapse
personally, I wouldnt use official one, at least now....
i preffer to vo-1 unofficial build one.
it has more features, and less bug also
Ok cool guess I'm gonna have to make my own cyanogenmod haven't got anything to do over summer so I better start learning then. It shouldn't be that hard is it? I assume it's made up of Java scripts and XML
Sent from my GT-S5830 using xda premium
Sikorsky96 said:
(CyanogenMod) Ok title kinda sums up everything. so which one would you rather and which is better to be used as a base ????
Click to expand...
Click to collapse
Stable is always better...
Sent from my GT-S5830 using xda premium
Manvendra05 said:
Stable is always better...
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Not always....
Sent from my GT-S5830 using Tapatalk 2
Manvendra05 said:
Stable is always better...
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
does the official stable can activate LED via status bar???
Yes...it can...u have toggles mod available for this!
Sent from my GT-S5830 using xda premium
galaxyace152 said:
Not always....
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I mean most of the times :sly:
Sent from my GT-S5830 using xda premium
Manvendra05 said:
I mean most of the times :sly:
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Not most of the times also! Only sometimes.
Nighty is an update which has less changes from the previous version. It is an update which is given out on a regular basis!
So, the latest nightly is an updated version of the stable version which has lesser changes. But, nightly might also be untested for stability! But for me, nightly is very stable!
By the way to be honest I haven't searched for this, please forgive me. Is there any tutorial on how to make a cm ROM from source ??? what do I need to know ??? what languages ???
Manvendra05 said:
Yes...it can...u have toggles mod available for this!
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
what the point of stable release if we have to "mod" to activate such basic thing like that???
Sikorsky96 said:
By the way to be honest I haven't searched for this, please forgive me. Is there any tutorial on how to make a cm ROM from source ??? what do I need to know ??? what languages ???
Click to expand...
Click to collapse
There's even a GUI if you want to compile CM7
http://www.omgubuntu.co.uk/2012/05/gui-cyanogenmod-compiler-tool-for-ubuntu
alexnm said:
There's even a GUI if you want to compile CM7
http://www.omgubuntu.co.uk/2012/05/gui-cyanogenmod-compiler-tool-for-ubuntu
Click to expand...
Click to collapse
____________________________________
Cheers bro!!! What's a GUI ???
Sent from my GT-S5830 using xda premium
Sikorsky96 said:
____________________________________
Cheers bro!!! What's a GUI ???
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Graphical User Interface!
In short, it is a program which has Menus and stuff and more beginner friendly interface for using it, instead of typing in codes to get the work done..
Sent from my GT-S5830 using Tapatalk 2
galaxyace152 said:
Graphical User Interface!
In short, it is a program which has Menus and stuff and more beginner friendly interface for using it, instead of typing in codes to get the work done..
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
________________
Cheers brov!!! Coding feels Better though enit
Sent from my GT-S5830 using xda premium
Sikorsky96 said:
________________
Cheers brov!!! Coding feels Better though enit
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Errr... Coding is different from compiling. I code Android Apps. Compiling is just doing a git pull and modding some files.
If you want to properly compile it, use Git and grab sources from the Cyanogenmod repo from CLI.
Btw... I highly recommended you use Linux to compile it on. Use debian or Ubuntu.
Sent from my GT-S5830 using Tapatalk 2
NathanBookham said:
Errr... Coding is different from compiling. I code Android Apps. Compiling is just doing a git pull and modding some files.
If you want to properly compile it, use Git and grab sources from the Cyanogenmod repo from CLI.
Btw... I highly recommended you use Linux to compile it on. Use debian or Ubuntu.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
You know,it is really easy to make a simple app which just pulls tweet and stuff, don't want to go into details...If coding is different from compiling(to an extent it is) then maybe you could explain how you could debug certain errors and also add new modifications..
Sent from the year 3000 using a SGA where sheep's are not present.
NathanBookham said:
Errr... Coding is different from compiling. I code Android Apps. Compiling is just doing a git pull and modding some files.
If you want to properly compile it, use Git and grab sources from the Cyanogenmod repo from CLI.
Btw... I highly recommended you use Linux to compile it on. Use debian or Ubuntu.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
______________________________
Sent From A Potato
side_effect said:
Sent From A Potato
Click to expand...
Click to collapse
expensive potato you got there (for a potato, you know ...)
Prawesome said:
You know,it is really easy to make a simple app which just pulls tweet and stuff, don't want to go into details...If coding is different from compiling(to an extent it is) then maybe you could explain how you could debug certain errors and also add new modifications..
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
coding is write from zero......

[Q] please help with linux

hey guys having a problem with ubuntu and android SDK,,, when i try to open sdk in terminal it comes up with permission denied, and when i try to open android it doesnt open in terminal and doesnt ask to,, is there anything that i need to installl??? it works perfect on my laptop but wont work on my desktop???
Do you have your Java up to date?
Sent from my GT-S5830 using Tapatalk 2
Time to get a Windows based PC or Notebook mate. Or at least a Mac OS X based PC or Notebook.
_______________________
The ultimate HD experience
& James Bonds likes Xperia™ T
CallMeLewis said:
Time to get a Windows based PC or Notebook mate. Or at least a Mac OS X based PC or Notebook.
_______________________
The ultimate HD experience
& James Bonds likes Xperia™ T
Click to expand...
Click to collapse
Thanks a lot! That was very helpful!
Sent from my GT-S5830 using Tapatalk 2
galaxyace152 said:
Do you have your Java up to date?
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
yes java is upto date,, i have 6 and 7 installed
CallMeLewis said:
Time to get a Windows based PC or Notebook mate. Or at least a Mac OS X based PC or Notebook.
_______________________
The ultimate HD experience
& James Bonds likes Xperia™ T
Click to expand...
Click to collapse
lol well i have windows and linux dual booting on both laptop and desktop lol
Run as sudo
If it still doesn't work,then
Menu>Users and Groups>assign your account administrator and root permissions.
Might not be completely accurate as I am not using Ubuntu right now
Insert witty sentence here
---------- Post added at 02:14 PM ---------- Previous post was at 02:13 PM ----------
If it still doesn't work,then setup SDK all over again
Insert witty sentence here
winxuser said:
lol well i have windows and linux dual booting on both laptop and desktop lol
Click to expand...
Click to collapse
:sly:
You could've just boot your Windows and run Android SDK.
_______________________
The ultimate HD experience
& James Bonds likes Xperia™ T
Lol I haven't set SDK up yet that's what I'm trying to do... I can't get the android script to run in terminal it only opens in text editor.... I think something isn't installed properly
Sent from my GT-S5830 using xda app-developers app
CallMeLewis said:
:sly:
You could've just boot your Windows and run Android SDK.
_______________________
The ultimate HD experience
& James Bonds likes Xperia™ T
Click to expand...
Click to collapse
Lol does no good for Linux if I do it in windows rofl
Sent from my GT-S5830 using xda app-developers app
winxuser said:
Lol I haven't set SDK up yet that's what I'm trying to do... I can't get the android script to run in terminal it only opens in text editor.... I think something isn't installed properly
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
There is no script ...Just download SDK from the site ,extract it and run it
Insert witty sentence here
Prawesome said:
There is no script ...Just download SDK from the site ,extract it and run it
Insert witty sentence here
Click to expand...
Click to collapse
That's the problem.. it won't run.
Sent from my GT-S5830 using xda app-developers app
winxuser said:
That's the problem.. it won't run.
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Try Make it on sudo
do you make a executable your script?
try it:
sudo chmod +x /script/route
tarkin88 said:
Try Make it on sudo
do you make a executable your script?
try it:
sudo chmod +x /script/route
Click to expand...
Click to collapse
Yeah I have tried sudo android SDK. But comes up with some error.... not sure what it is.. its 2:45 am here my brain is still asleep lol
Sent from my GT-S5830 using xda app-developers app
winxuser said:
Yeah I have tried sudo android SDK. But comes up with some error.... not sure what it is.. its 2:45 am here my brain is still asleep lol
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Oh.. You're from Australia! I had been to Perth before. It's really an awesome place. Very relax and beautiful. Which place do you live in?
_____________________
The ultimate HD experience
& James Bonds likes it™
CallMeLewis said:
Oh.. You're from Australia! I had been to Perth before. It's really an awesome place. Very relax and beautiful. Which place do you live in?
_____________________
The ultimate HD experience
& James Bonds likes it™
Click to expand...
Click to collapse
ha yeah im in australia,, i live in queensland,, yeah its a nice place but also depending on where u go,,, ....
im reinstalling ubuntu to see if it was a dodgy install last time
ok got it fixed,, now my damn stupid Fmkeojwsfiohra;gkja; wireless usb stick doesnt keep connected
U trying to run it on a laptop right?
.
.
.
.
Is your device one of those old ones that you had to put petrol in and use the Handel to start it up?
.
.
.
.
By the way..."good onya mate"
What on earth does this exactly mean
Sent from my GT-S5830 using xda premium
no im actually trying to do it on a desktop,, and my laptop get really hot and slow while downloading sources LOL

Drivers for Linux

HI,
Me being me, I forgot to look into drivers for the RAZR I before wiping my whole system and booting ubuntu yesterday, and now, I can't find any and I need to transfer files so, can someone help me?
Chri$b0b2005 said:
HI,
Me being me, I forgot to look into drivers for the RAZR I before wiping my whole system and booting ubuntu yesterday, and now, I can't find any and I need to transfer files so, can someone help me?
Click to expand...
Click to collapse
I found a line of code that installs an app to transfer files from ubuntu to android, if anyone else needs to make that transfer here is the line
sudo apt-get -y install mtp-tools mtpfs gmtp
This will install a ubuntu app named gMTP and when you open that, you just attatch your usb with your phone, and click connect
Edit: after looking properly rather than posting to xda like a plank, I also found this lovely app incase anyone needs it
http://forum.xda-developers.com/showthread.php?t=2297888
Chri$b0b2005 said:
I found a line of code that installs an app to transfer files from ubuntu to android, if anyone else needs to make that transfer here is the line
sudo apt-get -y install mtp-tools mtpfs gmtp
This will install a ubuntu app named gMTP and when you open that, you just attatch your usb with your phone, and click connect
Edit: after looking properly rather than posting to xda like a plank, I also found this lovely app incase anyone needs it
http://forum.xda-developers.com/showthread.php?t=2297888
Click to expand...
Click to collapse
Cool man. Did you manage to get it up and running? x86 linux?
ryan a said:
Cool man. Did you manage to get it up and running? x86 linux?
Click to expand...
Click to collapse
GMTP? Yes it works fine but its not like using wmp to transfer music or anything, you have to completely order your folders from scratch and if you have ocd Like Me that can take a while... It works brilliantly for file transfers but you can only Mount internal or SD one at a time which may be a little annoying otherwise its the best thing for Linux
Sent from my RAZR I XT890 using XDA premium
I tried the app I linked and I couldn't make that work
Sent from my RAZR I XT890 using XDA premium
Chri$b0b2005 said:
I tried the app I linked and I couldn't make that work
Sent from my RAZR I XT890 using XDA premium
Click to expand...
Click to collapse
You made it sound like you got ubuntu running on our phone lol :laugh: :good:
totex71 said:
You made it sound like you got ubuntu running on our phone lol :laugh: :good:
Click to expand...
Click to collapse
I'm talking about transferring files from Linux to android... I was pretty clear about that at the beginning of the thread
Sent from my RAZR I XT890 using XDA premium

[TOOL] Xposed Module project Auto-Setup for Eclipse

This tool allows you to input the desired project name, package name, app name, minimum API levels and Class name and it will generate an Eclipse project for making an Xposed Module, it will set up dependencies for you. It will then create the project and you can imprt to eclipse. It is written in Java for cross-platform compatibility and anyway if you are making Xposed Modules, then surely you have Java installed....
I DID NOT MAKE XPOSED, CREDITS TO @rovo89 FOR XPOSED. I SIMPLY MADE THIS TOOL TO HELP DEVS
Video Tutorial
Features
Automatically add the Xposed API to build path
Automatically add meta tags to the Manifest
Automatically create packages and classes
Automatically create xposed_init file
Planned Featues
You tell me!
Changelog
Version 2.1.1 (26/4/14)
VERY CRUCIAL BUG FIXES
Version 2.1 (13/4/14)
Choose output directory
Add in Xposed Description
Checks if your input is valid
Version 2.0 (11/4/14)
Complete rewirte, much faster and smaller file (7kb, was 6mb)
One setup screen instead of 7!
Should be faster
Native UI
Version 1.0 (10/4/14)
Initial release
JAR is attached to this post
Hope this helps you, please press thanks. If you have issues or suggestions, leave a reply
​
Version 2.0 is up. It appears it doesn't work on Linux i will fix this later
hamzahrmalik said:
Version 2.0 is up. It appears it doesn't work on Linux i will fix this later
Click to expand...
Click to collapse
Hamza how to setup
Mohhamad Rehan said:
Hamza how to setup
Click to expand...
Click to collapse
On Linux?
Sent from my iPod touch using Tapatalk
hamzahrmalik said:
On Linux?
Sent from my iPod touch using Tapatalk
Click to expand...
Click to collapse
Haa bHai yes
It doesn't work on Linux because Linux has different file paths
Sent from my iPod touch using Tapatalk
Mohhamad Rehan said:
Haa bHai yes
Click to expand...
Click to collapse
Maybe tomorrow
Sent from my iPod touch using Tapatalk
hamzahrmalik said:
Maybe tomorrow
Sent from my iPod touch using Tapatalk
Click to expand...
Click to collapse
no bro dont do that tommorow tommorow 14.04 is going to be released so wait till day after tommow
Mohhamad Rehan said:
no bro dont do that tommorow tommorow 14.04 is going to be released so wait till day after tommow
Click to expand...
Click to collapse
What?!
Sent from my iPod touch using Tapatalk
Ubuntu 14.04 is going to be released so wait
Mohhamad Rehan said:
Ubuntu 14.04 is going to be released so wait
Click to expand...
Click to collapse
It won't make any difference mate
Sent from my iPod touch using Tapatalk
bhai where do u stay
Mohhamad Rehan said:
bhai where do u stay
Click to expand...
Click to collapse
Why are we discussing this on a forum? I don't know you...England
Sent from my iPod touch using Tapatalk
Any new hamza on the Linux support
Mohhamad Rehan said:
Any new hamza on the Linux support
Click to expand...
Click to collapse
not yet sorry. Maybe later today or tomorrow
Thanks OP for this! Was hoping it was a plugin instead. but this will work for now I already sort of did something like this, but just kept everything as "default" and would change the names after importing to eclipse. Would really like an eclipse plugin that would automatically create the project inside eclipse. I was planning on making one just havent gotten to it. I like this jar tho
elesbb said:
Thanks OP for this! Was hoping it was a plugin instead. but this will work for now I already sort of did something like this, but just kept everything as "default" and would change the names after importing to eclipse. Would really like an eclipse plugin that would automatically create the project inside eclipse. I was planning on making one just havent gotten to it. I like this jar tho
Click to expand...
Click to collapse
Thanks for feedback had never thought of eclipse plugin!
Sent from my iPod touch using Tapatalk
Hamza done or not yet waiting for Linux compatibilty
Mohhamad Rehan said:
Hamza done or not yet waiting for Linux compatibilty
Click to expand...
Click to collapse
I installed Ubuntu 14.04 and i can't get Eclipse working on it, so I'm a bit stuck. I'm really sorry but you might have to wait until the weekend.
OK do this download eclipse manually and for example eclipse Kepler and configure install the ADT bundle from zip not the link may be it would work. I was having the same problem when I upgraded too
Sent from my Nexus 5 using XDA Premium 4 mobile app

Categories

Resources