yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] Vinnom:
Do you use windows? If the answer is yes, try to copy and paste the file there, then you open it with notepad++ and then go to Edit > EOL conversion > convert to UNIX format.

If this doesn't work, try to download Root Browser and open file, save file, close file and try again. If it doesn't work too, I don't have an idea what it could be.

Guys, I managed to make the script bootable.

Just copy it to /etc/init.d/ folder then rename it with the following syntax:

NumberName

Change its permission to 777

Mine is /etc/init.d/99profile now :)

Enviado de meu XT1097 usando Tapatalk

---------- Post added at 02:41 AM ---------- Previous post was at 02:34 AM ----------

Did you forgot to do a twrp backup of the boot partition?

It happens that I have it hahaha

Flash it with twrp. Wipe caches just in case (i'm not sure if it is really needed, it is just for precaution)

Dowload here

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] nithin1992:
Using your script now. Will report on how it performs. Here's one made for Nexus 5 as well, and we do have a similar CPU. Do check and see if this would help enhance the script even more

http://xdaforums.com/showpost.php?p=64963798&postcount=1770
[X 2014 Original Android Development] jejeh:
[MENTION=4699730]Vinnom[/MENTION]

Do you use synapse and ukm and the script or just the script and the v1.1 kernel ?

Ignore above ...i figured it out
[X 2014 Original Android Development] kraatus90:
just want to confirm this before pushing v2, is init.d working on v1.1 ? want to make sure it's working for everyone .:)
[X 2014 Original Android Development] nithin1992:
target_load keeps resetting for me for some reason, any idea why? Using the init.d script
[X 2014 Original Android Development] kraatus90:
have you deleted the power.msm8974.so file ? without doing that you won't be able to fully tweak interactive gov.

its located in here -

/system/lib/hw/power.msm8974.so

just rename it or delete and reboot. after that you will be able to change that value. v2 will automatically do this
[X 2014 Original Android Development] nithin1992:
The init.d script didn't seem to work but manually running the script after renaming+rebooting did the trick for me. Thanks a lot!
[X 2014 Original Android Development] Vinnom:
For me, even without renaming/deleting the file, the settings are sticky ^^

I'm using synapse for easy view of the settings (got tired of kernel adiutor), but to set things up, I'm using the script as synapse isn't applying things at boot (I prefer script anyway ahahah)

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] Vinnom:
It doesn't seems to be working, sadly :(

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] jejeh:
So how does you're script work if init.d is off.
[X 2014 Original Android Development] Vinnom:
It is not working at boot, I've to apply it manually.

The thing about it working at boot time, I had read it at some posts here in xda, so I passed the info to you guys and try to make it work here. Sadly, it doesn't :(

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] kraatus90:
update 2

so here's the version 2 , this is a lot different than previous versions. if you have used nexus phones you maybe familiar with francokernel, and this version is almost same as francokernel r80 for nexus5.

so there's no hotplug driver anymore, and cpu-boost is enabled now. no faux sound cuz it seems like it doesn't make difference and distorts audio quality. now mp-decision and powerhal is disabled. its necessary for interactive governor tweaks (otherwise you will get lots of permission denied errors). init.d should work now.

before flashing this v2 zip ,make a system+boot backup (at least) and flash stock boot.img ( patch it for whatever version of su you want). and then flash KraitKernel_v2_victara.zip. first boot can take longer time and probably you will get 1-2 kernel panics too. after that it should work without any problems.

hopefully there would be no wifi problems this time, i have been testing this version for a week now without a single problem and battery life seems to be better than before ( specially sot) :).

for interactive gov give this a try -

scaling_governor interactive

above_hispeed_delay "20000 1400000:40000 1800000:20000"

go_hispeed_load 95

hispeed_freq 1190400

io_is_busy 1

target_loads "85 1350000:90 1800000:99"

min_sample_time 60000

timer_rate 30000

max_freq_hysteresis 100000

timer_slack 30000
[X 2014 Original Android Development] Jostian:
Hi what does it mean to patch the image with whatever su we want... No idea what or how that means.
[X 2014 Original Android Development] kraatus90:
i meant flash w/e version of su you want 2.52---2.67 so that you won't get bootloop. i use su2.52 so i just flash root-boot-6.0-xt1092.zip from here before i flash this v2 update.
[X 2014 Original Android Development] Jostian:
Thanks I get it now :)
[X 2014 Original Android Development] nithin1992:
Flashed, running V2 now. It seems as though all cores are online always when screen on, is this done on purpose?
[X 2014 Original Android Development] kraatus90:
yes, but it's on only when screen is on , otherwise only 1 core is online. because of this cpu will stay at lower clocks more often and save battery , hotplugging is power expensive so there's no point using that.
[X 2014 Original Android Development] Vinnom:
I'll sticky with v1.1 , as I want msm_hotplug and faux_sound

I asked about including alucard hotplug, but as you don't want hotplugs anymore, I would suggest fiops I/O scheduler, westwood congestion control and zram (lz4) algorithm, if possible.
[X 2014 Original Android Development] nithin1992:
Yup, let's see how this setup does. It should be better performance as well as we're removing hotplugging. I remember Trinity Kernel used to have no hotplugging before and there was quite a big discussion on whether hotplugging is actually useful or not. Didn't know that Franco removed hotplugging on his kernels though. Anyway, thanks for the update, as always!
[X 2014 Original Android Development] kraatus90:
fiops I/O scheduler and westwood congestion control , i'll include it in next version. but i'll suggest you should try this setup of no hotplug too, when the one of the best kernel developer is saying it's not needed with 3.10.y hotplug arch , then there's certainly some benefit to it. also since last 1 week of usage sot/stanby time is same or better than before. but as you wish you can use 1.1 if you want. most important thing for me is battery life and for that im willing to ditch hotplug even though previously i thought it helps to increase battery life which isn't the case according to my usage patterns. :)
[X 2014 Original Android Development] xtreme2020:
I flashed on verizon xt1096 converterd to xt1095 with root and xposed. Everything seems to be working fine.

Thanks [MENTION=4825505]kraatus90[/MENTION]
[X 2014 Original Android Development] Vinnom:
Ok, I'll give it a try xD

But I'll try with my settings and see if I get good results :)

Enviado de meu XT1097 usando Tapatalk

---------- Post added at 06:25 PM ---------- Previous post was at 06:05 PM ----------

For those who wants to try my settings without hotplug, download here.

I included some others tweaks that I use here, you can disable them if you want, just delete its lines ^^

Now I'm saving it with UNIX EOL by default, so it will work, I know ^^

EDIT: Sorry guys, I forgot to include some things. Please download again the file =)

EDIT 2: Idk if I will keep using it without hotpluggage. Battery life might be good, but for my usage, cpu doesn't get boosted right and If I need to use cpu boost for that, Idk if the battery juice saved will be relevant :/
[X 2014 Original Android Development] gabriel_hart:
Flashed v2! Thanks [MENTION=4825505]kraatus90[/MENTION] for helping me relive my Nexus+Franco days. Ahh, how I miss crack flashing every day.
[X 2014 Original Android Development] Danny17va:
With this configuration most life battery is achieved?

Great work.
[X 2014 Original Android Development] Junior Passos:
Great update. Thanks [MENTION=4825505]kraatus90[/MENTION]

PS:

Init.d support no work and I found the problem.

Look init.rc file.

# Init.d support
service userinit /system/sbin/bb/busybox run-parts /system/etc/init.d
oneshot
class late_start
user root
group root

sbin don't exist inside system folder, it's outside and stock rom don't have userinit.

I restored the old command and init.d works again.

# Init.d support
service run-parts /system/bin/logwrapper /sbin/bb/busybox run-parts /system/etc/init.d
class main
user root
group shell
oneshot
[X 2014 Original Android Development] kraatus90:
lol that's why i asked before if init.d is working or not. i'll revert those changes for next update. thanks
[Galaxy Tab 4 Q&A, Help & Troubleshooting] kozakli85:
hello. i have a tab 4 t232. it is produced for only my country (TURKİYE) phone call is disabled and only 3g data service is alloved. it is the same device with T231. i want to activate my telephone service. can anyone help me. i just installed a google rom ([ROM] [Update] [6.0] [M Preview] Everything Google ROM!) (http://xdaforums.com/tab-4/development/rom-everything-google-rom-t3218802) and i applied telephpne and data fix.

SIM Full Mobile Data Fix.rar (Fix for all the SIM card data functions phone, messages, contacts and online network)

Extract files

Push into system/priv-app

i did this. and telephone button is seen on my device. now my device is making calls but when the person i called answer there is no voice coming to hear me and no voice coming to hear. data service 3g is working. and microphone and speaker working when i make whatsapp viber skype calls.

sorry for my poor english. can anyone help me.

best regards.
[Ascend Mate 7 Q&A, Help & Troubleshooting] energie:
Hello there,

Im new to huawei and i was wondering if i could get root without unlocking the bootloader like i did on my LG g4.

I own a mtl10 with 5.1.1.

Tried kingroot but no luck.

Inviato dal mio HUAWEI MT7-TL10 utilizzando Tapatalk
[Ascend Mate 7 Q&A, Help & Troubleshooting] MuPp3t33r:
No exploits at the moment for lollipop without bootloader unlock
[Ascend Mate 7 Q&A, Help & Troubleshooting] energie:
i managed to get my code finally! could you please point me to the best lollipop guide to root?
[Ascend Mate 7 Q&A, Help & Troubleshooting] MuPp3t33r:
First off, download all the tools you'll need (this includes adb, fastboot, custom recovery and stock recovery to go back, and supersu) here: adb_fastboot_twrp_su.zip

Extract the files to a folder on your computer (eg. C:\ADB) and open command prompt to the path (type "CD C:\ADB" without quotes to get there)

Next connect your phone to PC/laptop with USB cable & make sure USB debugging is enabled (Settings - Developer Options - USB Debugging - On) and while you're at it you should also copy the su.zip file to your phone (internal memory or SD card is fine)

Now enter the command "ADB DEVICES" and with any luck you should see something like this:

If it shows a device then you are good to continue

Type "ADB REBOOT BOOTLOADER" and press enter, your phone will reboot to the screen showing you the bootloader is locked.

Type "FASTBOOT OEM UNLOCK xxx" (where xxx is your much longer unlock code you have obtained, hopefully correctly else it won't work)

If successful you should now have unlocked bootloader.

Now you need to install the recovery, type "FASTBOOT FLASH RECOVERY twrp_2.8.7.0_mate7_5.1.img"

If successful you'll see: writing recovery, OKAY, finished

Now type "FASTBOOT REBOOT RECOVERY" and your device will reboot to TWRP, from here you can "Flash ZIP" and point it to the su.zip file saved on your device, once done you can reboot your device and enjoy the benefits of a rooted device.

NOTE: if you plan on installing other ORIGINAL device roms or installing OTA updates in future, you must be on the stock recovery, I've included it in the upload I did for you in case you need it ("FASTBOOT FLASH RECOVERY recovery_stock.img"), also note that installing another rom will remove your root and you'll have to go through all this again (with the exception of unlocking the bootloader, that is only a once off task)

Disclaimer: A good deal of this is coming from memory of when I did it, if I made a mistake I welcome corrections. Don't hold me responsible for problems from my guide, its still your device and you should take care in what you do with it.
[Ascend Mate 7 Q&A, Help & Troubleshooting] demirozu69:
I cant lock bootloader it give error
[Ascend Mate 7 Q&A, Help & Troubleshooting] Pablo87:
Why would you want to lock bootloader?
[Ascend Mate 7 Q&A, Help & Troubleshooting] demirozu69:
for experience I know how to unlock but locking not worked
[Ascend Mate 7 Q&A, Help & Troubleshooting] Rascal74:
I use this method to root my MT7 and I had a big problem with the SD card, so be careful.

Take a look here : http://xdaforums.com/mate-7/help/sd-card-problem-t3295256
[Ascend Mate 7 Q&A, Help & Troubleshooting] demirozu69:
it is deleted
[Ascend Mate 7 Q&A, Help & Troubleshooting] shimiel:
what is tapatalk? i really dont understand i got same problem
[Ascend Mate 7 Q&A, Help & Troubleshooting] somboons:
how can I locked bootloader ? what's command ?
[Samsung Galaxy Young S6310] amitkumar005:
Hi every1! I really want some help. I have Samsung Galaxy S6312 and installed CWM v6.0.3.2 one year ago but didn't flash any rom.

I did factory reset of my phone using recovery yesterday and all went well. But now the problem is it always boots into recovery mode on power up or system boot.

What should I do now ?

I am still able to make a complete backup of my phone and can restore it but again it always boots in to recovery mode.

PS: The first time I installed CWM, the same problem had occurred but I was able to system boot by clearing dalvik cache and wipe partition. But this time even it is not working.

Please help, any help would be appreciated.

Thanks in advance.
[Samsung Galaxy Young S6310] amitkumar005:
[ProblemSolved]I think the problem was with the CWM that I had installed using terminal commands. So I again flashed the cwm but this time using Odin.

links that helped me:

flashing using odin:

http://xdaforums.com/showpost.php?p=51338466&postcount=9

how to use odin :

http://galaxyyoungs6312.blogspot.com/2014/01/flashing-stock-rom-to-samsung-galaxy.html

Above link shows the use of odin for flashing stock rom but the procedure is same for flashing cwm.

Thank you all.
[Moto X Q&A] braumeisteresche:
Hi guys,

I resently installed CM12.1-20151117 on my Moto X XT1052.

The reason I installed CM is that I got the "couldn't connect to camera" bug a lot. Unfortunately the bug is still there. I tried the restart camera apk with the cm camera fix app, renaming the DCIM folder, clearing the app data (camera and gallery) and multiple reboots as well as any combination of these fixes.

Sometimes one of the above solutions will work, but most of the time I end up with only the front camera working.

Does anyone have a working solution for this very annoying bug?

Thank you in advance!

Gesendet von meinem SHIELD Tablet mit Tapatalk
[Moto X Q&A] tycoo:
Is kernel samepage merging enabled? If yes use kernel aduitor and disable it, check apply at start and reboot. Report back if this helps.
[Moto X Q&A] braumeisteresche:
Well, I googled samepage merging, but couldn't find it.

Were can I find this option?

Thanks!

Gesendet von meinem SHIELD Tablet mit Tapatalk
[Moto X Q&A] tycoo:
Sorry, forget about that. I cm12.1 ksm is not enabled by default anyway. Best would be to change to this thread here: http://xdaforums.com/moto-x/development/rom-cyanogenmod-12-moto-x-t2995381/post64492139 , follow the instructions to get a log and post it.
[Moto X Q&A] braumeisteresche:
Hi again,

I managed to get a log file: http://d-h.st/yEfW

Thanks a lot!
[Moto X Q&A] tycoo:
Puh, yes there is a bug but i can not see what is the cause or how to interpret it too.

Can you just connect you phone via adb, start logging, start the camera and let it crash, stop logging and post the log file again.

EDIT: Look here for instructions http://xdaforums.com/showthread.php?t=1726238 or here https://wiki.cyanogenmod.org/w/Doc:_debugging_with_logcat/de

type "adb devices" before to check if you device is recognized

There is another assumption. I never get harmed by, but i have read somewhere that cm12.1 needs the latest motorola firmware to work properly, otherwise you get some other errors, like a none working phone speaker. Therefore, did you update your phone to the latest stock lollipop rom before, or did you switch from any kitkat rom? If it is the latter there is a method to flash the latest firmware files manually.

But i never did this because i didnt need that. If you search around in the other threads you will find the correct instructions. Be carefull! If you flash the wrong files you can brick your phone, so be sure you grabbed the correct firmware for your phone model.
[Moto X Q&A] braumeisteresche:
Hi,

I had stock 5.1 running and changed to CM 12.1 in the hope this would solve the camera issue.

Getting the camera to crash seems not to work atm.

Will post the log file as soon as I manage to get the camera to crash.
[Moto X Q&A] tycoo:
Allright,

btw i am using the moto camera from this thread and can recommend it:

http://xdaforums.com/moto-g/themes-apps/app-moto-camera-exposure-control-gallery-t3124309

There are some more camera versions in the moto g apps and themes forum which will work too i guess
[Moto X Q&A] braumeisteresche:
another log

Hi,

Finally I managed to get a log file with the camera app crashing.

http://d-h.st/RuH4

I switched to the moto cam as well (the one you posted).

The moto cam is just the best :D

thanks
[Moto X Q&A] tycoo:
Isn't it the same log you posted before already? There is nowhere an entry with "Start proc ...camera...bla bla"
[Moto X Q&A] braumeisteresche:
Seems like I made a mistake along the way.

Now I did:

- "adb logcat -c"

- "logcat -d -f /sdcard/logcat.log *:V"

- "adb pull /sdcard/logcard.log"

The file now contains "camera" quite a bit (I started the camera twice and it crashed both times).

http://d-h.st/IXRQ

Thanks.
[Moto X Q&A] braumeisteresche:
Hi,

Thanks for your reply!

I will look for that kernel of yours and will try it later today.

The issue seems to be a bug according to google.

It appears on various phones (nexus, Samsung, etc.).

Some fixes are available as well (I tried them all).

Cheers

Gesendet von meinem SHIELD Tablet mit Tapatalk
[Moto X Q&A] braumeisteresche:
Hi,

I finally installed your kernel. Also I had to fix the GPS as well (deleted modemst1+2).

The camera worked for 2 minutes then wouldn't start anymore.

Maybe it is a hardware defect after all. Too bad :(

Looking for a good replacements at the moment - one plus two might be an option...

Thank you for your help!

Gesendet von meinem Moto X mit Tapatalk
[Moto X Q&A] tycoo:
Tja, das ist Mist. Weitere Ideen habe ich im Moment auch nicht. Sorry
[Sony Cross-Device Development Themes and Apps] Toxizen:
Mod edit: Content removed.

Rule#2.4
[8525, TyTN, MDA Vario II, JasJam General] cmay382:
Hi there,

Can somebody give me some advice please? Have a Vario II and it's been working perfectly for the last couple of months using WM 5 and PIE. However, now whenever I try and save any image from PIE the error message "Error: Unable to save the file." appears!

Can anyone help me out?

Thanks.
[8525, TyTN, MDA Vario II, JasJam General] deHustla:
hmm..that's odd..i'd never encounter a problem like this before,even on PIE! even my iPAQ 5450 running on wm2002 doesn't have this problem..better have the experts here fast!
[8525, TyTN, MDA Vario II, JasJam General] cmay382:
Any ideas guys?
[8525, TyTN, MDA Vario II, JasJam General] cmay382:
Bump.............
[8525, TyTN, MDA Vario II, JasJam General] cmay382:
No experts out there??
[8525, TyTN, MDA Vario II, JasJam General] shaknbak:
I ran into the same problem... In my case I think it was a problem with the number of files in a given directory. That said I created a new folder and moved the existing files there. After which I tried the download again and it worked.

Maybe worth a shot.
[Fuhu Nabi 2] BlueMarble:
I have a Nabi 2 and I am fairly new at this. I tried to root using the jmzrootpackage path and was able to install twrp 2.2.2.1. even though installation had some fails and differed from the tutorial. I did not update the product version with OTA updates and it is at version 1.0. Now with twrp installed OTA updates do not work. So, I am trying to go with a fresh start and recover it to stock so I can do OTA updates and re-root. However, I am not sure how to do this. I tried following this tutorial http://xdaforums.com/showthread.php?t=2074501, but this links to the downloads are broken.

Thank you for any help you may offer.
[Fuhu Nabi 2] BlueMarble:
Okay somewhat figured it out

I updated twrp using this guide here http://xdaforums.com/nabi-2/general/nabi-information-t3229119 .

Then, luckily I found another user with a Nabi 2 with Disney that was in a similar situation and followed the guide there http://xdaforums.com/nabi-2/help/nabi-2-disney-return-to-stock-dummies-t3212480 .

Now I am updated to 4.4.2 KitKat and it seems I am up to date on the OTAs since it is not showing any new updates available. I also did not install SuperSU when it asked at the end of my stock recovery because it wanted to root my Nabi when I need it to be unrooted for potential OTAs.

I guess I am moving onto figuring out how to remove all the bloatware.
[Fuhu Nabi 2] BlueMarble:
Okay, since I did not install SuperSU I am guessing I did not root it at all. Is there a process to root with SuperSU or do I have to restore with the stock again. I wanted the Nabi 2 to be a pure android tablet as possible, so I deleted as many non-Gapps as possible. I am left with the usual Nabi ones that are not removable without root. So should I live with the Nabi Apps or root it and remove them. Any tradeoffs once rooted?
[Fuhu Nabi 2] aicjofs:
You don't necessarily need "root". You can delete what you want through TWRP.

You can root by downloading the zip

https://download.chainfire.eu/696/supersu/

Then install the zip in TWRP. There aren't really any bad trade offs to have root, at least as far as losing functionality.

As far as TWRP goes. It actually can handle a lot of the OTA's just not all of them.
[Fuhu Nabi 2] BlueMarble:
I was able to delete some in /data/apps. It was grouped with some Gapps and personally downloaded apps. There were some apk files that I could not find through twrp's file manager. For example, there is a Cinderella ebook apk that I cannot find along with other Nabi apps. I checked /system and only came upon an empty /bin folder. Also, did not see any /vendor folders either. Nothing in addon_res as well.

Thanks aicjofs, your posts have been helpful along the way.
[Fuhu Nabi 2] aicjofs:
In TWRP look in the mount tab and make sure "addon" is mounted(checked)

Then look under just /addon in the root.

Edit: same applies to "system", make sure it's mounted. That's why those directories are empty.
[Fuhu Nabi 2] BlueMarble:
Thank you, you are the man! They were mostly in /system/priv_apps. However after deleting everything with fuhu attached to it, the parent mode home screen has droid icons for all the deleted nabi apps. They cannot be moved to a trash can.
[Fuhu Nabi 2] aicjofs:
There is an app cache you can clear that will probably remove them. I do not know which one though.
[Fuhu Nabi 2] BlueMarble:
I was able to clear them by going to Settings>Apps>All>Launcher>Clear Data. Google Play, Google Folder, and Settings were left over, including a small nabi launcher on the bottom. I tried to see if I could get rid of the Parent mode home screen. It seems to be tied to the Launcher system app and requires a root. I deleted a Launcher2.apk before and the system did not fully boot and I had to restore. I also tried to use some App disabler/feezers but Launcher did not show up in either.
[Fuhu Nabi 2] BlueMarble:
Decided to install Nova launcher over it. It is still in the background running, but Nova has automatically replaced it.