yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] ironjon:
Hi

I got a few days trying to apply more governors in the kernel but I'm unable

I take some commits from bananacakes github with no results, I have begin the kernel from 0 without any mods without results

:( :(

I copied /drivers/cpufreq folder from bananacakes sources without result

I don'know what can I do

Any idea?

Thanks
[Desire Android Development] marius.a:
did you register it in CPUfreq core? "cpufreq_register_governor"
[Desire Android Development] Alex-V:
Did you enabled the govs in the menu..? Its not only the patch
[Desire Android Development] ironjon:
Aaaahhh yes Alex

:facepalm: tipical n00b error

Sorry but I was turning crazy :rolleyes:

Tapatalking
[Desire Android Development] Droidzone:
Just a tip for next time...

If you see a governor addition as a commit in somebody's github, you can just download the whole commit and apply it as a patch. ;)
[Desire Android Development] Alex-V:
nice to hear that you have it now :)

with kind regards
[Desire Android Development] agismaniax:
i try to compile cm-kernel with kmen and make flashable zip.

but i can't install that zip with 4ext. the error like in attachment.

i compare updater-script with other kernel zip, it's almost the same.

i don't know why i can't flash my own kernel. :confused:

EDIT: it's work now... i use koush's anykernel from git.tiamat-dev.com
[Desire Android Development] Droidzone:
In case you didnt find out the reason, each updater binary has specific mount syntax, use the appropriate one
[Desire Android Development] amraving:
Hi droidzone. I have a question which I've posted in general Q's but not got a response, after some searching I found this thread you seem to be very knowledgeable in what I want to ask.

When you enter fast boot (the white screen which display s-on etc) is it possible to add to the menu options eg

Fastboot

Recovery

Wipe data

Extra item?

I was wondering if you know about Tue menu structure and also how the colours are assigned to it?

I've got a really good idea how to use for a security layer in fastboot to protect your phone but I don't know how to view the code!

Cheers droidzone
[Desire Android Development] Rishik999:
Hello OP

Please check ur 1st post ..all the images have breaked ..Please please fix them !

Thanks
[Desire Android Development] Droidzone:
Images arent necessary to illustrate the description. Anyway, broken links have been deleted. Thanks.
[Desire Android Development] Mysteryagr:
Can someone help me to understand and fix this error:

Thanks in advance
[Desire Android Development] HarshOne:
How to apply patch to the kernel/kernel source of older API to use it for newer API Rom building?
[Desire Android Development] HarshOne:
My device repositories are not available on github, But I got device tree and vendor blobs by making changes in similar device repo. That reference device's kernel's lineageos_defconfig is situated in htc msm8974 kernel repo. So how can I get lineageos_defconfig for my device, and which other my device related kernel files(.dtsi or any other) I have to push in htc msm8974 repo and get those files to make things ready for build?

Please help......
[HTC Desire S] sandrows:
As you all know the nightmare of the BIG contacts list that appears when you hit "Phone" on the home screen which is due to grabbing both, the Contacts and Facebook friends...

And it is just not so handy to disable Facebook sync at all because you want the pictures, the link between existing contacts and Facebook contacts..

And if you tried to disable the "Sync Contacts" feature from Facebook for HTC account... It works... but just till your next restart of the phone, if you switched it off and back on... Bamm!... the Tick for "Sync Contacts" is back on again and you will soon have the big long list again :S

So is there any script or something that runs on startup to force disable the "Sync Contacts" feature??

Tried to post it on the development section but I wasn't allowed because I'm a new member.. If anyone could post as a request, to develop the script if possible.. I think it will be the end of this nightmare..
[HTC Desire S] ben_pyett:
This is a question and therefore should be posted here in Q&A not Development section, that's why that rule is there....(thankfully).

If you only sync Facebook contacts where they exist in actual contacts...you don't such a big list to start with.

Or setup a favorite contacts group within your main contacts they will then appear first, along with the recently contacted people, so shouldn't be a problem. (ah I've just realised that this could well be a Sense 3.5 only feature....in which case time to unlock, root and flash some Sense 3.5 ROMS).

Plus the Phone is enabled for Smart dialing which permits you to whittle the contact list down in no time.
[HTC Desire S] sandrows:
The thing with flashing other roms is the arabic support, I read it is not fully supported. I still can't understand why. I bought my phone from egypt and it has excellent arabic support..

Can't they just extract whatever from it and integrate it to their roms!

Anyway, About syncing only with existing contacts... When I updated the Facebook app, I was left with two accounts in the "Accounts & Sync"

1. Facebook for HTC (Old): Sync contacts, Sync live feeds

2. Facebook (New): Sync contacts, (Sync live feeds is missing from this account so the old account is necessary for any widget with a Facebook stream)

The Facebook for HTC has the whole problem, It loses its settings on every startup. I tell it to Not sync contacts and use the other account to sync contacts because I can set it to sync only existing contacts. But nothing, everything is lost with the restart.
[HTC Desire S] ben_pyett:
I can't comment on Arabic support as I don't use it myself, it might be worth inquiring within the custom ROM thread that you consider using to see what the current users say, some might be using Arabic support.

When I was on Sense 2/3 (ie not 3.5) I only ever used the account type Facebook for HTC Sense and I avoided the un-secure HTTP facebook application, I used the secure HTTPS m.facebook.com website to access facebook.

In sense 3.5 there is only one Facebook account type and all is easier.
[Android Q&A, Help & Troubleshooting] jj_95nano:
Can you identify this widget? Please!:D... I've been searching for this lately. [It is not SiMi clock widget or circle battery widget...:(]
[Android Q&A, Help & Troubleshooting] SevereDeceit:
That is mClock using the 'Lost Exhibit' template By: R3D X
[Android Q&A, Help & Troubleshooting] jj_95nano:
Exactly what I was lookin for... Thanks! ;D
[Legend Q&A, Help & Troubleshooting] Nidzge:
I want to uninstall some stock apps that I got with latest Gingerbread 2.3.3 ROM. How to determine which apps I shouldn't uninstall? For example, can i uninstall Facebook apps, Gmail app, news & weather app...
[Legend Q&A, Help & Troubleshooting] ranger4740:
you will only be able to remove system apps if you are rooted.

If you are rooted and S-ON you can do it via recovery and adb, make sure you mount the system folder.

If your running a winblows PC then find android commander use it instead of adb, makes accessing the android phone so much better.

You can delete most of the stuff in the /system/app folder, depends on what you want to keep, I suggest you copy the files from the phone to local PC harddrive before you delete in case you need them back. Just make sure not to delete those file that look like system apps eg rosie.apk settings.apk etc....

If you are S-OFF then you can do it right from the phone

If you don't know what root, S-ON or S-OFF is then maybe not a good idea to play with the system stuff untill you learn all that there is to learn on the subject....
[Android Software/Hacking General [Developers Only]] Prawesome:
Hey guys,

I saw many threads here devoted to decompiling apks and converting dex to jar files,so don't tell me i didn't search.The reason i am making this is because none of them were noob-friendly and they required complex procedures.

This thread is about pulling an app from your phone,decompiling it and then converting the classes.dex file to .jar file.All steps are noob-friendly and if you are having any trouble which i know about,i will try to help you.

WHAT YOU NEED:

Java- http://www.java.com/en/download/index.jsp

Dex Translator- http://code.google.com/p/dex2jar/

JDGUI- http://java.decompiler.free.fr/?q=jdgui

An app backuper-https://market.android.com/details?id=de.android_telefonie.appmanager&hl=en

APK Multi tool- http://java.decompiler.free.fr/?q=jdgui

File Manager- https://market.android.com/details?id=com.metago.astro&hl=en

SD Card reader(Or any other thing with which you can transfer the content of a sd-card)

Tutorial has been made in the assumption that you already have JAVA,I don't think,you would need a tut for that even if you dont :p

TUTORIAL:

A)Getting the application into your PC:

1.Download the app you want to mod from market.

2.Backup the app using App Monster

3.Using a sd-card reader,copy the apk file you backed up,from the folder named 'AppMonster)

B)Decompiling the apk to get the imgs,xml and the smali files:

1.Extract apk multi tool to a folder of your choice

2.Copy the apk folder to the 'place-the-apk-here-for-modding'

3.Open APK Multi tool

4.Select Project,that is select your apk

5.Now decompile your apk,that is press number 9.

C)Converting the DEX file to JAR file

1.Move the dextranslator file to the C drive,not in any folder,just root of C Drive

2.Extract the zip

3.It will create a folder dex2jar.(bla bla bla)

4.Rename the folder to 123

5.Open the apk file with winrar or something

6.Copy the classes.dex file and paste it in folder 123

7.Run setclasspath file(this is necessary,the file just flashes after opening,this is okay,it has run,so don't go clicking on it a million times :p )

8.Open Windows Command Prompt

9.(> is used to tell that you have to press enter)Change it to the folder path,you extracted dex2jar,in this case,Type in cmd, cd C:\1234 >

10.Then type in dex2jar.bat classes.dex >

11.Your jar file is now created in the same folder.

D)Opening the jar file(I dont think an explanation is needed but still..for the history)

1.Extract the JDGUI zip

2.Open JDGUI

3.In the top right,theres an option called open :p

4.Browse your jar file

Happy modding :D

Don't forget to press the thanks button :)

Thanks to msri3here and various other softwares

P.S. I might edit this to include tutorial about converting the jar file back to dex and then compiling,signing it and installing and all.So,keep your eyes peeled :cool:
[Android Software/Hacking General [Developers Only]] devilsking:
Thank you :) This is very useful :)
[Android Software/Hacking General [Developers Only]] Prawesome:
Press the thanks button if it really helped you :p
[Android Software/Hacking General [Developers Only]] Prawesome:
I would appreciate if anyone could enlighten me about compiling the apk back and converting the jar file back to dex.I currently have some confusions about the matter,so i thought i would stick out on it unless i am sure of the process
[Android Software/Hacking General [Developers Only]] madman:
that would support pirating + stealing other's work [already some do]...

so its better someone do not make this :D
[Android Software/Hacking General [Developers Only]] Prawesome:
Ok....I am not planning to include that now anyways since this thread doesnt seem to have helped much people :(
[Android Software/Hacking General [Developers Only]] KingRedHot:
This is a really nice guide because a lot of people are afraid of odex. If I figure it out I'll let you know

Swyped from my Red Hot Razr phone running Tapatalk
[Android Software/Hacking General [Developers Only]] Prawesome:
Ok...btw,What are going to figure out? ;)
[Android Software/Hacking General [Developers Only]] KingRedHot:
Wow, I forgot lol. I may have been talking about converting it for use because I compile them all the time and after you push it to the phone, there is a script you must run from the terminal to convert it. I've never done that but it sounds like a would much rather just set up a kitchen once than to use that phone script method every time

Swyped from my Red Hot Razr phone running Tapatalk
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I'll probably have to do something like this to supercharger ics properly.

The ADJ values are hardcoded into ProcessList.java.

So my hope is that a modifyied file with a supercharged launcher would be universally compatible.
[Android Software/Hacking General [Developers Only]] KingRedHot:
I didn't know you could set those memory values into the launcher lol. We'll definitely be looking forward to that one :D

Swyped from my Red Hot Razr phone running Tapatalk
[Android Software/Hacking General [Developers Only]] khankll:
can u please tell us how to convert the jar file back to dex?

---------- Post added at 09:26 PM ---------- Previous post was at 09:10 PM ----------

also does jdgui allows one to edit a code?

i cant,,y?
[Android Software/Hacking General [Developers Only]] Prawesome:
Sorry for the late reply,you might have figured it out already.The answer is no,you cant edit the .classes file.
[Android Software/Hacking General [Developers Only]] Prawesome:
And...I was a noob at the time i made this tutorial.Things written in are correct,but still..
[Android Software/Hacking General [Developers Only]] Rasa.kh:
Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

Whats this error? the libs are available but I get this when I write : dex2jar.bat classes.dex

Im noob please talk in English :D

sorry for bad eng.
[Android Software/Hacking General [Developers Only]] marifat:
@ prawsome thanks for this tutorial. Man I was trying to get my head around it until I came across this tutorial. However wanted to know if you can explain section B, because I tried that but that didn't work for me, so skipped that section and went more or less straight into section C. I basically changed the extension of .APK to .JAR then extracted the file with Winrar to get the classes.dex file. However I would like to know how to decompile it the way you do it as explained in section B of your tutorial. Regards

-----------------------------------------------------------

HTC TyTN II

HTC DESIRE HD

HTC ONE X
[Android Software/Hacking General [Developers Only]] Prawesome:
Open up apk and get classes.dex

That's the file you need

My method is for extracting the full apk file
[Android Software/Hacking General [Developers Only]] marifat:
Ok I think you didn't understand what I said earlier. I did manage to extract the whole file doin it my way, by just changing the extension of the app from .apk to .jar and then using Winrar to basically extract that file. That was able to create a folder with all the files of the app incl classes.dex. However your method of obtaining de classes.dex file by decompiling is what I didn't understand, please explain. Anyway it seems that both ways yours and mine works to obtain the classes.dex file.

-----------------------------------------------------------

HTC TyTN II

HTC DESIRE HD

HTC ONE X

---------- Post added at 05:00 PM ---------- Previous post was at 04:50 PM ----------

*Your method under section B

-----------------------------------------------------------

HTC TyTN II

HTC DESIRE HD

HTC ONE X

---------- Post added at 05:11 PM ---------- Previous post was at 05:00 PM ----------

2: which folder?

5: number 9 where in the multitool?

-----------------------------------------------------------

HTC TyTN II

HTC DESIRE HD

HTC ONE X
[Android Software/Hacking General [Developers Only]] Prawesome:
Its a method of decompiling apks.Download apk multi tool and you will understand ;)
[Android Software/Hacking General [Developers Only]] marifat:
I tried it with the multitool but was not able to apply your method. In particular step 5, pressing keypad 9, nothing happens. What am I doing wrong here?

-----------------------------------------------------------

HTC TyTN II

HTC DESIRE HD

HTC ONE X

---------- Post added at 06:01 AM ---------- Previous post was at 05:53 AM ----------

the multitool doesn't find my apk. I've even put the bloody thing in the same folder and it wasn't able to see it

--------------------------------------------------------

HTC ONE X
[Android Software/Hacking General [Developers Only]] marifat:
@ prawsome can you please explain these two steps (2 & 5)?

--------------------------------------------------------

HTC ONE X
[Android Software/Hacking General [Developers Only]] hadidjapri:
google told me to use javac command to recompile those java sources file back to jar. after getting jar files, dx tool xan be used to revert it to dex file. dx can be found on android sdk folder

my problem is i don't have idea how the javac command to turn a folder into single jar file should be

Sent from my GT-I8150
[Android Software/Hacking General [Developers Only]] fieldsweeper:
you cant modify them in jdgui or at least java decompiler, and even so you have to 'save all sources" to get them in a .zip with all the .java files, my question is how do I get the zip file back into the jar. and then to the dex?
[Android Software/Hacking General [Developers Only]] Atronid:
Thanks for the tutorial, it was quite well explained.

However there's a part I don't like here.

The step B seems completely useless because you don't need to use the "decompiler" of APK Multi tool for anything in the tutorial! So why including this step that totally lost me?

Furthermore I'm not really agree with the "just-place-it-at-root" thing with dex2jar and the random renaming... Was this just a way to avoid loosing real noobs? Well you could explain this point better.

But well, enough of this free criticism. Thanks again for this post!
[G1 Q&A, Help & Troubleshooting] Maryushi3:
So, I have a Dream with CWM recovery installed. I want to flash the Amon_ra one.

How do I do that without bricking?

Why I want Amon_ra? Because it has the terminal so I can change mtdpartmap content without using a PC.

Will the MTD partition mod work from clean Amon_ra recovery?
[G1 Q&A, Help & Troubleshooting] kudlinux:
Rom Manager helps

Download the latest Rom manager from Market, it comes default with Clockwork mod and Amora 1.7 xx. with the Rom Manager version greater than 4, you can have 2 flash recoveries. Flash in Rom manager and boot to recovery hone + power button.
[G1 Q&A, Help & Troubleshooting] Clamor of Souls:
I read that the installation with the terminal is not recommended, instead, one should take fastboot. Which method is better Rom Manager or fastboot?
[G1 Q&A, Help & Troubleshooting] AndDiSa:
More secure is fastboot, but there are many people who feel uncomfortable to use it ...
[G1 Q&A, Help & Troubleshooting] Clamor of Souls:
Thanks.

After the installation of fastboot. Is it easy to use.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Toshiro-Sama:
Hi all,

Today I received my Galaxy "Note", and necessarily, I want to apply a ROM a little nicer!

Except with the "third recovery", or CWM, it is impossible to mount / sdcard, and it is not for lack of trying ...

4H Here I am trying full of kernels, hoping to find a less capricious than the others, without success ...

Do you have a solution, or Roma may be effective via Odin?

Thank you in advance ...

+ Sorry for my bad english é_è'
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Toshiro-Sama:
Anyone ?

Up.
[Samsung Epic 4G Touch] Iczer:
Ordered an E4GT Saturday and it comes in tonight. Couldn't get rid of the upgrade itch. I'm excited to get home and use this bad boy!
[Samsung Epic 4G Touch] cubandevil:
hope you enjoy it man , i really like mine !!! and im about to root it for an ever better experience!!
[Samsung Epic 4G Touch] chunology:
BEST Android phone i've used so far... and I 've had the Droid, Droid X, Thunderbolt, EVO and now the E4GT.. amazing phone!
[Samsung Epic 4G Touch] danasmith2816:
Just picked mine up on Saturday. Lovin it so far. Hoping they get a bunch more roms to try over the next few months.

Definitely a cool phone. Already rooted mine and running Starburst Rom. Very smooth so far.

Enjoy!
[Samsung Epic 4G Touch] Iczer:
So is LOS completely fixed with the new modem?
[Samsung Epic 4G Touch] Dchibro:
Modem alone? No, I don't think so. I have seen reports of LOS with the EK02 modem and a custom kernel built from the original kernel source code. EK02 modem + EK02 stock kernel? Yes, it seems so.
[Samsung Epic 4G Touch] Mimis_69:
Glad to hear man! This screen is very beautiful and the camera on this phone is beast!

[Insert witty signature here]
[Samsung Epic 4G Touch] eman3316@optonline.net:
I don't get LOS on EG30 running the stock pulled kernel. I also never got an LOS before rooting. I don't understand how some devices are susceptible to LOS and some aren't even though they can be running the same exact setup.....
[Samsung Epic 4G Touch] Khilbron:
LOS doesn't affect all phones, just cross your fingers on yours. I have a launch day E4GT with zero LOS issues.
[Samsung Galaxy Nexus] marc.tulley:
Guys,

Only got my Nexus yesterday and I am already loving to tweaks ontop of gingerbread. There are however a couple of areas which I am worse off in.

Mainly, I deal with a lot of zip files and never had a problem on my Desire HD but my Galaxy Nexus says

'You can't save or open this file because this type of attachment might contain malicious software'

Is there any deep security settings to get around this?

Any help much appreciated.
[Samsung Galaxy Nexus] neok44:
very strange. on my nexus one it let me download zip files, and then i used astro or total commander to extract them.
[Samsung Galaxy Nexus] marc.tulley:
Are you downloading them from email? Ive just tried actually downloading a zip file and it opened ok , its just when one is attached to an email I have recieved...
[Samsung Galaxy Nexus] marc.tulley:
Bump, this wouldnt be a prob for some dev to get it into a ROM would it?
[Samsung Galaxy Nexus] xdaolive:
Same problem here! This really sucks....every attachment can be malicious....i searched the settings for my virus scanner and my .zip program. There was nothing....
[Samsung Galaxy Nexus] kuddel-hh:
Did you have any luck changing this setting? This is really annoying and I have not yet seen any other posts beside this one.
[Samsung Galaxy Nexus] s4vva:
subscribing to thread!

Have the same problem too, both in my gmail and my work (Exchange) account.
[Samsung Galaxy Nexus] macpherson123:
GRRRR

OMG THIS IS ANNOYING! I have a Galaxy S with CM9, doesn't work either :mad:
[Samsung Galaxy Nexus] martonikaj:
Should be able to download them zipped then open them with a root file explorer right?
[Samsung Galaxy Nexus] macpherson123:
No, The Gmail app and the Email app literally do not let you download the file at all...
[Samsung Galaxy Nexus] martonikaj:
Hmm that's crazy.
[Samsung Galaxy Nexus] ARod111:
Yup, I noticed that and was annoyed instantly. It only effects the app. The best work around is to open up gmail on the browser and download the file thru there. Works perfect.
[Samsung Galaxy Nexus] macpherson123:
Yeah unfortunately I deal with .zip files on my work exchange account a lot, and this cannot be accessed through the browser because the Outlook Web Access does not perform well on a mobile browser (let a lone a desktop browser). So if I am mobile or roaming somewhere I cannot download any zips. At all. Screw you Google, you've really pissed me off here. Make sure you don't go down the Apple path... :(
[Samsung Galaxy Nexus] CrashV5:
I notice the zip problem today, very annoying!!! it's also really stupid blocking every zip file attached... i think that this problem should be notice to google for a good solution!

are there any alternative exchange email program on market?
[Samsung Galaxy Nexus] Ezzy77:
There are several alternatives like Roadsync, Moxier mail and Touchdown. Not sure if this works on them, but I'd imagine it would. This is an insane restriction and Google really needs to get a grip.