yashsingh1/xdaforums huggingface dataset:
[XDA-University] Red Devil:
Thank you all for your kind comments. Thanks [MENTION=5044750]v_superuser[/MENTION] for help with the thread! Now cause I own such a legacy device , I dont have that much going on with my primary device. I just have only one request to all the guys who learned something from this guide, please try and share whatever new you learn with the users of this website. So, you

MUST

create at least one other guide to help others to learn more. It shouldn't be ripped off someone elses. Let it be something original or something based on someone else's just written in a better way! Imagine how many people will learn if each of you create one guide.
[XDA-University] v_superuser:
That actually is how vast xda is. :) Too many noobs to devs and each one helping another person. :) :D :laugh:

EDIT - My guides in my signature. ;)
[XDA-University] vishal_android freak:
[MENTION=4918174]Red Devil[/MENTION] how can i forget you bro. You were the one who inspired me to start with source code dev at first. And the work shows everything. Still lots to learn ahead. Cannot forget this thread which at first was a bouncer :P later got to know how much awesomeness was behind this. Thanks a lot and yes we will keep contributing no matter what device we use. :)
[XDA-University] Red Devil:
Bumping

Sent from my XT1052
[XDA-University] thewisenerd:
Since you referenced from CM11, and then synced AOSP, you are likely to have downloaded stuff that AOSP had, but CM not. I would surely not recommend you to try fixing the current AOSP folder, as deleting that folder, and creating a new folder, repo init'ing would be the best option in this case, IMO.

In case you had "moved" the sources somewhere else, you could have edited every single alternates file, as I've written here, but that's not possible as you have completely deleted sources.

The repo folder would be of no use anyways, as it will miss a lot of objects, and creating a new CM11 repo too wouldn't be feasible due to bad HEADs and all, so the best option should be to re-initialize.
[XDA-University] HTCDreamOn:
Thanks alot, I just deleted .repo and reinitialised like you said. I assume that once you've run repo with the --reference command, you can't edit the alternates file to point to a different repo entirely (e.g AOKP instead of CM11)? Sorry to bombard you with Qs, but I have one more: of course as my luck would have it, I finished syncing just as 4.4.4 was released yesterday, so how do I update my current source? Is it simply a matter of updating the manifest xml? Thanks for you help :)
[XDA-University] thewisenerd:
Your first question, yes, it can be done, provided the repo exists. If there's an alternates file, git traverses to that folder, checks if it is a valid repository, and if yes, tries to get all common commits from there. If not falls back, and downloads from remote repository.

I've explained dealing with source folders moving here, which would help with different ROM's sources too :)

As far as updating current sources, repo first checks if the manifest is up to date, and if not ,updates it. So, you don't have to worry about editing anything :)

As long as the ROM maintainers have pushed to their manifest to use the "4.4.4_r1" tag, you don't have to care about anything :p
[XDA-University] HTCDreamOn:
[MENTION=4869275]thewisenerd[/MENTION] thanks for the help, I ran a repo sync but I don't think it updated like you said because I synced the AOSP source straight from Google, so I initialised the 4.4.3 branch. Will I have to reinitialize with the latest branch, or if I simply edit the manifests xml to pull from the latest 4.4.4 tag will this work instead?
[XDA-University] thewisenerd:
Repo init again, but this time, use the android-4.4_r1 branch, instead of manually editing the default.xml... That seems to be the correct way for me :p

P.S. Assuming you are not using android.googlesource.com, here's the 4.4.4_r1 manifest: https://github.com/android/platform_manifest/tree/android-4.4_r1
[XDA-University] HTCDreamOn:
You're a lifesaver, thanks :) it worked great, all up to date and no conflicts or anything.
[XDA-University] letmedanz:
Excellent tutorial [MENTION=229925]reddevil[/MENTION] and fantastic support from everyone..

a helpful community is usually a successful community :)
[XDA-University] dvm84:
Hey [MENTION=4918174]Red Devil[/MENTION],

I have seen while syncing rom it fetches all the tags in the repository hence fetches more data is there anything we could do so that it doesn't fetch those tags

(Or am I wrong?)

Thank you for the awesome thread and spreading your knowledge :)
[XDA-University] alwaysadeel:
Use repo sync -cq -j8
[XDA-University] Slimegod:
I'm having issues for months with trying to figure this out, figured I'll ask cause I'm at a hiccup point. I'm at the build stage of building my ROM. Installed repo and synced it. I'm using patchrom of course, MIUI kitkat. Now to my knowledge I'm pretty sure the source codes are in my android folder. My question is what command do I type to build the ROM that my port will be in so I'll be able to flash it? Also, when it comes to patchrom from what I've read it's best to use a base that's similar to the actual port your doing. Where I get confused is with makefile. I have to copy certain things to my stock.zip ROM but if I'm not mistaken there will be 2 makefiles, one for the stock.zip and the other for the actual source codes to where I've just downloaded using repo init -u. I'm lost as to where those makefiles get copied if the stock ROM is in a zip file. Hoping someone can help with some insight.
[XDA-University] arvinquilao:
I have downloaded the cm11 source and I'm attempting to repo sync using a reference flag to try the other branches. However, I cannot seem to find the alternates file in the .git folders. Should I create these manually for all project folders? I tried running repo sync with reference and it seems to be downloading the entire source again, that's when I learned about the missing alternates file.
[XDA-University] thewisenerd:
sorry for the late reply. Could you post your exact commands which you used (and output, if any)? That might hold the answer to your question. Do know that paths are highly sensitive. Small mistakes can cause huge problems.
[XDA-University] arvinquilao:
Already solved, thanks for the reply though. Indeed, it was a path issue. :)
[XDA-University] DualJoe:
I have fully synced the CM11 tree with 'repo sync'. Now i just want to update '/bootable/recovery'. When i go into that folder (that does have a .git subfolder) and enter 'git pull' it shows this error:

fatal: No remote repository specified. Please, specify either a URL or a
remote name from which new revisions should be fetched.

How can i update just a single folder/project?
[XDA-University] vishal_android freak:
Go to your default.xml which will be in /android or /manifest and check for "revision" word in the line of bootable/recovery. It should be like this

<project name="CyanogenMod/android_bootable_recovery" path="bootable/recovery" remote="cm" revision="cm-11.0" />

Now in this example, remote is "cm". So cd into your bootable/recovery folder and do

git pull cm cm-11.0

I have added cm-11.0 after remote name to tell git that only changes which are specific to cm-11.0 branch should be pulled. You can change " cm-11.0" with the branch you are building for. :)
[XDA-University] N.K.V.:
local manifest.

i wanted to ask that if had deleted darwin and all the other unwanted stuff via adding comands in local manifest, do i have to keep that code in my local manifest all the time..?

or i can just add the code, repo sync once, and then delete that local manifest to start with new one.

can i do that..??:confused:
[XDA-University] fizbanrapper:
If you want to keep the darwins out, you're always going to have to have that code present in an xml file.

If you would prefer to keep your deleted repos separate from your added repos, you can always put them in different xml files in that same directory.

I've been doing it this way for a while. One file is called takeoutthetrash.xml and then the other is titled the usual local_manifest.xml. They just both have to be in the same local_manifests folder.
[XDA-University] N.K.V.:
i understand by your post that repo tool will read all the .xml files in the same directory and act according to it.

is that right..??

because i thought it can read only manifest and local manifest only.
[XDA-University] fizbanrapper:
Nope. It will read any properly formatted xml doc in the local_manifest directory. You could name it michaelbublewillgrowmantitssomeday.xml. and it won't know the c difference.
[XDA-University] gururoop:
I synced my beanstalk repo using --reference tag pointing to slimkat source which was already on my hard drive. Now, if I want to delete the slimkat source and convert beanstalk source into a standalone repository, is it possible?
[XDA-University] dhrumangajjar:
Okay, well said about --mirror

One question though, can i use local_manifest with mirror??

And will mirror will sync only specified branch that I've defined in -b?? Let us say -b cm12, i dont want any other branches...

And i dont want any darwin repos also...

Will this do??
[XDA-University] thewisenerd:
the --mirror option creates an exact replica of the given manifest, iirc. tbh, I haven't tried messing around with local_manifests; but I could answer your second question.

Yes, the --mirror works exactly the same way normal repo sync does, and syncs the branches, but instead of checking out files, it creates a working git directory (similar to the directory you see when you open any .git folder), and you can --reference to the --mirror site later.

if you are planning to actually repo sync from the --mirror, then, you will need to modify the manifest to point to your local sources. To save myself from all the mess, i just do a --mirror sync, and every following ROM source, I use --reference to point to my local mirror (and periodically keep updating the --mirror (by repo sync'ing in the mirror dir) too ;) )

i would want to see someone messing around with both local_manifests && --mirror :fingers-crossed:
[XDA-University] dhrumangajjar:
Actually, i have a backup PC at home. Which cant compile obviously...

So thought of creating a mirror on PC and than sync them on the build laptop via SSH. And also a friend who is asking for sources for a long time.. That I'll be able to share...

And yes I'll try to play with local_manifest and mirror.

Official android dev guide has the instructions to sync from mirrored tree...

Another question, i guess the repo synced from mirror, cant be directly synced with cm repo. That repo has to be synced through mirrored... Right?

Update:

Local_Manifest works with --mirror
[XDA-University] TheStrix:
CAF kernel for MSM8226

Hey friends, I want to sync CAF kernel for MSM8226 chipset. Can anyone say me the correct repo and branch?

From here.
[Galaxy Note II Q&A, Help & Troubleshooting] 2 Be:
Hey there,

today my N7100 surprised me by anouncing that there is a firmware update available. Must be that 4.2(.2). [edit: no, unfortunately it's just a security update] In all my years with my i9000 I never OTA updated because I was always on custom ROMs and like lightyears ahead of the official update cycle, but now I'm uncertain.

Of cause I want to keep root / reroot at least for AFWall and especially the 240dpi is very important to me... will OTA override those settings, going along with those as well the Xposed settings? Any experiences yet?

And if, will rooting and Triangle away work like before on the new version as well? I am as the title says on the stock 4.12 with root and counter reset according to this manual: http://xdaforums.com/showthread.php?t=1896696

On my SGS I'd just give it a shot, but the Note is just like a month old (so me still a bit nooby) and at the moment I don't need&want to mess around with it too much - Especially because all this counter stuff is bugging me ^^

Any advices? I know that's probably not really helpful, but probably someone has the same concerns too and just wants to share his thoughts too ;)

Guess unrooting before OTA updating would be the safest way anyway.. wouldn't it be? ... Kinda have a lack of motivation here ^^
[Galaxy Note II Q&A, Help & Troubleshooting] hendog4385:
I think that is just a security update. There is still no word on 4.2.2 yet
[Galaxy Note II Q&A, Help & Troubleshooting] 2 Be:
Good point, found this: http://www.sammobile.com/2013/06/18...ty-update-galaxy-note-ii-still-android-4-1-2/

Questions still persist though..

Adjusted the thread title and initial post to reduce confusion.
[Galaxy Note II Q&A, Help & Troubleshooting] dr.ketan:
Yeah previous 4.1.2 rooting method will work latest too.

OR simply flash prerooted ROM, no need to reset counter/Root.

Read Prerooted ROM in my signature, i have just posted latest XXDMF2
[Galaxy Note II Q&A, Help & Troubleshooting] 2 Be:
Awesome! Thanks! (will give it a shot as soon as I have a bit mroe time and want to reboot into WIndows. A shame that there's no proper - as easy to use as ODIN - alternative for Ubuntu)

Is this usual, that flashing stock with some extra apks like the su stuff doesn't increase the counter? Or is it that just flashing PDA doesn't affect it? Am curious..
[Galaxy Note II Q&A, Help & Troubleshooting] dr.ketan:
Samsung bootloader only check custom recovery /kernel for flash counter setting. So it can't detect these applications. On prerooted rom everything remains as it is except pushing su +super user +busybox.
[Galaxy Note II Q&A, Help & Troubleshooting] anewman:
XXDMF2 is probably the same as XXDME2 except they could only be bothered to work on/release that geographic variation last?
[Galaxy Note II Q&A, Help & Troubleshooting] 2 Be:
That's great :) thanks. So basically I could as well push some more apps with my installation by following your, how I find very clear and nice to follow, Tutorial in your Pre-Rooted-Thread and varying the step where the superuser.apk is being added from:

cp Superuser.apk temp/app/Superuser.apk
chmod 0644 temp/app/Superuser.apk

to

cp Superuser.apk temp/app/Superuser.apk
chmod 0644 temp/app/Superuser.apk

cp myFavoriteApp.apk temp/app/myFavoriteApp.apk
chmod 0644 temp/app/myFavoriteApp.apk

Right? So this way I could have a Stock ROM that comes with my usual App Setups by default when flashing and still leaves my Counter untouched..That's just wonderful, spares a lot of time after wiping..since in this case there is no wipe that's not needed here I know, but having a clean phone without having to install everything manually again would be nice anyway.

Wondering what weird things would happen if I tried to install apk's that are already installed.. will they be skipped..guess so, I mean, superSU is installed as well here already.. ?

Thanks for teaching me ;) A pleasure to learn :)
[Galaxy Note II Q&A, Help & Troubleshooting] dr.ketan:
When you push applications to rom that install to system rom of your device and that is limited space, so no good idea to push multiple applications.
[Galaxy Note II Q&A, Help & Troubleshooting] 2 Be:
Ah I see, sounds reasonable... thanks for clearing that up!
[Galaxy Note II Q&A, Help & Troubleshooting] creonx:
Hey guys, im on the same state like the op.

i have stock rom, but rooted with odin and on TWRP recovery, busybox, superuser and triangleaway.

can i easily run this update without issues or should i completely go back to stock?

thanks, greetz, hope for a fast answer :|
[Galaxy Note II Q&A, Help & Troubleshooting] creonx:
Done! Without problems. but iam lose root, busybox and su :(
[Galaxy Note II Q&A, Help & Troubleshooting] dalanik:
I updated yesterday, rooted stock 4.1.2 with xposed. Flashed new non-rooted (original) ROM from SAM mobile.

upon flashing, I had to

1) root agiain

2) install SU again from apk,

3) run SU and it updated binary

4) run Triangle away and reset counter

5) run Xposed framework and press "install", reboot

6) run busybox and let it auto-install

Then I was able to manualy change sounds for keypress/press and bootanimation.

All well.

D,
[Galaxy Note II Q&A, Help & Troubleshooting] dr.ketan:
Just flashing stock prerooted ROM, you can skip first 4 steps
[MDA II, XDA II, 2060 General] dewild1:
I have had to hard boot etc.. I am trying to get BT voice dial to work on any phone, not just the MPX 300. XDAII, XDAIIs, XDA, XDAIIi ETC..

I just need SIMPLE step by step instructions to convert from MS BT stack to the newest 3500 or 1.606 widcomm stack.

I need these step by step for the XDAII.. not the s cuz it will cause a hard reset.

How do I un-enable the MS BT?

Where is the widcomm BT inital set up files?

Where are the latest patch?

How do I do it?
[MDA II, XDA II, 2060 General] Rudegar:
have you read these posts ?

http://xdaforums.com/viewtopic.php?t=11375

http://xdaforums.com/viewtopic.php?t=11729

http://xdaforums.com/viewtopic.php?t=15563
[MDA II, XDA II, 2060 General] adad:
Although I had a few hard reset already. I will keep trying to find the stack that make the bluetooth headset profile works :?
[Samsung Galaxy Nexus] Kustaa:
Hi everyone, I'm recently owner of a Galaxy Nexus...and I'm having some troubles with battery/usb, and battery status...I've already look at the threads about usb problems...but, what I didn't found is this:

My battery history is not right...It didn't show me the apps consumption...or it shows it, but like freezed in time...The time of use its freezed too...It acts really strange. I did factory reset...but nothing...I'm totally stock.

Any idea?

Besides, when I plug the charger, it takes about 30 sec to show the bolt icon on notification's battery icon.
[Samsung Galaxy Nexus] Liskrig:
The Battery/App Stats aren't displayed in real-time, you would have to manually refresh them to see the updated data.

Are you using an official Samsung battery?

It could be the charger you are using, I've actually been able to drain my battery when it's plugged into a live charger. Anything below 1 Amp output seems to delay the charging process significantly.
[Samsung Galaxy Nexus] Kustaa:
Yes, official battery and charger...I press on refresh but nothing happens...so I've tried to plug/unplug severaltimes..sometimes at PC's usb, and the history did reset...but when I think its working, I press on refresh and nothing....It keeps showing 3 secs of battery usage for example
[Samsung Galaxy Nexus] Liskrig:
I would suggest rooting (if you're not already) and attempting to wipe the battery stats manually. There could be something stuck in that file that is preventing it from updating when required to.

With a root file explorer, go to Data/System and remove "batterystats".

Other than that, I'm stumped. I've flashed hundreds of ROMs, and wiped my phone hundreds more times and I've never come across this issue. I'm using the Toro variant but I doubt that has anything to do with it.

Let me know if that worked though, I'll keep looking around for a solution.
[Samsung Galaxy Nexus] Kustaa:
[MENTION=3817776]Liskrig[/MENTION] thanks for your help...I finally change it for another nexus, this one works properly. :highfive:.

I think it was all related to micro usb issues...
[One (M7) Q&A, Help & Troubleshooting] dsgust:
I installed revolution HD 10.3 today. And after installing some applications I did a reboot and now it's stuck in a boot loop.

I have tried to go into CWM recovery, but it only starts to load and reboots directly (Shows the background and version number of CWM). Have tried to flash the CWM recovery again in fastboot but the same result.

Even tried to flash the TWRP recovery, but the same result there. It shows the TWRP logo for 1 sec then it gets rebooted.

Someone have any idees on what I could try to fix this?
[One (M7) Q&A, Help & Troubleshooting] hardstuffmuc:
In fastboot mode, do these commands:

fastboot erase cache

fastboot flash recovery recovery.img (*recovery.img* according to the name of the recovery you want to flash)

fastboot erase cache

That should work
[One (M7) Q&A, Help & Troubleshooting] dsgust:
Thanks for your help! Now it boots fine again
[HTC Sensation] redjoe100:
Hi there, I have CM10 running on my desire. For some reason the camera has stopped working...the app opens but the screen is black. if I switch to panorama it seems fine. Other camera apps like snapchat are fine. can anyone help? Thanks
[HTC Sensation] DarkLP:
Well, this is sensation forum, so you'll have better chance of fixing it if you post on desire forums.
[HTC Sensation] redjoe100:
Dam! I mean sensation! I have a sensation, sorry!
[HTC Sensation] AndroidSupporter318:
Try clearing data and clearing cache for camera. (Gallery app)

Sent from my HTC Sensation
[HTC Sensation] redjoe100:
That worked! thank you
[Android Q&A, Help & Troubleshooting] WisdomSky:
Good day sir,

I recently(2months) have started diving into Android Dev't and Android hacking using shell(w/ root permission)

I've been studying (how to's) by just lurking here in XDA-Developer...

and I also made a couple of Packages that requires Root access... I then share them to my group members in facebook(A group for our phone's model)...

But I realized that I should also have shared them to XDA-Developer in return for the knowledge I got here...

I have now successfully registered an account...

And when I try to create a thread in a specific section where this Package should belong, I just can't do it for I need to have atleast 10 posts...Y_Y
[Android Q&A, Help & Troubleshooting] Deleted member 4142310:
I understand that dint like it, but this limit has his reasons. Just answer some questions of other people who aren't as far as you.
[Android Q&A, Help & Troubleshooting] WisdomSky:
hahaha yeah...

but i havr no choice now...

It is still worth-fun to answer other's unanswered questions...

it's what I'm doing now....

in this way, I am not only getting more posts, but also helped others... XD
[Android Q&A, Help & Troubleshooting] lolsky:
It's just protect from people like me ;_;
[Android Q&A, Help & Troubleshooting] ositandroid:
I too have the same problem.
[Android Q&A, Help & Troubleshooting] valiro21:
Is there any android app that can compile and especially debug C/C++ code? Thanks in advice

I have a Nexus 7 16 GB Wi-Fi if that helps and I also used C4droid but there is no debugger
[Android Q&A, Help & Troubleshooting] albertjk3:
Normally what people do is to use a simulator, it is much easier as you can debug and run on computer instead of the small phone.
[Android Q&A, Help & Troubleshooting] valiro21:
Ye I suppose. But I don't want to buy a laptop for work and I work just great on nexus and it would be awesome if there is. I heard that coderun.com has a debugger but it doesn't have C/C++.
[Android Q&A, Help & Troubleshooting] devwithzachary:
Check out my project, just load Linux within Android and then you have access to your normal C/C++ compilers and tools :)
[Android Q&A, Help & Troubleshooting] WisdomSky:
you can use DosBox Turbo.... its a msdos emulator...

you can run the Turbo C++ inside it...

I've been using it until now..

it just like ur using a pc... XD
[Android Q&A, Help & Troubleshooting] solo_:
hi there,

I am using wildfire s and have a problem about recovery. I had rooted a phone and tried to install stock rom but failed something and now cannot update the new custom rom versions or stock rom anymore.

The problem is; when I entered HBOOT menu, I see *** RELOCKED *** at top of the screen

MARVEL PVT SHIP S-ON RL

HBOOT- 1.09.099

When I have tried to use RECOVERY option it has blank screen

How i can solve the problem?
[Sony Xperia S, Acro S, Ion] drzel:
Flawless so far
[Sony Xperia S, Acro S, Ion] GaboWinter:
There are discussion threads on the general section for this kind of questions, please use it.

Thread closed...
[Galaxy S 4 Q&A, Help & Troubleshooting] giospecial:
Please Holo lockscreen flashable version
[Galaxy S 4 Q&A, Help & Troubleshooting] rlorange:
It already exists look in JB f domination mods section
[Galaxy S 4 Q&A, Help & Troubleshooting] SV3NNER:
http://xdaforums.com/showthread.php?t=2304251
[Galaxy S 4 Q&A, Help & Troubleshooting] giospecial:
Dosen't work on mf8
[Galaxy S 4 Q&A, Help & Troubleshooting] adrian3:
http://bit.ly/12nDY90