yashsingh1/xdaforums huggingface dataset:
[SuperSU] digitalhigh:
Hi [MENTION=631273]Chainfire[/MENTION],

So, a while ago, I posted in the Liveboot thread inquiring as to how I'd go about incorporating liveboot into a ROM so that it could just run on first boot.

Your instructions were to chmod 0770 both the files and folders in su.d, and it should work:

However, I tried this, and never got it to work, and essentially moved on to other stuff for a while.

Today, I tried to revisit it, and while I was at it, replace my current init.d stuff with su.d.

So, I created the folder in /system which gets copied with t he rest of the ROM on install. I'm setting folder and file permissions to 0700, owner and group to root, SE context to u:object_r:system_file:s0, which, is exactly the same as what I'm seeing on 0000liveboot when I look at it's info.

This leaves two questions.

One, the above quote you say to set it to 0644, but liveboot itself sets it to 0700 when it installs it.

Two, what is the trick to getting other scripts to work? In your "How to SU" guide, you mention this:

Setprop supolicy.loaded. Where am I supposed to do that? You say execution of those scripts is kernel-dependent - you're referring to init.d, yes? So, again, what am I missing?

This is 5.0.1 GPE for M8VZW. I have selinux set to permissive via boot image in init.rc, and verify that "getenforce" returns "permissive" from shell.

Any help you could lend would be greatly appreciated - which is also why I'm posting this as a thread...because su.d sounds like an awesome idea, and I bet more devs would like to start using this method over init.d.

Thank!
[SuperSU] Chainfire:
liveboot sets the script that gets run by SuperSU to 0700. The script which I said to be set 0644 is a different script, and is not executed by SuperSU, but by liveboot.

You don't. SuperSU sets this. Kernel developers can hook this event to run their own code.

Yes, not all kernels support init.d, and init.d stuff generally runs before SuperSU patches policies, so there's no guarantees about any SELinux state.

I don't know. Make sure you are running the latest version of SuperSU (2.46 at the time of writing). Make sure /system/su.d is chmod 0700. Make sure the scripts you want to run are also chmod 0700 and #!'d to a working shell executable. Keep in mind that the scripts are called one-by-one, in a blocking way. So if a script never exits, the next script isn't run.
[SuperSU] LazerL0rd:
Deleted
[SuperSU] gokart2:
Say I have SU v2.62. I have 2 files in my /system/su.d folder. The first file doesn't have an exit, neither does the second. The second file DOES get executed as it sets selinux to permissive at boot as directed. First file is 0700 (text file), second is 0755 (a .sh file).

Now, I want to take an init.d setprop script and try it via su.d.

1) Do the other files need exit commands?

2) What should the third file (setprop file) be set to, 0755? A .sh or text file?

3) Are the other two set to the correct chmod?

Thank you for any input!

EDIT: Left it as text, and 0755. No exits, and it worked?
[SuperSU] Bob May:
Using su.d to disable doze

Is it possible to use su.d in order to load a script that disables Android doze mode?

I'm trying to run this script:

#!/system/bin/sh
dumpsys deviceidle disable

Script file is located in root\su\su.d

Permissions are set to 0700.

However, script is not loaded automatically during the boot, because if I run the script manually in SManager I get a response Idle mode disabled, which means su.d script wasn't loaded.

Currenlty I use SManager to execute this doze disabling script automatically on every boot, but I wonder why wouldn't the same script work using su.d?

I use another su.d script that disables LED back-lights of hardware navigation buttons and the script works just fine.

I'm using SuperSU v2.82

Thanks for your input.
[Galaxy S6 Original Android Development] Perseus:
Please be aware that the Android kernel, as all Linux kernels, falls under the GNU General Public License. This means that all development containing a kernel must comply with the GPL.

In short, you MUST publish the source used for the kernel you are sharing, per the GPL:

A note to ROM developers:

Using a non GPL compliant kernel makes your rom non compliant and subject to removal.

If you are using another developer's kernel, linking to that kernel's thread will make you GPL compliant as long as the kernel in question is already GPL compliant.

For more details see below:

XDA-Developers and the GPL
[Nexus 6 Q&A, Help & Troubleshooting] Danger_zone0:
So i recently bought a nexus 6 from att..

I had rooted it an unlocked the bootloader.

after a few days OI have decided that I dont really like the size of it and want to return it for something else.

I followed the guide to unroot it and all that, but when I get to the step of booting into recovery, it says no command..

So i tried to continue to follow directions by holding the power+ volume up key to boot into recovery, and then it just boots through to the setup screen..

am i finished or do I need to re flash the recovery?

Thanks in advance for any help provided.
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
i dont know what you did, but all you have to do is flash the factory img via fastboot.
[Nexus 6 Q&A, Help & Troubleshooting] Danger_zone0:
Okay, so I should be good to go to return the device?
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
if you did the factory img, then yes. is your bootloader locked? if it isnt, via fastboot.. fastboot oem lock :)
[Nexus 6 Q&A, Help & Troubleshooting] Danger_zone0:
I followed this guide to the letter, except for this part:

"- After everything finished, select "Recovery" using the volume buttons.

- When a small Android appears, press Power Button + Volume UP.

- Select "Wipe data/factory data reset"

I didnt get the option to do any of that, should I assume that its all good and clean?

I do appreciate your help, and I am just trying to cover my tracks haha.

I was just concerned that I couldnt get it to go into recovery to do that final wipe, I dont want to have to pay for it from ATT..
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
if you boot into your bootloadee, then press the volume keys to choose recovery, then press recovery, do you boot into its recovery or do you get an error?
[Nexus 6 Q&A, Help & Troubleshooting] Danger_zone0:
I get the little dead android that says no command, and I hit the volume up+power and when I release the power button, it just boots like normal
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
well, you can easily flash the recovery via fastboot, just to make sure you got it.
[Nexus 6 Q&A, Help & Troubleshooting] Danger_zone0:
okay! thanks so much for your help!

think I should just do it all over again?
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
reflash the stock img? na, your probably fine. you can reflash just the recovery, if you want. but i think youll be fine.
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] fearofbirds:
Hi - my repairer says I need my 'Printed Circuit Board' needs to be replaced and that it will cost me $300 (AUD) because there was a custom ROM on the tablet. I can't afford that, so am going to try to get it working myself. Can installing a custom ROM REALLY physically damage the circuit board? Seems unlikely to me (though i'm not an electrician or anything).

Thanks!
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] SANGER_A2:
Of course it can't physically damage the circuit board! However, if you did a bad flash and it messed up the software so it can't boot into anything including download mode etc then there is no other option than to replace the rom chip (ie the whole board).
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] :
No need for two threads on basically the same topic.

http://xdaforums.com/xperia-z2-tablet/help/sony-refusing-to-repair-device-t3032152

Please stick to one thread for similar issues.

Thanks! Thread closed.

Darth

Forum Moderator
[Galaxy S 5 Original Android Development] Perseus:
Everyone working with GPLed code, in our case the linux kernel which is under the GPLv2, needs to understand how the licence affects them, and the work they put out on XDA developers, to aid understanding a good write up of this issues has gone up on the portal, you can read it here;

XDA-Developers and the GPL

GPL compliance is taken very seriously on XDA, but at the same time I remind people to report anything via the proper channels rather than confronting anyone in public, which always does more harm than good.

A note to rom developers:

Using a non GPL compliant kernel makes your rom non compliant and subject to removal.

If you are using another developers kernel, linking to that kernels thread will make you GPL compliant (assuming that the kernel in question is compliant)
[Xperia Z2 General] nickmarinho:
Hello guys, sorry for post this but it's just for clarify some things.

Anyone knows if have one firmware that after flashed the wi-fi and fm radio work as well ?

I flashed with flashtool the 17.1.A.2.55 android 4.4.2 and the wi-fi just don't turn on.

I have wi-fi issue and searching in google, i have no answers.

One guy said that clicking in wifi icon some times about 10-15 minutes his wi-fi turned on again, other guy said that turning on airplain mode, turn off and turn wi-fi on did work.

I tried all that I found but no sucess.

Please, any help is appreciatted. Sorry for my english
[Xperia Z2 General] bdithug:
I would try flashing a current firmware ftf file (your region's 167 firmware or equivalent). If you didn't want to upgrade to 4.4.4, then at least try the 314 firmware as even that is more recent than 55.
[Nexus 5 Q&A, Help & Troubleshooting] dakki12345:
hi guys im planning to buy a used nexus 5.. i tried to press the search button but i didnt get to find anything

so basically im gonna buy a Nexus 5 on Bell network.. but its already factory network unlocked(according to him)

so my question is.. can i still install custom Nexus 5 Custom Roms in this phone?? because i was woried that nexus on different network is like korean galaxy s vs international version galaxy s

and also can you add something that i should double check??? like there might be something why is it so cheap(150$)

thank you for reading this.. and if you ever found something on search button.. im sorry.. i tried to look
[Nexus 5 Q&A, Help & Troubleshooting] dicecuber:
I don't see why not
[Nexus 5 Q&A, Help & Troubleshooting] scibuff:
I recently bought a used Nexus 5 on Swappa for 165 USD, however it has a bad ESN. Be sure to thoroughly check if the phone is functional, a Nexus 5 for that cheap will likely have a crack on the screen or a bad ESN.

Regardless, the phone should be bootloader unlockable and able to flash custom ROMs.
[Nexus 5 Q&A, Help & Troubleshooting] _MetalHead_:
It's a nexus not a galaxy, of course you can flash custom ROMs, regardless of what carrier it's on. And as far as any other advice is concerned... just be smart about it- test it with your SIM, check the ESN, test everything else, visually inspect it, maybe bring a laptop to make sure the USB connector is good. If you're concerned about the price then ask the seller in person why it's so cheap.
[Nexus 6 Q&A, Help & Troubleshooting] trieo007:
Hi guys, I'm experiencing a message "error updating binary zip" thing while trying to flash a liquid smooth rom on my nexus 6. Please help me. Thanks
[Nexus 6 Q&A, Help & Troubleshooting] BoxyBox:
You might need to update TWRP; what version do you have installed? It should be listed at the top in recovery.
[Nexus 6 Q&A, Help & Troubleshooting] SAW_JOK3R:
Download this App from PlayStore and you'll be able to find the latest TWRP here :) It'll automatically flash the recovery and give a try to flash the ROM again :)
[Nexus 6 Q&A, Help & Troubleshooting] trieo007:
Tried it now and I still have the error while flashing. My version is 2.8.5
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
Might be they use an old update binary in the zip. Ask in the ROM thread.,
[G 2014 Q&A, Help & Troubleshooting] SibaNL:
How can i enable the volume warning after disabling it? Usually it would be back when i restarted my device, but since the Lolipop update this is not the case.

I'm running Android 5.0.2 to be exact.

And i'm not looking for answers like "it's better without it" i have very loud earbuds and i want to have the warning!
[G 2014 Q&A, Help & Troubleshooting] notiflux:
How did you turned it off?
[G 2014 Q&A, Help & Troubleshooting] SibaNL:
It gave the warning, i pressed volume up and it was gone.
[G 2014 Q&A, Help & Troubleshooting] oscillat0r.lfo:
You're not alone. At least two users more are experiencing it (including me): http://xdaforums.com/moto-g-2014/help/safe-headset-volume-warning-lollipop-t3031908

I don't know why is there so much silence regarding this issue. It's so annoying.
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] jpet11580:
Somebody please help! I am racking my brain on why i cannot load the OA6 full restore onto my sprint G900P. I had no problem restoring the leaked NKD Lollipop and have been running on it for some time. When i load the new software Odin 3.09 loads all the files and when its done the stock recovery does dot boot it stays at the samsung splash screen and freezes when it says " opening recovery" and never loads or continues.

The second thing that is strange is is it will not allow me to revert back to the stock NE5 firmware either. I am basically stuck on the NKD firmware. Some instruction would help, thank you.[/QUOTE]
[G3 Q&A, Help & Troubleshooting] trippinz:
Hi, I rooted my G3 after downgrading to KitKat. I downloaded the Chuppa Rom and installed it successfully. I've flashed a recovery successfully too. I've got a SuperUs app but it doesn't seem to work. When I go into Titanium Backup and ES file explorer and when they ask for superuser permissions and I click 'grant', they say that there was an error or that there's no root permissions given.

How do I proceed?
[G3 Q&A, Help & Troubleshooting] android-incredible:
download supersu from the play store.
[G3 Q&A, Help & Troubleshooting] joooe:
Had the same problem.

It was solved by flashing the zip version of supersu.

It's in supersu thread (CWM / TWRP / MobileODIN installable ZIP)
[General Questions and Answers] dedy_ardana:
hey.. i got problem with my xperia acro s wifi , every time i try to connect to a wifi, its only saved but can not connect , i have tried to factory reset, repair using PCC , but nothing work, and i think i got this problem after flashing into CM11 for the second time after formating all my phone strorange (it was an accident) , if have been tried to relock my bootloader but also did't work ,

PLEADE HELP ME... TO FIX THIS PROBLEM

sorry for my bad english
[Android Stick & Console RockChip based Computers] jeno1957:
I have a fake chineese Mini PC stick with Rockchip RK3066 and RTL8723BS WiFI and Bluetooth, 1GB/8GB.

Printed on the case: MK809 III Android 4.2 Mini PC Quad Core---it is a dual core !

I have made also some extra holes in the front to open it up for wifi antenna signal --plastic was shielding it !

Memory chips are : Two Samsung chip

The ROM has a white sticker:

E809 8G/1G

2014.10.11

XT201409294187

Tried to flash already some ROMs, none booted up, needed to reload vendor supplied original ROM.

Looking for a suitable ROM for this device, any suggestion ?

Thanks!
[Android Stick & Console RockChip based Computers] andrev2000:
Have you this original ROM. I have this same Stick. Dont work with any custom ROM. I havent make backup :(:(:(:(:(:(:(:(
[Android Stick & Console RockChip based Computers] jeno1957:
Give this one a try:

change xx to tt

hxxp://pan.baidu.com/s/1qWGuqbM

it is for a Rk3066 with Rtl8723 BS wifi 1gb/8gb

use Rkbatchtool to flash it ---update or restore

good luck
[Android Stick & Console RockChip based Computers] andrev2000:
Unfortunately it still didnt work :(

Could you send me your backup ROM?

My original android version was kitkat 4.4 but your 4.2 should work too, becouse we have the same hardware.
[Android Stick & Console RockChip based Computers] andrev2000:
With this Rom:

hxxp://pan.baidu.com/s/1qWGuqbM i have black screen like 90% others ROM.

Android will load only with that both:

hxxp://chinagadgetsreviews.blogspot.de/2014/11/download-android-kitkat-44-stock_28.html

hxxps://mega.co.nz/#!iV0hgS4b!ELMBLEnDgt906yTkNYIsUFIdAnt_-HN2YwW3nnRMxjU

but without wifi and bluetooth.
[Android Stick & Console RockChip based Computers] Tziga:
hi Jeno, i'm stuck in your same problem, can you host the image file somwhere else? broken link.

thank you :)
[Android Stick & Console RockChip based Computers] marcianojm:
china

I found this link but I can not download because of that registry checker in Chinese!

If someone please get save to another site and leave the link here!

change xx to tt

hxxp://pan.baidu.com/wap/link?uk=149...359029&third=0

Read More at : hxxp://freaktab.com/forum/tv-player-support/rk3066-devices/23652-firmware-for-mk809ii-rk3066-rtl8723bs-wifi
[Android Stick & Console RockChip based Computers] surroundedbydrones:
Firmware & 1080p/720p OC Kernels Available

Over at Freaktab I've uploaded updated firmware and kernels for the MK809II / XT-E809-V10 with RTL8723bs WiFi/BT chipset.

Separate kernel images uploaded as well for those with their own ROMS already up and running.

http://freaktab.com/forum/tv-player...nels-for-rk3066-xt-e809-v10-mk809ii-rtl8723bs
[Galaxy Note 4 Q&A, Help & Troubleshooting] simonhcai:
Hi everybody...I'm on German lollipop version on my n900f and when I go to set an alarm the option to choose separate days is missing,I only have option for repeat so if I want a one off alarm for say a Wednesday there's no option....has anybody else got this problem as I don't need repeat alarms all the time....cheers.
[Galaxy Note 4 Q&A, Help & Troubleshooting] liquidguru:
I have the N910H running lollipop. When I go to set an alarm, I press the repeat option and I have all the different days of the week to choose from.

sent from somewhere
[Galaxy Note 4 Q&A, Help & Troubleshooting] liquidguru:
View attachment 3172726

sent from somewhere
[Galaxy Note 4 Q&A, Help & Troubleshooting] simonhcai:
Hi I have same option but I don't need to repeat the alarms every week,before you had the option to choose single days and repeat days and not have to repeat them for each alarm ...it's strange why they have done that because you have to go back into the alarm and cancel the repeat one every time you set an alarm you only want to go off on one day only...
[Moto G Q&A, Help & Troubleshooting] jejer:
As you know Moto G will occur GPS issue after flash CM from stock.

GSM/WCDMA user can follow OP to erase modemst1 and modemst2 partition to get recover.

But XT1031, CDMA parameters also stored on these partitions.

Erase modemst partitions will fix GPS but lost CDMA signal.

I have tried to dump modemst1 and modemst2 partition in stock ROM then restore them after CM instillation. After restore, CDMA and GSM all NOT work. Looks like in CM install procedure, CM will make some modification on NVRam and/or modemst. And some critical GPS parameters are corrupted or not read properly.

Does any one know how to fix this without erase modemst partitions?

Thanks in advice.

BTW, I am using XT1031 with SIM slot MOD, which make it to use China Telecom SIM card. I have to do some modification on NVram. But everything works on stock 4.4.4 , so I think the GPS is common issue.
[LG Optimus G (International)] M.M.K:
----------With This mod, you will have:

1. G3 style notification panel,

2. white (Kitkat style) icons in status bar,

3. lollipop style navigation bar!

I've made this mod on myself, but the idea was for antonio.talamo(thank you)

----------Requirements:

1. Optimus G 4.1.2 - 4.4.2 stock Rom (may work on stock based custom roms)

2. Root access & nothing more.

3. MUST work on both odexed & deodexed roms...

Nothing is going to be wrong BUT ALWAYS HAVING A BACKUP(copy of original system ui.apk) is absolutely necessary!

------------Instrutions:

Flash the appropriate flashable zip through recovery or:

1. You must have a file manager for editing LGSystemUI.apk, X-PLORE file manager is always highly recommended:

2. Download the appropriate zip from attachments, open the customization folder, open res, open drawable-xhdpi & select all those pics & copy(replace) them with the original files in LGSystemUI.apk in the same folder & directory.

3. Replace your new LGSystemUI.apk with the original one in system/app(4.1.2) or system/priv-app(4.4.2)

4. You MUST always restart your phone to get the right result! Force closes before restarting are usual! You've replaced a running app, right? Hold power button 10 secs if force closes are too fast.

-------------------Done! Enjoy!:angel:

It WILL work on jellybean(tested) & kitkat(tested)!

I've tried to fix all the issues that have been reported, so it must be perfect now!

I haven't test the kitkat mod by myself, so If there are any bugs in kitkat, please report it!

:)Flashable zips are here! But please test them & report the result,they must work!:)
[LG Optimus G (International)] M.M.K:
------------------editing apk files with X-plore file manager:

hold on an apk file & select "open APK as ZIP" & then you can modify APKs easily

-----------Enabling the Navigation Bar(recommended):

First I must say there's an app doing the job perfectly named gravity box!(also it has expanded mode to hide navbar to use default camera app, but I rather using these two methods which WORKS PERFECTLY ON JELLYBEAN(tested), BUT ON KITKAT, MIGHT CAUSE BOOTLOOP!NOT TESTED, while I say it won't cause!do it on your own responsibility!, but the gravity box method works good):

1. If you want to enable navbar in Optimus G or any other devices, Download build.prop editor (android app) & after making backup with the app, insert qemu.hw.mainkeys & set its value 0. RESTART

2. Or you can go with x-plore to system/ (& backup build.prop somewhere), then open it & copy qemu.hw.mainkeys=0 to end of the texts.insert an empty line before it so that it works. RESTART

3. for disabling the navbar, simply restore the build.prop backup or delete that line.

----------how this mod works?

this mod will replace only some pictures in systemui, so every time you want the original notification, you can restore your original SystemUI.

If you don't like a change, easily delete its picture from mod folder & copy pics again to the original copy of LGSystemUI.apk.

!! remember to have the original LGSystemUI.apk file somewhere safe !!
[LG Optimus G (International)] M.M.K:
Some good Tricks:

If you want to hide the Qslide, try geemod, which is an Xposed module & can hide whatever you want in notification panel & some other tweaks.

If you want to have changeable status bar & navbar colors same as action bar(flat style like my screenshot, you can use FlatStyleColoredBars! Even on 4.1 like myself. All the credits goes to ibocharov, that's a great module & worthy to buy the pro if you like!

BUT IT'S ONLY FOR 4.3+! BUT NO PROBLEM, install Xinstaller Xposed module & disable checking sdk version & it will be installed & will work on 4.1 jellybean perfectly!

NOTE: use the 0.63 or lower versions of flatstylecoloredbars on jellybean, the newer versions cause serious force closes! If you've already faced the problem, use Xposed recovery mode:

Restart the phone,once you see boot animation, press volume down four times or more!

That's how I solved the problem on my (locked bootloader-no custom recovery) device!

The 0.63 version that I've already been using, is perfect for jellybean, I've attached it(edited,works with 4.1 without other modules :P )

By installing gravity box, you can enable & edit & hide(with shortcut of expanded mode) navbar when you want easily(e.g. when using default camera app or watching movies)!

If you want huge mod for stock apps on jellybean, this is the mod:

http://xdaforums.com/optimus-g-intl/themes-apps/huge-ui-mod-stock-apps-jellybean-g3-t3049359

Also some Beautiful Boot & Shut down animations here:

http://xdaforums.com/optimus-g-intl...otshutdown-t3124389/post61095078#post61095078