yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe K4 Note Questions & Answers] Krishnas096:
For all those who seek custom recovery, until and unless we get a separate device listing for our K4 note, its hard getting its boot loader unlocked since there are less no of people who can keep up with the development of the device.

So, i request you all to please reply to this support to indirectly bump and get our device listed..

Here is the link..- http://xdaforums.com/android/help/please-create-separate-device-cum-forum-t3344936
[Lenovo Vibe K4 Note Questions & Answers] plenthut:
[MENTION=7035952]chsaiteja98[/MENTION]

After success with kingroot.apk, i tried to replace with superSUme.apk v6.7 n done

Forgive me for my bad english d:D
[Lenovo Vibe K4 Note Questions & Answers] Yogi_007:
How to Root Lenovo K4 Note without PC –

1) First you should turn on ‘Unknown Source’ from Menu > Settings >Security.

2) Download Kingroot app and install it on your device.

Kingroot app

3) After installing the app, Open it. It will check your device status, if the root is available for you or not.

4) Now click on ‘TRY TO ROOT’ to start the rooting procedure. It will check for working exploit to root Lenovo k4 note and take only a few minutes to complete the process.

Kingroot app

5) Reboot your device, when the process Completes. That’s it you successfully root Lenovo k4 note with Kingroot.

6) Download Root Checker app to confirm your k4 note is rooted or not.

root checker K4 Note

How to Unroot Lenovo K4 Note –

1) You can easily unroot Lenovo k4 note anytime with a single click.

2) To unroot, Goto Kingroot setting and click on ‘Uninstall Kingroot’.

3) A popup appears, click on ‘Continue’ to unroot Lenovo K4 Note. After clicking on ‘continue’, the app will uninstall from your phone, and you will no longer be a root user.

This is the complete procedure of how to Root Lenovo k4 Note (Root Vibe K4 Note). For now TWRP recovery for K4 Note is not available, we update our post with how to install custom recovery on k4 note once it’s available. If you have any doubt comment below.
[Lenovo Vibe K4 Note Questions & Answers] mr.badman:
This method is not gonna work on marshmallow
[Lenovo Vibe K4 Note Questions & Answers] sam 4x:
Does rooting take away OTA update privileges ?
[Lenovo Vibe K4 Note Questions & Answers] johnchua:
if you root with kingroot

and sometimes stuck or hang

just use hard reset(power+vol down), its that easy

useful for those who is fine with 5.1
[Lenovo Vibe K4 Note Questions & Answers] Kessang:
Here is the link for rooting a7010a48 marshmallow http://xdaforums.com/k4-n...-twrp-t3366972

U need to go deeper for flashing procedure

Here is the link for flashing http://xdaforums.com/andr...6#post66071541

All credit goes to the uploader. And please thank Eisada Sangkant and Jemmini.
[Lenovo Vibe K4 Note Questions & Answers] ajking:
Links not working

Hey there,

Links posted here do not work, can you please update?

Best regards,

Abhijit
[Lenovo Vibe K4 Note Questions & Answers] Kessang:
For rooting k4 note and flashing which have marshmallow update http://xdaforums.com/k4-note/development/mm-lenovo-k4-note-twrp-t3366972 and this post has the procedure for flashing twrp recovery http://xdaforums.com/android/general/k4-note-bootloader-unlock-twrp-t3346546#post66071541
[Lenovo Vibe K4 Note Questions & Answers] Malvinshu:
Could someone plz tell me would it void warranty or bricking Lenovo Vibe K4 Note if i using kingroot? Plz attach a download link of Kingroot plz... Thx... :D

---------- Post added at 11:03 AM ---------- Previous post was at 10:18 AM ----------

I need help with these, i need any link to download Kingroot for Marshmallow Vibe K 4 Note, because my kongroot says: no root strategy right now" and a request button... Plz help..... I'm seriously need help
[Lenovo Vibe K4 Note Questions & Answers] Truantrahul:
Stuck

My phone does not root after the new Marshmallow update using kingroot. Rooted my phone using kingroot on the lollipop version it works just fine but after Marshmallow update it is stuck at 20% you cannot root your device
[Lenovo Vibe K4 Note Questions & Answers] Akshat Singh Rajput:
I too faced this problem, I tried for 5-6 method and found this working...

Download this zip from this link..

https://drive.google.com/file/d/0B5b2MbBPpcR_RUtLbUI5RmJXMGs/view?usp=sharing

Using adb method you could root your mobile...

Or directly refer to this video...

[youtube]pC21rV-vaCc[/youtube]

Thank me later ??
[Lenovo Vibe K4 Note Questions & Answers] Truantrahul:
I tried that too.

When I run that unlockrecovery.bat file it says no devices found.

Thanks anyways
[Lenovo Vibe K4 Note Questions & Answers] #shubham Bane/-:
This works on lollipop version not on 6.0
[Remix OS for PC] imadlatch:
RMXtools v1.8 Fix initrd.img-RW 3.0.207 [Deodex Remix OS 6.1] [Root 32bit/64] & more

I made application RMXtools to deal with system/data.img

Requires

Net-Framework 4.5

Windows 7 x64/x86 and later

Features

Root Remix OS using windows

Unpack/repack system.sfs

Create new data.img

Expand system/data.img

Format /ext2/ext3/ext4

Scan/fix/clean img

Verify system files

Deodex Remix OS

Extract/Rebuild system.img

Root: instruction

1- Extract system.img

2- Press root button point for extracted img "system_"

3- Repack system.img

4- done:good:

Root for Beta release

Due to new option set system.img Read-Only in initrd.img the Root will fail

so to Root Remix OS beta release use RMXtools to root then replace initrd.img with the one that I provided below

RMXtools Still standing:D

RMXtools v1.6 // I decided to keep "RMXtools" free of license unbounded by donation

Change log

Added: enable "GMS" Google play services :good: cache/dalvik in data.img must be clear

Added: Progress Bar feedback for create/expand data/system.img and extract-img/unpack-sfs

Added: you can enter system/data.img size manually for create/expand

Added: you can enter the size for rebuild a new system.img

Added: choose where to save system/data.img

Added: Cancel operation

Added: notification when create/expand larger than 4GB on FAT32 partition

After enable Google play services we can install Google Applications directly by download and run GApps.exe

point for "path to"system_" then hit Extract button then replace all.

GApps date 01/04/2016.

RMXtools v1.7

Added: Deodex Remix OS 32/64bit

RMXtools v1.8 Fix

Bug Fix

Deodex Remix OS: Experimental

RMXtools v1.8 Fix

Fix Repack SFS

Mksquashfs Updated for lz4 compression

RMXdeodexer v1.1:

Fixed error space embedded in path

Fixed error deodex app/priv-app when framework already deodexed

Deodex Remix OS: Experimental

Download below

How to root using RMXtool

How to root using RemixRoot (32/64) through linux

Hit Thanks If its useful to you

For 32bit users likes to use system.sfs I modified RemixRoot script and SuperSu files to work with Remix OS 32bit

Guide

Thanks for RemixRoot maker

Please Donate

Donation can help DEV's

If you can't Donate hit Thanks

Recommendation

Please do Not modify or move or delete anything inside folders "rfiles" and "rfiles32" in RMXtools dir because these files contains a "Symbolic link" any changes will cause Root failure

Thanks for mksquashfs cygwin imgextractor remixRoot

Downloads

{Mod edit: Download link removed on request of OP - Regards Oswald Boelcke}
[Remix OS for PC] dex2grigg:
thanks for this, can i just modify the data.img directly from the usb drive? or do i have to copy it first?
[Remix OS for PC] imadlatch:
yes you can directly

Browse for it first
[Remix OS for PC] imadlatch:
re download I fixed command execution
[Remix OS for PC] salimtn:
thank you

what about 32 bit windows ??
[Remix OS for PC] imadlatch:
I didn't test it on 32bit please test it

Please press thanks button
[Remix OS for PC] electrikjesus:
Good work. So far there have been no bugs
[Remix OS for PC] COMPUTIAC:
What exactly does this do to the system/data.img ?
[Remix OS for PC] imadlatch:
unpack/repack system.sfs

create new data.img

expand system/data.img

resize expanded size

format /ext2/ext3/ext4

scan/fix/clean img

verify system files
[Remix OS for PC] joytest:
Hi OP,

If I have a USB drive booting currently at FAT32, how do I use this to reformat and resize?

I have tried the EasyBCD method in another post, and although it works, it means I must install EasyBCD on each computer I use, which I don't want to do so.

A number of people have been asking for directly booting off an NTFS or Ext2/3/4 formatted USB drive with >4Gb data.img.

Do your tools make this possible?
[Remix OS for PC] Patozan:
Can I use this to pack a system.img as system.sfs?
[Remix OS for PC] imadlatch:
yes
[Remix OS for PC] imadlatch:
if you want to increase data.img on fat32 drive

follow here

https://groups.google.com/forum/#!topic/remix-os-for-pc/qlxtkR7ozgc
[Remix OS for PC] h301k:
Thank you very much for a wonderful and useful program
[Remix OS for PC] imadlatch:
you welcome

please use thanks button
[Remix OS for PC] kretex:
I installed remix on hdd ntfs partition

can I use this tool to expand/resize data.img??
[Remix OS for PC] imadlatch:
Yes
[Remix OS for PC] imadlatch:
I hope you enjoy this update

Next will be for 32bit
[Remix OS for PC] gybhg:
I can't use it with system.sfs or I don't know how should I use it to root my remix 2.0.101. :confused: Could you help me guys? Thanks a lot!

---------- Post added at 08:17 AM ---------- Previous post was at 07:49 AM ----------

Sorry, I'm lame. :) My real question is, How can I root my system.sfs on my hdd? Could you write me the steps?
[Remix OS for PC] Abuzar Uzair:
Problem in root

i repacked the system image, and SU icon appeared in the launcher, but when i open it, it says that the root binary isn't installed

i checked the folder System_/apps & System_/xbin

the root files copied successfully
[Remix OS for PC] Regnas:
I believe it's covered in the first post.
[Remix OS for PC] pranavpalliyil:
Can I use king root?

I've rooted most of my android devices with king root and I've not seen one device it can't handle but will king root, root remix os?
[Remix OS for PC] JGA3103:
I second that. Can you post a method to root remix os in usb?
[Remix OS for PC] user0815f:
if your system.img is not compressed (system.sfs) you can use this way -- I've tested it on windows 7 64bit with recent Remix OS 64bit:

You need two tools: OSFMount to mount image files and ext2fsd to be able to read/write ext4 partitions. Google for both tools, install them, possibly you have to restart you PC.

0. Make a backup of system.img!

1. Mount system.img directly from you USB drive. Uncheck “Read-only drive” and set “Mount as removable media”

[IMG="OSFMount Settings"]http://i.imgur.com/9bgCyzR.png[/IMG]

2. You are able now to access to files of /system

[IMG="filesystem"]http://i.imgur.com/2uoxIBV.png[/IMG]

3. Add necessary files for root from RMXTools "\rfiles" in the corresponding folder on /system

4. So you have now rooted system.

5. New initrd mounts /system as read-only and you cannot remount it as writeable file system. You can try to use initrd from first post. I uploaded modified initrd of recent Remix release, but I'm not allowed to add links (since I have to few post)

EDIT: oh, I was able to attach zips.
[Remix OS for PC] SamuelBegui:
How exactly would we get our own system.sfs if we don't have access to our own partition on the USB that is holding the files?

---------- Post added at 01:12 PM ---------- Previous post was at 01:07 PM ----------

On windows we don't have access to that partition where REMIX OS is located
[Remix OS for PC] zerogun:
EXT2FSD will allow you to mount the EXT4 partition on your USB drive and view it like a regular windows drive. From there you can copy the system.img or system.sfs to a temp directory and play with it.
[Remix OS for PC] janjan:
Where did you get the modified version from?

Send from my Nexus 6p AOSP build with f2fs support.. feel the speed
[Remix OS for PC] user0815f:
If you mean initrd so I modified it myself. I've compared old and new version and replace twice "ro" agains " " with hex editor ;)
[Remix OS for PC] JGA3103:
I tried the ex2ft... but it doesn't create the mount point. It shows that the partition in actually fat32. I even checked it with minitool. Then i tried diskinternals.. I was able to extract the system.img but no way to copy it. The ext4 is only for the data partition I guess... So back to square one. or did I miss anything?
[Remix OS for PC] user0815f:
Try to assign drive letters to both partitions without letters in windows drive management. Possibly then you will be able to access data on them.
[Remix OS for PC] Regnas:
How about a text field for input exact numbers of megabytes, instead of just the slider?
[Remix OS for PC] imadlatch:
yea there will be both slider and text box and more options

am busy with RMXinstaller new lol
[Remix OS for PC] mooseknuckles1:
Trying to root Remix Beta 32-bit which is installed on my HDD. System file is an img not sfs

Are there actual instructions for this? I appreciate the tool very much, but a guide would be very helpful.

Thanks for your work!
[Remix OS for PC] imadlatch:
read the first post or here for detailed steps
[Remix OS for PC] kabeerkhan2016:
Watch This : https://www.youtube.com/watch?v=8usNNalReOk
[Remix OS for PC] lucasdeeiroz:
I'm trying to get data.img bigger than 8GB on HDD with Remix OS Beta, but even with a 32GB data.img file, the system only recognized 8GB of storage. Anyone knows how to proceed?
[Remix OS for PC] JGA3103:
I don't quite follow what you mean by that. But i finally managed to mount it using "Partition find and mount". It was very easy to use although scanning took a while. Now should I use the files that you posted or the one in op? Thanks for your help. :)

EDIT: I was only able to mount it and not edit files. without the file system being shown in ext2fsd i'm not able to assign drive letters to it.
[Remix OS for PC] USBhost:
hey [MENTION=5477568]imadlatch[/MENTION]

here's the new initrd.img x64 from remix beta edited to allow system rw

so no need to use the old ones anymore.
[Remix OS for PC] devicer:
Can I ask you how to use it? yet in OP the author says to use initrd.img with the "old method" but he does not explain which is...

Thanks
[Remix OS for PC] imadlatch:
I mean for old method

Use RMXtools to root then replace initrd.img
[Remix OS for PC] USBhost:
I guess when you said old method I thought you where replacing the beta initrd with the old version.

but if thats not so then just forget my post.
[Remix OS for PC] devicer:
Agree.

One expects "Old method" section in OP, I just found this thread today and dunno what is new and what not. +100 to OP for his work, -1 for clarity :p
[Remix OS for PC] maris__:
I guess you did not run "Resize" after "Expand". Just start again RMXTools and load youd data.img. The original file size should be 32 GB. Press "Fsck" first, then "Resize".

Best, maris
[Remix OS for PC] milav:
to op thanks for rmx tools i rooted successfully thru it now there is one peculiar problem

using dell vostro 3446

replacing provided initrd.img breaks my wifi (i am not able to turn it on) but allows me to edit system files

as soon as i replace it with original initrd.img i get my wifi working but i loose ability to edit system files

is there any workaround for this? i need both at same time

i believe that provided initrd.img is from alpha release as i was having same problem before beta where wifi was not working

please anyone can throw light on this issue??
[Remix OS for PC] lollyjay:
Many thanks to you for all the work you do. I now have a BLAZING FAST Android laptop from what was a 7 year old slow Win7 laptop.
[Remix OS for PC] imadlatch:
I'll upload fixed initrd.img very soon
[Remix OS for PC] imadlatch:
initrd.img fixed
[Remix OS for PC] milav:
sir just tried newer fixed initrd.img but os just went in boot loop

it just said something like kernel panic cant sync v7

and it keeps on rebooting

i had to revert back to original img file to boot os

can you look into it please
[Remix OS for PC] imadlatch:
sorry about that I uploaded the wrong one by mistake

I'll re upload again
[Remix OS for PC] milav:
Waiting
[Remix OS for PC] parkerlreed:
Where is the link to the new initrd.img? It's not in either download.
[Remix OS for PC] konservasi:
Where is initrd file to complete the root process?
[Remix OS for PC] zaidshb:
Hi all,

it's my first time using remix os, anyway,

i used rmxtools but whem prompting for update binary it fails (i'm using 64bit btw). what can i do now?
[Remix OS for PC] kretex:
try to replace initrd.img with this :

http://xdaforums.com/attachment.php?attachmentid=3670094&d=1457106481
[Remix OS for PC] zaidshb:
Aaaah this is the file i was looking for :good:

by the way, can i update su to the latest verion or will it cause issues?
[Remix OS for PC] kretex:
yes, update fine

no problemo :D
[Remix OS for PC] dinosauria123:
Do someone have 32bit initrd.img?
[Remix OS for PC] imadlatch:
Sorry guys I'm traveling
[Remix OS for PC] konservasi:
Thanks for the initrd.img..works perfect. I have rooted device now. Thanks a lot
[Remix OS for PC] milav:
is this new built or old one??
[Remix OS for PC] milav:
damm this one is working both ways means my dell wifi is working and also i get to keep root(system files editable)

thanks

btw due to some error i had to install both my win7 as well as remix os from scratch

so i can confirm that this thing is working super smooth (RMXtool)

btw i used provided installer to install remix os and yes i installed it on ntfs partition there is no such problem with that installer it doesnt require you to have fat32 formatted partition to boot with

everything works
[Remix OS for PC] Almercer:
I follow those step for the rmxtools , it's said that root files are successfully installed and I replace the initrd.img provided in this subject with in the remix folder. My remix os is not rooted and I don't know why. Do you have any idea how to fix that issue ?
[Remix OS for PC] jamnrold01:
where is the link for initrd.img
[Remix OS for PC] John Hoyne:
The initrd.img linked in post #221 works fine here.
[Remix OS for PC] konservasi:
When I use remix tools,suddenly wifi becomes off meanwhile wifi in another device works perfect

Also,the clock change after I reboot and use my windows 7. I uninstall remix os for a while. Maybe next time I will use this os again
[Remix OS for PC] imadlatch:
initrd.img uploaded
[Remix OS for PC] janjan:
Cool ;)
[Remix OS for PC] HypoTurtle:
Any chance you've had a look at systemless-root i.e. adding root to /data/su.img and calling it in initrd.img...

I looked at it a bit and applied what i could to initrd.img / su.img just not sure what I'm missing at the minute; probably just a fstab line or something I'm missing...
[Remix OS for PC] imadlatch:
can I see what did you applied to initrd.img?
[Remix OS for PC] HypoTurtle:
I'll edit with a copy in a minute; but I just renamed initrd.img to initrd.cpio.gz:

Then issued:

gunzip initrd.cpio.gz

sukernel --patch initrd.cpio initrdnew.cpio

gzip initrdnew.cpio

cp initrdnew.cpio.gz initrd.img

Sukernel is in the SuperSU.zip; I probably need to issue some more sukernel commands...
[Remix OS for PC] imadlatch:
Actually I tried that before it's complicated finally I give up there was no time to continue

I ended up injecting SuperSu to system.img

if you like I can send you a script file for unpack repack initrd.img this might speed up your action

sorry

good luck
[Remix OS for PC] HypoTurtle:
I can unpack/repack fine; I prefer to do that manually on device anyway (busybox gzip -dc ../ramdisk.img | cpio -i).

What I was missing previously was the daemonsu script for /sbin...

I have it setup now how it should be (I think); but still not working and not sure why...

Just to give you an idea; this is the output of ls -laR /su | grep-v busybox and mount:

.:
drwxr-xr-x root root 2016-03-18 13:35 bin
drwxr-xr-x root root 2016-03-18 13:31 etc
drwxr-xr-x root root 2016-03-18 19:51 lib
drwxr-xr-x root root 1970-01-01 01:00 lost+found
drwx------ root root 2016-03-18 13:31 su.d
drwxr-xr-x root root 2016-03-18 13:31 xbin
drwxr-xr-x root shell 2016-03-18 19:45 xbin_bind

./bin:
-rwxr-xr-x root root 100520 2016-03-18 13:33 su
-rwxr-xr-x root root 34448 2016-03-18 13:35 sukernel
-rwxr-xr-x root root 30352 2016-03-18 13:34 supoliy_wrapped

./etc:

./lib:
-rw-r--r-- root root 331040 2016-03-18 13:35 libsupol.so
lrwxrwxrwx root shell 2016-03-18 19:51 supolicy -> su

./lost+found:

./su.d:

./xbin:

./xbin_bind:
-rwxr-xr-x root shell 1117808 2016-03-15 11:00 bash
-rwxr-xr-x root shell 22920 2016-03-15 11:00 brcm_patchram_plus
-rwxr-xr-x root shell 108912 2016-03-15 11:00 dexdump
-rwxr-xr-x root shell 5856 2016-03-15 11:00 io_switch
lrwxrwxrwx root root 2016-03-18 19:45 su -> /su/bin/su
tmpfs / tmpfs ro,relatime 0 0
/dev/loop0 /system ext4 ro,relatime,data=ordered 0 0
/dev/loop1 /data ext4 rw,relatime,data=ordered 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
none /cache tmpfs rw,nosuid,nodev,noatime 0 0
tracefs /sys/kernel/debug/tracing tracefs rw,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
/dev/block/loop2 /su ext4 rw,noatime,data=ordered 0 0
/dev/block/loop2 /system/xbin/su ext4 rw,noatime,data=ordered 0 0
/dev/block/loop2 /system/xbin/su ext4 rw,noatime,data=ordered 0 0
/dev/block/loop2 /su/bin/su ext4 rw,noatime,data=ordered 0 0
/dev/block/loop2 /system/xbin ext4 rw,noatime,data=ordered 0 0
/dev/block/vold/179:0 /mnt/media_rw/usb0 fuseblk rw,dirsync,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

EDIT. Systemless boot achieved. This helped to think it through. Also attached are su.img that needs to be at /data/su.img (use ALT&F1 to copy); and a initrd.img (latest 0315 version) with ro's removed. Uploaded here instead. su.img does have a lot of dead space, it's using the 32MB size suggested by SuperSU.zip.

If you want to keep system.img OTA updatable then don't replace the initrd.img

(and keep a copy of stock ramdisk.img).​
[Remix OS for PC] milav:
it seems we are achieveing something better here can we have this new method with proper instructions (for amateur users)

this systemless root

thank you guys
[Remix OS for PC] imadlatch:
try to call it in init like this example

unzip /path/to/supersu.zip META-INF/com/google/android/* -d /tmp
sh /tmp/META-INF/com/google/android/update-binary dummy 1 /path/to/supersu.zip
[Remix OS for PC] maris__:
Tested the following procedure to update a rooted remix os to the new version from March 15, 2016:

1) Boot into your main OS, Windows or Linux.

2) Save the data.img file in the REMIX OS folder (in case it might get corrupted in the next step)

3) Uninstall Remix OS. This should leave the data.img file unaltered in the REMIX OS folder. Don't remove this image as it includes all user data

4) Install the untouched version of Remis OS from March 1, 2016

5) Boot into Remix OS, and retrieve the update in the system settings. After a reboot, the updates should be installed, which takes a while. If no updates are installed after the reboot, remove the downloaded files from the autoupdater folder and repeat the update process

6) With the updates installed, boot back into your main OS and root the updated remix os using imadlatch's RMXtools from the opening post of this thread and replace initrd.img with the one attached in the first post.

7) Reboot into Remix OS, update super.su from the play store, update the supersu binaries (with the updated supersu app), and enjoy.

This worked for me for the 64bit and 32bit version. Hope this might help others, too.

Best, maris