yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] threader:
After dabbling around in some murky waters trying to achieve root, and going trough some 2010 stuff I did, I did discover a method I devised back then works to some extent, strangely.

Using fastboot (boot) to a TWRP recovery image (TWRP_v2.8.6.0_honami-f2fs_from_cm12.1_150423.img), mounting /system, and pushing a version of busybox, bash and using the supersu su binary already in the TWRP recovery image.

boot-new.img.bz2.zip (rename to boot-new.img.bz2 before extracting -.Just TWRP_v2.8.6.0_honami, with a different kernel and dt image included to boot from fastboot)

bash and busybox i compiled from git and debian sources yesterday/today

Basically this; (use only for reference.)

# Magically push all files in place here.
# Optionally, move /system/bin/sh out of the way and link /system/bin/sh to bash
./"$ADB" shell "chmod 755 /system/bin/bash && chown 0.0 /system/bin/bash"
./"$ADB" shell "chmod 4755 /system/bin/busybox && chown 0.0 /system/bin/busybox"

# TWRP
#./"$ADB" shell "cp /supersu/su /system/bin/_su"
./"$ADB" shell "cp /supersu/su /system/bin/su"
./"$ADB" shell "cp /supersu/supolicy /supersu/su /system/xbin"

./"$ADB" shell "cp /supersu/libsupol.so /system/lib/"
./"$ADB" shell "chmod 0644 /system/lib/libsupol.so && chown 0.0 /system/lib/libsupol.so"

./"$ADB" shell "cp -r /supersu /system/app/SuperSU"
./"$ADB" shell "chmod 0755 /system/app/SuperSU && chown 0.0 /system/app/SuperSU && chmod 0644 /system/app/SuperSU/SuperSU.apk"
#

#./"$ADB" shell "chmod 4755 /system/bin/_su && chown 0.0 /system/bin/_su"
#./"$ADB" shell "echo "busybox su -c "_su"" > /system/bin/su" # or busybox su -c "_su -c /system/bin/sh-org"

./"$ADB" shell "chmod 4755 /system/bin/su /system/xbin/su* && chown 0.0 /system/bin/su system/xbin/su*"

# Quite dangerous - Suggest moving passwd when in normal use
./"$ADB" shell "echo "root::0:0:0:/root:/system/bin/sh" > /system/etc/passwd"
./"$ADB" shell "chmod 0644 /system/etc/passwd"

Next step, to remount /system with write permissions from a normal boot, I think, would be to modify boot.img/default.prop and set "ro.secure=0"

Thought I had done this prior, I run with touch disabled as I cracked my screen (impressively massive drop of at least 30 cm! - onto object.. ) ... I could not remount system when I first tried.

Notes:

If i adb in early i can use supersu/su to gain root, when system is loaded busybox su -c ""supersu/"su" works. - NO AUTH
[Xperia Z1 Original Android Development] threader:
Hm, updated SuperSU via google play and suddenly it realized it was rooted . = ) Still keeping the supersu/su intact in /system/*bin
[Xperia Z1 Original Android Development] threader:
Thankfully I've been unsuccessful in grabbing root from /data/local/tmp this way as of now. Seems the permissions are reset. Though getting root without any auth is a serious matter no matter how you flip the coin. At least it's not as easy as pushing an archive to /data/local/tmp and running busybox su -c su. Also with a modified busybox you could easily skip the part where I write a /etc/passwd with no password.. Incredibly handy if you need root without Android running, say with setprop ctl.stop zygote, media and bootanim. But incredibly dangerous!
[Xperia Z1 Original Android Development] threader:
Fastboot to attached TWRP and install [STABLE][2016.02.02] SuperSU v2.65 - http://xdaforums.com/showthread.php?t=1538053 - drop the zip to somewhere on the device and use the install function, i installed supersu via google play first. Attached is the kernel image i'm using. On a side-note, the script above failed .

Apart from this, the attached gnu-tools i will have to update... Got a neon flags optimized for out cpu and all, but that's for a different day.

Cheers, have a good one mates
[Xperia Z1 Original Android Development] LuciIT:
Noob question: what is the difference between using this method for root and kingroot method? Which is better to use?
[Xperia Z1 Original Android Development] threader:
I've not checked Kingroot. But my thought is not to rely on nasty kernel exploits and have an as clean as possible root. Kingroot was not working when i first started this post. Also i dont leave system read write mountable. To do system modification i fastboot the TWRP image
[Xperia Z1 Original Android Development] DectonX:
Kingroot give you root but not supported and their binary are weired but when you replace it with supersu you can't mount system read/write cause of ric but thanks to Chainfire and his tools I find way to root with kingroot and replace it by supersu and disable ric
[Xperia Z1 Original Android Development] threader:
Noticed my boot img was rebooting sometimes, went off and updated my compiler toolchain and had a look at the kernel and recent developments.

Had a look at X-Honami v6 and ported some parts of that effort to the latter Sony kernel used in 14.6.a.1.216.

* Messed around with memutils and implemented ARM_PLD_64BYTE and USE_LDRDSTRD_OVER_LDMSTM atop memutils from the Xperia-dev unified kernel. - this needs some testing but appears to be stable at least with the options turned on.

* Slight overclock of GPU to 533 mhz, and underclock to 27 mhz on idle.

* Has kexec hardboot

I cannot busybox su -c su with this kernel. Which is only useful for developers anyway. You'd be wise in running some benchmarks before and after the flash.

Kernel needs to be flashed via fastboot.

Source:

https://github.com/threader/kernel-copyleft-14.6.A.1.xxx-backports/
[Xperia Z1 Original Android Development] VikasG09:
I have rooted my phone with king root , downloaded SuperSU-ME-PRO_9.3.8 to replace kingroot with supersu but the app stucks in middle while processing data. Can you please help me with the following things:

1. Which chainfire apk to use to replace kingroot with supersu (kingroot ver is 4.9.2)

2. I need to install Xposed framework, for which i belive i need to flash a recovery. As i am on stock based kernel and rom can you help me which recovery should i flash and further steps to get the xposed framework in my xperia z1 (5.1.1)
[Xperia Z1 Original Android Development] VikasG09:
Ok i have done step #1 by manually updating supersu and it deleted the kingroot by itself. Now i need answer for #2 only, Which recovery should i install in stock based rom ?
[Xperia Z1 Original Android Development] DectonX:
long steps but 100% works

1. Download kingroot and root your phone

2.Download replace kingroot with SuperSU and extract it to internal memory

3.Download XZDual Recovery for your phone

4.Download Terminal emulator for play store

5.Download FlashFire by Chainfire from play store

6.Download SuperSU zip package

what you will do

1. Get root using kingroot

2.open terminal and write

su
sh /sdcard/mrw/root.sh

3. it will open SuperSU.... press update manual

warn : Don't click Reboot, if you rebooted phone ric will work and you will not have access to system partition

4. open FlashFire and grant SuperSU then press on lighting button

5. choose XZDual Recovery zip file and tick auto remount and press on flash or lighting button

black screen will apear preparing files and flash it then phone will reboot

6. when you see the green led press vol down to enter TWRP

7. flash SuperSU package

Note : if there is bootloop , enter recovery and go to setting> fix premission

and reboot

now you have SuperSU working 100%

Notes : no recovery will bring you xposed.... just try to open Xposed thread and download the package for your SDK

the recovery i use is XZDual Recovery from [NuT] it's very good for locked bootloaders

hit thanks if helped
[Xperia Z1 Original Android Development] VikasG09:
Thanks a lot.. :)
[Xperia Z1 Original Android Development] threader:
I still suggest using the fastboot method with the TWRP boot image attached in the first post, mount the system partition, select install Zip SuperSu, xdaforums.com/showthread.php?t=1538053 .

Cheers

I've got a kernel-copyleft-14.6.A.1.xxx to finish up and officially forum post ; ) https://github.com/threader/kernel-copyleft-14.6.A.1.xxx-backports/ . And update and official post might come this week. Been running this for months now and its stable, and fast, whee.
[Xperia Z1 Original Android Development] kov3nantgaming:
I just used kingroot, unlocked bootloader, flashed dual recovery, flashed prerooted Rom. That's it. Easy as pie.
[MTCB Android Head Units Q&A] oscarantxo:
Hello,

I'm trying to remap a physical button on my radio (Huifei RK3188) Erisin 2246B with Android 4.4.4 Malaysk rom . I have obtained the button code using Car Service program (in this case, code 43). I want that button has the HOME function. So, I have created the mtc-keys.ini file with the following line:

action_43=home

I created the mtc-keys.ini file in the mtc-keys folder and I put this folder in mnt/internal_sd.

I have Xposed framework installed and I have installed mtc-keys module. But still not working. What do I do not do it correctly?

Could you give me some advice?
[MTCB Android Head Units Q&A] maximosm:
Hi. I am with original rom. Is possible remapping the physical buttons without root?

Στάλθηκε από το ONE A2003 μου χρησιμοποιώντας Tapatalk
[MTCB Android Head Units Q&A] Tumke32:
Place the mtckeys.ini on the external sd
[MTCB Android Head Units Q&A] Scubacruiser:
Copy the mtc-keys folder to your external SD, not just the file.
[MTCB Android Head Units Q&A] panteryx_26:
well did it work ?
[Nexus 6P Q&A, Help & Troubleshooting] vivithemage:
I got a new 6P from google to fix an issue I had. Both are running 6.0.1. I copied a few directories over to my PC from my old phone. Then spun up my new one, and copied them across. I can see the files in a file browser, but for some reason smart audio player app does not see them. I can push the 'grant write permission' and it lists my default storage as: "/storage/emulated/0" which is where the directories are. I can then see my books, but they are not showing up in the app to be able to play for some reason? I am wondering if it's permissions? On my old phone I could see everything (even stuff not in my audio book directory) when trying to browse for book source/root.
[Nexus 6P Q&A, Help & Troubleshooting] vivithemage:
oy, it was permissions. The app never asked to see/read storage, so I dug into app info, and manually gave it permission there, all good now!
[General Topics] duongthinh441:
Please update Cm13 for Lg Gpro, thanks alot !!!

Gửi từ LG-F240L của tôi bằng cách sử dụng Tapatalk
[XDA Assist] devlsm:
i searched the forum since yesterday for some infos about rooting my desire 816 but can`t find aditional datas about rooting it while i have 5.0.2 on it.Doest it work to root it with this tutorial? http://xdaforums.com/showthread.php?t=2775801

*EDIT NOTE* IT WORKED JUST FINE ON MINE WITH 5.0.2 UPDATE. :)

follow this tut https://www.youtube.com/watch?v=TMsQM2-J58Y.It helped me
[XDA Assist] v7:
Hello,

The guide you mentioned should work on 5.0.2.Follow the thread and root you device :)Thanks for using XDA Assist.

__

v7

XDA Assist
[Android General] ishtiak02:
Hello guys, I'm quite new in this forum. I saw that in a lot of threads people were asking about the fix of yellowish or any other tone on the display. I saw many solutions. Some were telling to make the screen hot. Again some were telling that it's a hardware problem. But today I will give the actual solution of this problem which will work on all lollipop running devices. The problem is the colour temperature of your device. Let's see the solution below:thumbdown:

Steps to remove the tone:thumbdown:

1. Go to system settings.

2.Then find "Display and Lights" and click there to enter.

3.Then find "LiveDisplay" and enter there.

4.Now at first click on "Colour Temperature".

5.Set "Day" to 6500K and "Night" to 4500K.

6.Now click on "Display mode"

7. Select "Day" and click OK.

8. Your screen will be back to it's original state. !:thumbup:

That's the simple guide. Don't forget to comment if you face problems !:D

Hit thanks if it worked.

Credits to : Me (If someone already find out this solution then believe me I didn't copy him. I was just playing with my device and discovered the solution:what:).

Thanks for reading !

Posted from XDA Premium !
[Android General] DM Bravo:
Saved my day
[G3 Q&A, Help & Troubleshooting] maciek1o3s:
Hello,

i have messed up a bit while rooting my LG G3 but finally everything went smooth and i even had TWRP installed (hurray!). But now i need to go to stock because i need to get my phone fixed on warranty. The problem is that when i press Volume Up and plug in USB cable i see on screen: download mode, in the left top corner there are some little words "boot certification verify..." and then everything goes black and there is no 2nd step Download Mode screen.

https://www.youtube.com/watch?v=x_1YLCfv630

If you enter this video you will understand me. I can see the images which are in 1:03, but right after everything is black and i do not see "Firmware update" images in 1:14.

How can i fix it?
[G3 Q&A, Help & Troubleshooting] Bastienhere:
I made the exact same thread not long ago but NO ONE helped, sadly...

Got the exact same problem as you, I got no choice but to send back my phone for repair!

I completely messed up my bootloader... I tried reflashing etc, it even got worse (no TWRP, nothing, DEAD)

On the report they wrote "flash failed" and they eventually replaced the PCB (the main board).

Was lucky that they didn't charge me anything haha :P

either they didn't know anything, or they were nice with me lol

If ever you send for repair, Just don't mention you flashed or rooted or whatsoever lol ...
[Android Q&A, Help & Troubleshooting] kompus:
Hello!

I have a problem. When I partition my sd card, CM13 recognized two partitions (in Settings) but i can't use for example Camera (dont recognize sdcard). I want use second partition to link apps.

Ohh.. and I don't want use Internal Storage option.
[Android Q&A, Help & Troubleshooting] zelendel:
Then you are out of luck. Also you will find that the apps you move to sdcard will suffer performance issues.
[Android Q&A, Help & Troubleshooting] Kesava 91:
Hello guys, first of all, sorry for my english, i'm new in the forum and in english too

So today i install CM 13 Marshmallow 6.0.1 in my Moto E xt1022 and i tried to use Link2SD using a 32gb sd card (formating the SD Card to 9.05GB FAT32 And 20GB to ext4) and in the time of mount the script in the app i received this error: "cannot mount second partition, no such file or directory"

I tried formating the second partition to ext2, ext3 ext4 even FAT32 but the error continues

anyone have any solution?

Thanks...
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] Einsteindks:
I dumped some music files onto the phone via USB cable into what I thought was the desired folders. Turns out they were in them, but in the 'alternate universe'? Why are there two paths to the same storage, but both are respectively hidden, depending on the direction of file reading?
[Nexus 5 Q&A, Help & Troubleshooting] Corneliusvinyo:
Hey guys , I just bought a nexus 5 and a new T-Mobile sim card .I can only connect to edge and no matter what I do I cannot connect to 3G or LTE I have done everything I can think of and I even called T-Mobile and they gave me APN settings but the problem still persists .. I tried updating to marshmallow 6.0.1 and the problem still persists even though the signal has become fairly stronger . I appreciate any help
[P3300, MDA Compact III  upgrading etc.] mmike72:
Is there any German ROM available?-I put WM 6 in WWE on my German T-mobile compact III and it is working...but it would be god to have a german too.

1) Can someone download the Update from the Gemran- O2 site and upload it here? I can`t because you need a serial- number of a O2 device.

2) How to change the Language file in a WM6 operating system? is this possible?

My English is poor so maybe this theme is handled here in the Forum, but i didn´t found it.

Mike
[Sony Xperia Z Ultra] muntaha_v3:
Hello!

To give a fresh start to your Z Ultra on a fresh install of 14.6.A.1.236 after flashing ftf and wiping all data, follow the follwing steps

1) Flash ftf using the Flashtool.

2) Complete the initial setup and enable developer mode

3) Open flashtool

4) Connect your phone and accept the ADB request on your phone

5) Copy the lastest Supersu.zip on your phone

6) Download http://download.cyanogenmod.org/get/jenkins/138873/cm-12.1-20151212-NIGHTLY-togari-recovery.img

7) In flashtool click on the fastboot mode and select Reboot into fastboot mode (Via adb)

8) Then Select the kernel to hotboot. and select the .img file you've just downloaded.

9) Once in recovery, select the Supersu.zip file.

10) Reboot

Tada.........................You're rooted

If I've helped you, pls press thanks.

Credits:

cyanogenmod.org for the kernel

Chainfire for SuperSU
[Sony Xperia Z Ultra] pckoloji:
I bought XZU 10 days ago and it updated to 14.6.A.1.236

Thanks to your guide, I rooted and got SuperSU now.

But I could not enter CM Recovery after trying Vol U or D + Power button.
[Sony Xperia Z Ultra] cougar11:
U need to hit Vol+/- when booting up, it should vibrate and LED should light up to Yellow or Pink, once it vibrates and LED turns on, hit Vol+/- that should put u in recovery
[Sony Xperia Z Ultra] fnldstntn:
İf your bootloader is unlocked you ca use the Sony Open bootloader this way you wont loose the recover when you flash another rom.

Yardım gerekirse pm at.
[Sony Xperia Z Ultra] pckoloji:
Vol+ & Power > Nothing, no boot

Vol- & Power > Normal boot procedure, no LED light
[Sony Xperia Z Ultra] pckoloji:
Yes bootloader is unlocked now

Sony Emma detects phone but says no services for your device. So I don't know if it has Sony Open bootloader or not.
[Sony Xperia Z Ultra] pckoloji:
OK so I installed ZU-lockeddualrecovery on top of those and can enter either TWRP or Philz now.

Also installed NDRUtils from Play Store.
[Sony Xperia Z Ultra] ali.ghorbani:
bootloader

Hi guys. I have Z Ultra C6833 with the latest build number which is 14.6.A.1.236 and with locked bootloader. I updated my phone via online update of Sony and without flash tools. I have question:

1) can I use your method in my phone? I mean should I unlock my bootloader or not?

2) does it create problem that I updated my phone via online update and without Flashtools?

Thanks:)
[Sony Xperia Z Ultra] mervinmj:
Perfect, easiest method yet.
[Sony Xperia Z Ultra] hector67:
Was there a download link for the ftf?
[Sony Xperia Z Ultra] danielvieira:
Kingoroot get te apk from the site... Use Google search.
[Sony Xperia Z Ultra] hydra_30:
Me (c6802, same firmware) too having same issue, cant see bootloader (just a blue led is there, nothing else). What should i do? I have access to fastboot and flash mode though (vol + + plug cable | vol - + plug cable). But i cant to go to recovery. Help, thanks in advance.
[Sony Xperia Z Ultra] vikram.mohal:
:laugh:

YOU SHOULD TRY FLASHTOOL NOT EMMA. THIS IS NOT WORKING FOR ME ALSO
[Sony Xperia Z Ultra] ultimize:
CM12.1-20151212-NIGHTLY togari recovery was deleted

Could you please upload this file? thanks!
[Sony Xperia Z Ultra] muntaha_v3:
Hi

Sorry for the delayed reply

You still need it?
[Sony Xperia Z Ultra] guds612:
works for me.

do you have an idea why can't I remount /system folder though rooting was successful?
[Sony Xperia Z Ultra] IrvanAghe:
can u please give me a new link? i cant access the web from the first link.... thank u very much :)
[Sony Xperia Z Ultra] noprikeliat:
Pretty please re-upload the recovery.img file.
[Sony Xperia Z Ultra] MardukPL:
Please re-upload revocery.img :)
[Sony Xperia Z Ultra] Love XDA Developers:
Update Download Link

Please update the file , no body can download

and is working for c6802 ?
[Sony Xperia Z Ultra] muntaha_v3:
Can u pls check if the below link works for you.

All the credits to TWRP.

https://dl.twrp.me/togari/twrp-2.8.5.0-togari.img
[General Questions and Answers] leinad51:
Good morning everyone.

Recently acquired a tablet lazer MID-9108CM, by several searches I found I find it very similar or even equal to google mid , SELECLINE MID-9108cm and Xtreme.

The difficulty begins as soon as the installation of applications not bring the play store, brings a similar which is the lazer maker however the error to download any application. already installed the play store strength but she's always saying it was interrupted.

the version of Android is 4.1.1 jelly bean, did some can help you work around this problem or even perhaps to put a version of android capable and complete maybe 4.2.2

thank you all

I will be attentive to any questions
[Xperia Z5 Premium General] tzsimtik:
i try to fix progrem through sony saftwere and it give me an error how can i go back
[Xperia Z5 Premium General] jerryhou85:
You can download the stock ftf file and use flashtool to revert anything back to stock. I use this method to revert my Xperia Z to stock.

Flash tool can help you relock the bootloader, but I haven't used that yet.
[Galaxy Tab S Q&A, Help & Troubleshooting] rizzotti91:
Hello, I've the Stock 5.0.2 rom, with no root and I'm searching for the best coocked Samsung Base Rom. I mean best for the performance, battery performance and customization.
[Galaxy Tab S Q&A, Help & Troubleshooting] rizzotti91:
Any suggestes?

Inviato dal mio SM-T705 utilizzando Tapatalk
[Galaxy Tab S Q&A, Help & Troubleshooting] ashyx:
You're not getting any answer because it's an impossible question to answer and a little disrespectful imo.
[Galaxy Tab S Q&A, Help & Troubleshooting] Andante1980:
Best is subjective, try from the development section. Add a custom kernel, mix and match for your taste.
[AT&T LG G3] Leasj:
Anyone know of a good rom for the D850 that is marshallow?
[AT&T LG G3] Ltilt2:
Candysix
[AT&T LG G3] Leasj:
Thanks for the suggestion. I'll try it out.
[AT&T LG G3] Fargo_Zoidberg:
Get ready for some Bluetooth issues. Other than that (and the obvious camera quality) CandySIX was a really good ROM considering Android 6 is pretty new.
[Nexus 7 (2013) Q&A] Hjanos95:
Hello,

My Nexus 7 got bricked (the usual nand flash brick), and I picked up a new (refurbished) tablet. I got into the bootloader menu of it to check the status and than I noticed that in the line secure boot it says disabled. On all my other Nexus devices it says that secure boot is enabled.

So what is this secure boot, and how can I reenable it?

Thanks.
[Android Apps and Games] Geliosoft:
We released the latest update of our game Old Gold 3D on iOS/Android, please check it out and enjoy.

Old Gold 3D will bring you back in time to the days of old school rpg and 3d first person shooter like Doom, Heretic and Elder Scrolls. Delve into an underground realm of Undead King and engage in battles with awful beasts and hordes of skeleton warriors. It is an intense single-player first person action game that begs you to play dangerously and creatively.

[YOUTUBE]bPuKDWTWEDs[/YOUTUBE]

Video Review and Walkthrough:

https://www.youtube.com/watch?list=PLnTTMW0pUwrPZyC78AnWgpkxAcSVOrL_p&v=bPuKDWTWEDs

Old Gold 3D (free version) for Google Play Market:

https://play.google.com/store/apps/details?id=com.geliosoft.oldgold

Old Gold 3D (paid version) for Apple Store (iPad and iPhone):

https://itunes.apple.com/us/app/old-gold/id1065496879?mt=8

View attachment 3669779 View attachment 3669780

Thanks for looking! We can continue improving the game. So try it out and your feedback is welcome!
[Android Apps and Games] Geliosoft:
Hope you enjoy this game. It has small size and low system requirements for 3D action games.

I really would like to hear any feedback from you.
[Android Apps and Games] Geliosoft:
Please help to test the game on Android devices for old Android 2.3 and later.
[Android Apps and Games] Mike_MS:
Hi! I installed it on my Sony Ericsson XRay with Android 2.3.3, but after installation was completed I can`t run game. It`s just does not start after I clicking on game icon... :(
[Android Apps and Games] Geliosoft:
Thanks. I'm using Unity 5.3 to build the game. I think the problem is since Unity 5 only x86 devices and ARMv7 devices that support NEON instructions are supported.