yashsingh1/xdaforums huggingface dataset:
[HTC One X] Rahman2012:
Thanks for this thread man! :D

Was really useful since I didn't like using apps to set my stuff on boot but didn't know how to do it with scripts :p
[HTC One X] matt95:
Really good guide :good:
[HTC One X] Wilks3y:
Great Guide, well written and presented.

Not for me as I don't program, but great guide non the less !
[HTC One X] Headless96:
Thanks guys!

Means a lot.. :D

Sent from my :tank:
[HTC One X] Aviel133:
:good:thanks alot
[HTC One X] tandeman:
I made a script yesterday but when I restarted this morning the script was deleted. Do I need to place a specific place?
[HTC One X] Headless96:
Well it has to be placed in system/etc/init.d

That's weird though it shouldn't randomly delete. Do you have any other mods installed?

Sent from my :tank:
[HTC One X] tandeman:
Maybe because it put it in sys/
[HTC One X] Headless96:
Yeah your gonna have to move it to /system/etc/init.d

Follow the instructions to the letter and you should be fine :)

Sent from my :tank:
[HTC One X] sev7en:
Thanks! I have a question: I tried to set a different max cpu frequency by using this command for my device echo 2107680 > /sys/bus/cpu/devices/cpu0/cpuinfo_max_freq

via adb shell and Root Explorer but anytimes I save the file it back to original value.

I also put a new init.d file within that command with no success. Why that?
[HTC One X] matt95:
try

$ adb root
$ adb shell

and do it all over again
[HTC One X] sev7en:
matt, thanks! It says about "adbd cannot run as root in production builds" but I flashed my custom ROM. Why that?

Thanks...
[HTC One X] matt95:
Mmmhh then try to do it into recovery mode which is already set as root
[HTC One X] sev7en:
Thanks! Doing that now... (God bless my device eheh) :P

---------- Post added at 07:18 PM ---------- Previous post was at 06:35 PM ----------

Hi, unfortunately it doesn't work. I also made a stand-alone script (below)...

​

then flashed it with a new ROM but as you can see frequencies and parameters haven't changes at all... why?

​
[HTC One X] Headless96:
Does the kernel your using support overclocking? Looks like the values aren't saving because they're not supported especially if they're not working when edited with Root Explorer
[HTC One X] sev7en:
Hi,

thanks for the reply... yes, I guess that too. I know it's che stock kernel but I tought by using that "fix" to bypass the reference frequecies... I have not the sources to recompile it for the OC but can I do that upon the current kernel? I mean... by using the zimage, can I add the OC support starting from it?

Thanks,
[HTC One X] Headless96:
I'm really not to sure man, my knowledge is very limited on kernels so you'll have to ask in your respective device forum

Sent from my :tank:
[HTC One X] DeeZZ_NuuZZ:
In stock kernels it is not working you have to compile a kernel from source to add such things like OC and UV support etc... Does your phone not having custom kernels? O.o

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] sev7en:
Hi,

thanks, unfortunately we don't have a big thread as mainstream devices as Samsung/HTC, XDA is the only release we can look for.

Hi One-X-master,

first of all, thanks for you help. I see, thanks but where can I find the kernel for our devices? You can find our "official" thread here: http://xdaforums.com/showthread.php?p=44066504

Please can you give me the right move to find the kernel?

Cheers
[HTC One X] DeeZZ_NuuZZ:
You have to find the source code etc for your phones rom so you can compile with that your own kernel... You should ask in this thread which you linked here maybe someone there knows where to find the source code... If you can't find it because it cant be found somewhere there is no way to compile a custom kernel and over clock...

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] sev7en:
Hi One-X-master,

thanks, the forum I linked has managed by myself as you can see... I should knock to BBK doors but (the Chinese manufacturer) but the expectation of a reply is so far, I guess... I also asked to Cyano team but also no positive replies (no reply at all exactly ^_^).

Thanks again to everyone!
[HTC One X] Leon94:
How to test script?

Hi.. i have followed your steps and created a script, but can i know how to test the script whether is working or not? and enable script means set the permission ?
[HTC One X] Headless96:
Well one way would just be to navigate to the files you wanted to modify after booting up and check with a text editor if it the value changed.

And yeah enable script means set permissions
[HTC One X] Leon94:
Sorry, would u explain more to me? I'm not so understand... ><
[HTC One X] Headless96:
Upload your script and I'll show you what to look for
[HTC One X] Leon94:
thanks

above this.. thanks a lot..
[HTC One X] Headless96:
Alright well basically, reboot and then using a root file explorer, navigate to:

/sys/kernel/mm/ksm/run

Open the file and then check if the file says '1'

If it does, your init.d script is enabled and working
[HTC One X] Leon94:
Ok, thanks, understood!
[HTC One X] Pecan-fan:
Very good guide!

Hi! As a Linux user I had already tried to set up one init.d script in my LG P350 running Cyanogenmod 7, but after every reboot my script was not executed. It was your guide that made it work for me. The step that was missing was the #!/system/bin/sh code in the beginning of the script. One thing I made different was setting permissions. I followed the permissions of the other scrips in init.d folder as follows: chmod 750 owner=root group=shell. I was using SManager to manage my script. I have nothing against SManager it is great software and a very useful tool, but I was bothered by depending on it every boot. Thanks a lot for your help.

---------- Post added at 08:21 AM ---------- Previous post was at 07:38 AM ----------

Hi! There is an extra #1 at the end of the first command that in my opinion can make the command fail.
[HTC One X] noobpremium:
Really noob friendly.. :P

Superb guide ever. I've made some search stuff for this and this is the best thing I've came across :) Thanks...
[HTC One X] glowerita:
Hello and thanks for the guide.

I'm on JB for Galaxy s2.

In Menù settings/developer options exist an option to limit Background processes. Setting it on "no process" ... the option is lost every next phone's reboot.

I want to create a script for init.d folder to make sure that when I start my phone, the option is automatically set to "no process".

How can I make so?

Thanks in advance.
[HTC One X] Headless96:
Why are you setting it to no background processes?

If its for battery reasons then let me tell you its actually going to decrease battery life rather than improve it. Having to constantly close and clear out apps is much worse than leaving them in ram

If you absolutely must close apps, use greenify, that app works quite well
[HTC One X] glowerita:
hello and thanks for the reply. Is it possible or even probable that closing all background processes that discharge of the battery first, okay. My intention was, however, to try and see the difference. Whether improvement of the phone, both in battery life. Thanks again. :)

Inviato dal mio GT-I9100 con Tapatalk 2
[HTC One X] Headless96:
To answer your initial question bro, I'm not sure what the command is to turn that setting on at boot. A google search may help you out but I don't think its even possible

But yeah if its for battery/performance reasons then I advise you to use greenify or letting your phone handle the ram by itself
[HTC One X] glowerita:
No battery problem, indeed. What that I hate is that Android loads in ram random processes in which User has never launched. And what's bothering me a lot. Ram up immediately useless garbage.

Option I was referring...I don't think that is going to affect the batteries. Processes are not closed, simply are never launched, in fact. It's different.

I've done research on google, but I have not found any answered about.

That's why I was thinking to create a script.

Thinking well, however, it is also likely that the system, in order to start, need necessarily have '' Standard limit''.

Thanks again anyway.

Inviato dal mio GT-I9100 con Tapatalk 2
[HTC One X] rhinoe:
quite a guide

do you know the command for making symlinks

i've tried few, but they wont work

i really need to make a script on symlink :confused:
[HTC One X] Noriyuki_Fariz:
Thanks for sharing sir.. Your thread just help me make my own init.d script..
[HTC One X] khoidoquang2306:
so the right permission is 777 or 755 sir ?! becuz i used it and nothing went wrong ?! am i have any mistake ?! i use tweak from xda and sth with the app "Pimp my rom" ?! it automatic change the permission. sr for my bad english :)
[HTC One X] Dhruv_Agarwal:
Hey, first I'm stating that I don't know how to make scripts. I usually play heavy games in my phone So, I use terminal emulator to mount my obb files. I usually type:-

su
mount -o bind /mnt/media_rw/FF0F-0809/Android/obb/ /data/media/obb/

To play games but i have to put this command after every reboot can you tell me how should I make init.d of this command?
[HTC One X] Suga86:
[MENTION=944395]headless[/MENTION]96

I succeesfully make fast charge based on your guide. And i got 2000ma speed charging. But after few moments, my speed charging back to normal. What is actually happened?
[HTC One X] HemanthJabalpuri:
Great guide...

can someone look my file..
[HTC One X] fusk:
Do you also use echo if you want to add something to build.prop during boot, ie. echo "something" >> /system/build.prop?
[HTC One X] apollo125:
Hi

I'm looking to make my system partition RW as it's only RO.

I can run adb commands

abd root

adb remount

To get access to the system but I have to run these commands after every reboot

Is there a init.d script I can run at boot to do this

Thanks

apollo125
[HTC One X] lolvatveo:
I want init.d in ramdisk with resetprop, how to?
[HTC One X] lucius.zen:
You basically copied my guide without giving credit, not cool bro.
[Nook HD, HD+ Q&A, Help & Troubleshooting] harryzee:
RE: [NookHD+] CM10.1 native emmc install

Anyone with

actual "hands on" experience

using a bluetooth keyboard with the emmc installed CM10.1 native HD+?

If so, would greatly appreciate a brief overview of your experiences with that setup and also possible reccomendations for a bluetooth keyboard.

Looking to fully utilize my convereted HD+ as a fullblown Android tablet.

Thanks in advance.
[Nook HD, HD+ Q&A, Help & Troubleshooting] tgreenstein:
I had an old folding BT keyboard (that, believe it or not, I bought for my Dell Axim many years ago) lying around. Tried it with the emmc installed CM10.1 and it works like a champ -- no problem pairing at all. A bit of a delay between typing and appearing on the screen but not enough to annoy me. If I really think I'm going to use a BT keyboard I'll probably get a new one, but this one folds up to the size of a cellphone and is pretty handy when traveling.
[Nook HD, HD+ Q&A, Help & Troubleshooting] lancorp:
I bought a Logitech Tablet Bluetooth keyboard from Amazon.

It's a bit larger than the standard "in-case" style keyboards, but it includes it's own hard case that also acts as a stand if you don't have a case for your tablet.

Setup was easy. Just like any BT device, you initiate the pairing, pick the Logitech Keyboard and type in a pairing code on the KB.

It works great and paired with a BT mouse, it makes working with spreadsheets and other items too small to use your finger with any accuracy, possible.

Highly recommend. Next, I'm going to try one of various case-plus-keyboard combo's for the Nook HD+ on Amazon and compare it to this.
[Nook HD, HD+ Q&A, Help & Troubleshooting] harryzee:
Two quick follow-ups:

1. Which model Logitech are you referring to?

2. Would you keep us/me posted as to your ongoing testing?

Thanks.
[Nook HD, HD+ Q&A, Help & Troubleshooting] harryzee:
Disregard #1 as I didn't catch you Amazon link. Tried it and now have my answer!
[Nook HD, HD+ Q&A, Help & Troubleshooting] biogon:
A bit late to this party, but I use a Logitech BT Tablet Keyboard for iPad on my HD+ running verygreen's CM10.1 off emmc.

It looks like it's the same one that lancorp uses, but with iPad key functions; model number is 920-003241.

Works fine, although a touch laggy. I wrote a couple of pages of a paper and some emails last night off it. It missed a few keystrokes every so often, but that's been my same experience on iPad and Nexus 7.

It was trivially easy to pair.
[Micromax A116] RGlodhia:
hey.. i have micromac canvas hd... A116... i have bricked by trying to install chainfire 3d... i am not able to unbrick it.... i have tryed factory reset. but no use .. plz help me any one:(
[Micromax A116] neatearth:
What do you mean by bricking your device ? Are you not able to start it ? Or it is going in to loop while loading ? or it is booting up but remains unresponsive ?

Please tell me what exactly is happening and also inform me what exactly did you do before your phone starts behaving abnormally
[Micromax A116] kaydee:
Use SP Flash Tool To flash the whole device..

That'll Do..

These 2 thread will help you out..

http://xdaforums.com/showthread.php?t=2180436

http://xdaforums.com/showthread.php?t=1982587

cheers.. :good:
[Galaxy S 4 Q&A, Help & Troubleshooting] Gsa2074:
I thought that I read somewhere that you can put international version Gs4 roms on tmobile and att Gs4 phones.
[Galaxy S 4 Q&A, Help & Troubleshooting] _Dennis_:
The question is?
[Galaxy S 4 Q&A, Help & Troubleshooting] ktetreault14:
DO NOT PUT i9500 on your phone. You will hard brick.
[HTC EVO 3D] slinkyregent:
I to everyone! I'm trying to develop QML apps on Ubuntu Touch and i need to try my apps! Anyone can port ubuntu touch on evo 3d? Time ago helicopter88 try to do that and this is her first attempt: http://goo.im/devs/helicopter88/Evervolv/Evervolv-UbuntuPhone-Signum-3.2.0p2-shooteru.zip Anyone can help me?
[HTC EVO 3D] slinkyregent:
ok, if anyone want to help me... i try to do that porting
[JAM, MDA Compact, S100 Software Upgrading] gotan:
hi i would like to know if the new XDAIIs rom and version is also the 1 we are using in xdaII? the 1 we downloaded here.. wmse asian edition rom 2.06 radio 1.18... is it desame? i really wanna know. coz if its not the same then maybe i should get 1 xdaIIs.. tnx!
[Samsung Galaxy SL i9003] sebastiand95:
i have this strange problem.!!after imei is lost....i cant flash roms anyomre...they give some error in CWM....
[Xperia Z Android Development] TimV_:
Overview

Codename Lungo is a customized, aftermarket firmware distribution for several Android devices. Based on CyanogenMod, Codename Lungo is designed to increase battery life and size over Android-based ROMs released by vendors and carriers.

Features

Great Base

Lightweight & Fast

No Bloatware!

Longer Battery Life

Custom Launcher

Add-ons

Community Driven

And so much more...

Screenshots

Changelog

Credits and Acknowledgments

check the Codename Lungo website ;)

Links & Other info

Kernel: Stock CyanogenMod

Documentation & F.A.Q

Add-ons

Facebook & Google+!

Codename Lungo is a Community driven ROM! So we now have a Facebook Group and a Google+ Page & Community

Here you can post mods, new ideas or just chat about the ROM!

Enjoy and JOIN! Facebook Page | Google+

Download ROM!

@ Codename Lungo Website​

XDA:DevDB Information

Codename Lungo, ROM for the Sony Xperia Z

Contributors

TimV_

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

Based On: CyanogenMod

Version Information

Status: Beta

Beta Release Date: 2014-10-08

Created 2014-03-09

Last Updated 2015-01-11
[Xperia Z Android Development] Lemagex:
It looks interesting but im really curious about the difference between this and cyanogenmod releases, for starters, what kernel are you guys running? Just the cm10.1 release? If not, are you able to post the sources? (or even just kernel features that are unique to this rom) And yes i checked the FAQ first :)
[Xperia Z Android Development] TimV_:
It's stock CM10,1 kernel but I stipped and opmized the libs, apps etc... And some mods in the build.prop
[Xperia Z Android Development] DrKrFfXx:
Any bug or feature not working that we should be aware of? Like GPS, NFC, WIFI or the likes?
[Xperia Z Android Development] ckyy:
Most likely the same as cm..

Gesendet von meinem C6603 mit Tapatalk 4
[Xperia Z Android Development] Hellscythe:
The word optimize really caught my eye :D
[Xperia Z Android Development] TimV_:
ROM Updated!
[Xperia Z Android Development] Kelvin0007:
Hi, is this rom for locked or unlocked BL?

Thanks in advance!
[Xperia Z Android Development] miguelmaldonado:
my estimated friend, if it's aosp based, it always requires unlocked bl!
[Xperia Z Android Development] ankabo:
What are the actual bugs in cm at this time? Is it possible to undervolt the kernel?

Gesendet von meinem C6603 mit Tapatalk 4 Beta
[Xperia Z Android Development] Kelvin0007:
Sorry for that noob question, seems i have to unlock BL in near future :D
[Xperia Z Android Development] joibins:
Thanks for the rom runs great except for the problem with clock
[Xperia Z Android Development] Kallb123:
I'm looking for a lightweight cyanogenmod rom that's updated along with their nightlies. You have 22Jul in your title but the file was uploaded on 17th. iirc that's before a lot of changes
[Xperia Z Android Development] TimV_:
Weird I updated it giv me 20 mins to fix this please...

FIXED!
[Xperia Z Android Development] Droidphilev:
Hi,

Ever since i bought this miserable Xperia Z i have allot of problems with tethering interupting. This is becasue of the phone switching between 3G, H and H+ (DC) as fast as possible to preserve battery (it tries to lower speeds). I use tethering about 8 hours a day. Switching off "fast dormancy" *could* be a solution for me. I only cannot find a rom for yuga that has this feature (very common on samsung phones). Can i disable "fast dormancy" in this rom please?
[Xperia Z Android Development] chesterr:
so does anyone have problems with microphone?i mean i can call and do stuff but for the other apps, like i have this guitar tuner app and the mic doesn't work and in wechat mic doesn't work work, anyway to fix that issue?
[Xperia Z Android Development] wawyed:
H and H+ are 3g modes. You can't stay in hspa or hdspa continously, it will switch to 3g mode automatically (any phone will do this) when no data is being send/receive. If you want to disable fast dormancy you need to delete the apk fast dormancy from system/app
[Xperia Z Android Development] Droidphilev:
Hi,

Well... this is not entirely correct: i have a GT-I9300 and in device settings you can force this phone to use 3G only. It has a setting to disable HSUPA and/or HSDPA.

CM doesn't seem to have a fast dormancy apk btw
[Xperia Z Android Development] wawyed:
And how do you connect to the Internet then? With UMTS?
[Xperia Z Android Development] Droidphilev:
Hi,

If you disable HSUPA and HSDPA it uses 3G. (Or 2G if 3G isn't available ofcourse)
[Xperia Z Android Development] chesterr:
so I have microphone issues with 3rd-party apps. other than that this is so far good rom.
[Xperia Z Android Development] wawyed:
Do you realise that HSDPA IS 3G? The cell tower decides which protocol to use depending on what your device supports. There is no such thing as "disabling" HSDPA as you could disable "3G" to use "2G".
[Xperia Z Android Development] Droidphilev:
Hi,

Hi,

Well... i should have called it UMTS like you did but since UMTS IS 3G after all... Attached you have the proof (AND it works!)
[Xperia Z Android Development] wawyed:
Is that stock? Looks like a hack.
[Xperia Z Android Development] Droidphilev:
It's not a hack, it's in allot of AOKP roms exactly as you see here. In a stock rom you can do it in a hidden service menu which looks like the attachment in this post. So as you can see: it IS possible.
[Xperia Z Android Development] wawyed:
Ok, never seen that before though maybe It's a Samsung option only. So my guess of what it's doing is changing the revision of the HSPA protocol to make the device incompatible with HSDPA modes, etc.. so the cell tower doesn't try to connect using it.

I don't think this is something possible in this phone as in stock you can't change the hspa revision that easily.
[Xperia Z Android Development] TimV_:
due to a PM from the XDA Staff yesterday I updated the ROM without Google Apps because it can lead to legal actions hope you guys understand...

You can find the Lightweight Google Apps in the Download section on the Codename Lungo Website
[Xperia Z Android Development] jeetBLswami:
you can always set your network to 2g only in stock sony roms also..
[Xperia Z Android Development] sanjazz909:
I'm testing your Rom and so far very pleasantly surprised...

everything working wounderfully smooth and stable. so far no bugs or anything :)

will run for a few more days for more testing :laugh:

keep up the good work & cheerio & bedankt ;)
[Sony Xperia P, U, Sola, Go] arun6106:
Hi, :o

I recently got an Xperia P and was looking around to unlock it to flash custom ROMs,

soon, i realized that unlocking the phone will lose the DRM keys, so things like Track ID and bravia engine etc. will stop working and won't work even after re-locking the bootloader! :mad:

But, no worries,

You can choose anyone you want, some people even claim that they simply unlocked their devices and everything (BE, Track ID) is still working fine! :rolleyes:

All you need to make sure is that don't flash any other device's TA!

It will BRICK you phone!

Steps

Using Backup-TA Tool:

http://xdaforums.com/showthread.php?p=41763438

SUPPORTED DEVICES

Confirmed:

Sony Xperia Z

Sony Xperia ZL

Sony Xperia ZQ

Sony Xperia ION

Sony Xperia S

Sony Xperia SL

Sony Xperia SP

Sony Xperia T

Sony Xperia TX

Sony Xperia P

Sony Xperia L

Sony Xperia U

Sony Xperia Sola

Sony Xperia Tablet Z

Most likely:

All Sony Xperia models

Not supported:

All Sony Ericsson Xperia models

Guide

1. Download the latest version of Backup TA.

2. Extract the ZIP file to a folder location of your choosing.

3. Navigate to the folder location of Backup TA.

4. Make sure no other script or application which is using ADB is running.

5. Make sure the device is booted in normal mode, the way you normally use it.

6. Run Backup-TA.bat

7. Read the license.

8. Choose one of the menu options.

9. Follow the instructions given by the tool.

Thanx to [MENTION=5261329]DevShaft[/MENTION]

In the meanwhile, if your phone is unlocked, you can still get the track id and bravia engine working!

There's a thread for that too, over here: http://xdaforums.com/showthread.php?t=2301489

All you need to do is download the ZIP file from there and flash it via CWM!

(Credits go to 8lO_Ol8 [ http://xdaforums.com/member.php?u=5171684 ])
[Sony Xperia P, U, Sola, Go] estape11:
I have relocked bootloader and i follow this http://xdaforums.com/showthread.php?t=2301489&page=1 and unlcok again, i lose BE?
[Sony Xperia P, U, Sola, Go] dimon2242:
Can use TA from other device (from xperia p to xperia p)?

And in sony flashtool bootloader have drm key?
[Sony Xperia P, U, Sola, Go] Kumczak:
NEVER use TA partition from other device than yours!!! It will hard brick your device!
[Sony Xperia P, U, Sola, Go] arun6106:
You'll lose and get BE Back!

Yes, if you unlock the bootloader, u'll lose DRM keys and so track ID and BE won't work,

but download the zip file fix from the link i've mentioned and those things will be back!

you'll need to relock bootloader first.
[Sony Xperia P, U, Sola, Go] arun6106:
Don't use any other device's TA Partition!

[MENTION=1082862]dimon2242[/MENTION]: as Kumczak said, you can't use another device's TA Partition!

Result will be a bricked device!

If you have already unlocked the bootloader, what you can do is download the zip file from here and flash it via CWM,

u'll get track ID and BE working.

U'll need to relock bootloader first.
[Sony Xperia P, U, Sola, Go] dimon2242:
I know this)

I will be diff TA dump locked BL and Unlock BL!
[Sony Xperia P, U, Sola, Go] GEKTHEBOSS:
Every peoples write no track id after unlock,ive it and work,just unlocked!!

---Signature---

I'M Busy With Exams Till First Of July, So Don'T Ask Me Any Update Or Support, Byee!

---End---