yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] ramiabouzahra:
It happnes alot that people post in wrong section ;)

Yup, kinda same, excpet im ks01lte but I moved from stock to rooted stock (5.1.1) then cm13, then stock + xposed 4.4.2 then cm11 and now back to cm13 nightly

The bootloader can be replace, however, if you fail here, there is no comming back (you'll need a complete board replacement because the bootloader acts as a BIOS), the purpose of replacing it is various reasons, change of splash screen during boot etc. Some bootloaders are locked to only be able to flash certain ROMs (OEMs do this to not allow people to tinker with their devices) but it is nearly always un-lockable (except for some devices, I own an Acer tablet that has a locked bootloader that cant be un-locked) and no, unlocking it does not mean changing it.

Yea, sometimes this sometimes that, in example, ported marshamllow touchwiz ROMs rely on some files in the stock ROM so the "update" doesn't take up much space.

That is because of the bootloader (again lol), from my experience with the s4, before flashing cm13, I had to go to 5.1.1 because of the bootloader was changed during the OTA, so as stated before, it only allowed a certain type of ROMs to be flashed.

The kernel tells the system what to do, some kernels are specified for battery optimization, so the kernel tells the cpu to slow down and save juice, while some other kernels offer the ability to overclock the device (mostly used on older devices to make it faster, but it drains more juice and can result into app crashing), the kernel, is not separated from the system, in fact, you can't even compile a ROM without a kernel. There is not only one kernel for lets say cm, you can flash another kernel, just make sure it is compatible with your android version. To get a wrong kernel, flash one that isn't for your device or android version.

Your OEM provides them, samsung has a website called sammobile and uploads all the stock ROMs there. If you want to upgrade, just flash it via recovery or in your case, odin (for samsung phones). To give your backup to someone else, the other person must have the exact same phones, in example, you (jfltexx) can't give it to me (ks01lte), I must have jfltexx and then (assuming you did the backup on twrp) I'd have to change the serial number to my device.

Your hardware buttons will work on pure android (aosp), I don't see why not, you said you are running cm13, that is altered pure android and it works fine, see pure android as cm withou all the features.

There are a few devices like that, one plus was a company that wanted to do that, it came with root, unlocked bootloader and cyanogenmod running, they separated unfortunatly and evolved to using "oxygen os" and does nor provide a un-locked bootloader but provides a simple tool to root and unlock. I don't know any companies that have unlocket bootloaders because they don't want the average consumer to mess up their device and blame it on the OEM.
[General Questions and Answers] NoBullsh1t:
"Can I run pure Android on any phone, or is it (always?) necessary to adjust it? I understand that my hardware buttons of the S4 would probably not work on pure Android, but the rest?

Your hardware buttons will work on pure android (aosp), I don't see why not, you said you are running cm13, that is altered pure android and it works fine, see pure android as cm withou all the features."

I mean is there like a website from google where I can dowoad a non device specific aosp and flash that to my S4 to make it run? Wouldn't there be for example drivers missing? Isn't that what I have to be greateful to Cyanogenmod for, making up to date android compatible with older devices?

---------- Post added at 07:49 PM ---------- Previous post was at 07:42 PM ----------

So I can actually make a jfltexx Nandroid and install it on another jfltexx by easily changing the serial number???
[General Questions and Answers] ramiabouzahra:
Yes, be greatful, it is free, open source and full of active devs and memebers. I'm still not sure what you mean, do you mean on-screen navigation bar? Because you can change that in cyanogenmod settings.

---------- Post added at 07:49 PM ---------- Previous post was at 07:42 PM ----------

Yea, you know how your backup is located in /sdcard/TWRP/BACKUPS/SERIALNO? The device you want to flash it to should make a backup of the tiniest partition (usually cache, it's 5mb) and youll get acces to the serial number, then you just swap it and delete the tiniest partition.
[General Questions and Answers] NoBullsh1t:
"I'm still not sure what you mean"

OK, I'll try to explain. Let's assume I didn't have a fairly popular phone that is supported by cm. Let's say I had a version of the HTC Desire d816h dual SIM (I think that's the right name, doesn't matter) that is not supported by cm. Because there is a supported model, and at least one that's not. And let's assume that there is absutely no custom ROM that officially supports it.

And now I want to make this run Marshmallow. Can I just flash aosp as it is running on the nexus devices to make it work?? Is customization of aosp just for performance optimization and support for fancy hardware (like fingerprint sensors in older versions) or essential because aosp doesn't come with inbuild drivers for non nexus devices?

Cheers
[General Questions and Answers] ramiabouzahra:
Short answer, no. Different processsors (snapdragon, exynos) and different amount of RAM and all that needs to be nearly identical to the other device. In example, a note 3 ROM might work on a s4 i9506 because they both have the same processor so all you need to do is port it. You can't directly flash it from another device to another device.
[General Questions and Answers] ShinraTensei04:
20) If my rooted device, with TWRP, gets an ota update, how do I update my phone to keep root access and TWRP? Is there any way? Like manually flash .zip from TWRP? Or maybe use a tool such as FlashFire?

21) Do I lose data when I manually flash a firmware?
[General Questions and Answers] ShinraTensei04:
22) Can both these methods to flash rom work?

A)-Flash kernel and system

-Wipe data, userdata, cache, dalvik

-Flash GApps(for cm)

-Format data(btw, do I have to format data even for roms not using GApps?)

B)-Wipe system, data, dalvik, cache

-Flash kernel and system

-Wipe dalvik and cache again

Can I not use this method to update firmware(by flashing the latest firmware's .zip), seeing that I am able to keep root access and TWRP, and only losing data?
[General Questions and Answers] ramiabouzahra:
You can't get an ota update when you have root. And yes, you'll have to manually flash the zips. No you don't depending on what the firmware format is, in example with a zip you'd flash it via recovery but with a image file, you'll have to flash it via fastboot or adb.
[General Questions and Answers] ShinraTensei04:
I did some more reading, but everywhere people say you gotta flash stock recovery first, then unroot, then normally install ota...
[General Questions and Answers] ramiabouzahra:
Yeah that's true.
[General Questions and Answers] ShinraTensei04:
What about my question 22)?
[General Questions and Answers] ShinraTensei04:
Along with 22), another one:

23) Before flashing cm, I had to flash a kernel. Does this mean that before I restore a TWRP backup I created, I'll have to flash some kernel?
[General Questions and Answers] ramiabouzahra:
No, not what I know. Also, regarding titanium backup, I just recently tried it out and I strongly recommend it. It takes a whole backup of an app you choose and then you can restore it regardless of the ROM. So basically, let's say you scored high on an offline game, then you see a new ROM that you like but you don't want to flash it because you'd loose all your data, just back it up with titanium backup, copy the titanium backup folder and once the ROM has booted, install titanuíum backup and put all the files hback in the folder and restore! Bang.
[General Questions and Answers] ShinraTensei04:
Whoa, cool. So I can backup all my lollipop apps and use them in marshmallow??

Also, can I backup all apps in 1 click?

EDIT: You can, but for games with obb data, you need to manually backup.
[General Questions and Answers] ShinraTensei04:
I made a backup, and then I moved it to Sd card, then back to internal, and now the backup isn't detected anymore. I tried refreshing, reinstalling, even scanned the sd and internal via titanium, still couldn't find backup. The directory is the same, only that I moved the files out and back in...
[General Questions and Answers] ramiabouzahra:
When you create a backup of anything in tb it is stored in /sdcard/TitaniumBackup. If you move the contains of the folder to your sdcard and then let's say you flashed a new ROM, you will have to move the files back to that folder. Then open titanium backup and click backup/restore then in the top right corner there should be three options, click the middle one, scroll down to restore missing apps + all system data and then hit the creen check mark in the top right corner adn then you'd go through the installation of the apps except you'll have all of your data back.
[General Questions and Answers] ShinraTensei04:
See, I created a backup. Now, just to test it, I moved the folder to sd and then back to internal, where it originally was. But now, when I see the apps list there is no backup detected for that app(it was detected before moving the folder), even though the backup is exactly where it was when I created it.
[General Questions and Answers] ramiabouzahra:
Did you go to the option I told you? By the way, I use ADB to pull and push the titanium backup files.
[General Questions and Answers] ShinraTensei04:
What, I can't just move the backup around with es file manager and then move it back to where it's supposed to be? How do I adb push/pull files?
[General Questions and Answers] ShinraTensei04:
Okay I figured out the problem. The files rename themselves with a '.zip'/'.txt' when I move them to the sd card, and they remain so when I bring them back. How do I prevent them from being renamed automatically?
[General Questions and Answers] ShinraTensei04:
Okay, I got it again. Just gotta use a file explorer which doesn't do that. In my case, stock cm file explorer.
[General Questions and Answers] ramiabouzahra:
adb pull /sdcard/TitaniumBackup

Now you are going to get tons of files, I recommend storing them in a folder, I call my folder TitaniumBackup for simplicity, then when you need to get em back

adb push TitaniumBackup /sdcard/TitaniumBackup
[General Questions and Answers] ShinraTensei04:
24) My rom is currently on kitkat. I'm going to be flashing a stock-based rom which is running lollipop. Do I need to flash a lollipop kernel before flashing the .zip file from twrp?

This zip file has a boot.img in it, so does that automatically flash as well, or will I need to manually flash that?
[General Questions and Answers] ShinraTensei04:
25) Can I make a TWRP backup of a stock rom and restore it later when I'm on a custom rom?
[General Questions and Answers] ramiabouzahra:
Nope, TWRP will take care of that. You don't need to flash kernel.
[General Questions and Answers] ShinraTensei04:
Is this only for stock-based roms or all roms? Because when I had to flash cm13, I had to flash the kernel separately.
[General Questions and Answers] ramiabouzahra:
Depends, if the ROM was compiled from source or ported, if it is compiled from source, you don't, if it was ported, you need.
[General Questions and Answers] ShinraTensei04:
Can you explain what compiled from source and ported mean?
[General Questions and Answers] ramiabouzahra:
Compiled from source is that you download all the source code from the ROM and then make a makefile (Linux) that will compile it for your device, this way, it will boot the first time you flash it since it is made for your device. The dev will then write, what we call, an updater-script. The updater-script tells your recovery what to do with the file. Once that is done, he uploads it to XDA and gets a bunch of love from the community.

Porting is taking a ROM from a device that has similar specifications to your device and changing the source code to work with your device, the ported ROM will most likely need a separate kernel to boot from and it won't boot on the first go, you will have to get a logcat, then modify the new ported build until it boots. When it boots, wifi and all those sensors won't work so you will have to fix that.
[General Questions and Answers] ShinraTensei04:
26) When I go to the backup section in TWRP, I only see "System(1204MB)", "Data(316MB)", and "Cache(0MB)". Am I not missing a "Boot"(the kernel) option? Say I create a backup of "system", and I flash up to cm13, can I restore this rom via TWRP, despite now having a custom kernel(of the cm13)?

*Also, my TWRP shows my sd card as: "MICROSD(13238MB)" even though my sd card is a 29 gb card(22 1st part., 7 2nd part.). Why so?
[General Questions and Answers] ramiabouzahra:
My recovery says boot, but, the option recovery is kinda the same thing since the kernel holds the recovery but don't trust me on this one.

You can restore even without custom recovery, it might not boot but you can. If your kernel is a marshmallow kernel it might boot. Depending on the ROM, if it requires a specific kernel.
[General Questions and Answers] ShinraTensei04:
No, I read around, and it seems my ZenFone doesn't create a boot partition or something, and hence can't be read for backing up. So I have to manually flash kernel and then restore the TWRP. Also, kernel doesn't hold the recovery, recovery is a separate .img file to be flashed. And yeah, some devices can restore backup using stock recovery.
[General Questions and Answers] ramiabouzahra:
It is a separate .img although most recoveries are in the kernel for convinience.
[General Questions and Answers] ShinraTensei04:
27) Do I lose Xposed framework when I dirty flash a rom?
[Remix OS for PC] ssanjy:
Thanks a lot... Will try and reply you soon.... But I'm sure it works
[Remix OS for PC] rajnallan:
changing orientation

Thanks a lot. Not only you are a very helpful person , you have lots of patience. Thanks for all your inputs and guidance. I checked using CPU-Z and find all sensors are working including rotation sensor. I alos see that the new build.prop has the line ro.remixos.box is set to flase. But still my surface pro does not auto rotate to portrait mode. I am also not able to force it into portrait mode. Can you help please?

Thanks
[Remix OS for PC] asuduakali:
Some Question

how to mount HDD Partition like previous version? is there any trick to show it again?

Hope Anyone Here Can Help :D
[Remix OS for PC] lollyjay:
Thank you for the compliment. My knowledge does not extend to that area; perhaps [MENTION=4056517]HypoTurtle[/MENTION] can help?
[Remix OS for PC] lollyjay:
I wish I knew... :confused:

Edit: I suspect that they locked access to speed up the system by disabling disk i/o
[Remix OS for PC] yshalsager:
I succeed to do it using stickmount after i copied these imgs .

just check usbstorage folder with file explorer ( i'm using ES)
[Remix OS for PC] canhanga14vc:
Tried it now. Worked like a charm. killing the thanks button
[Remix OS for PC] xSilverLight:
Everything working fine... I'd clean install replacing both files, thank you very much, and also i installed SuperSU for better root magement and besides.. with this one StickMount works perfectly... ;)
[Remix OS for PC] dark8899:
doing this Adaway can work?
[Remix OS for PC] xSilverLight:
Yes, of course
[Remix OS for PC] HypoTurtle:
Try changing ro.remixos.scan_all_parts=false

Haven't found what's forcing landscape; yet... maybe see what changing ro.remixos.has_adjust_display=false does; but it's probably nothing

Yea, stickmount seems to need the [updated] superSU su binary; so either system.img rw or systemless root would do [also the build.prop edit mentioned above might be an alternative to stickmount but editing build.prop needs system rw anyway].

Addendum; if anyone is using my 32bit su.img; you need to make a /su/xbin_bind folder and reboot before SuperSU will update the binary
[Remix OS for PC] xSilverLight:
Exactly, also I'll try that you mention and thanks for the info..

And also.. thanks for all your contributions ;)
[Remix OS for PC] hhaiwzz:
Thanks. Now I can use stick mount and access my hdd.
[Remix OS for PC] lollyjay:
You're very welcome my pleasure
[Remix OS for PC] muzzy996:
I'm at a loss as to how to get this working on a USB install on my system. Are people using hard drive installs or USB flash drive ones? I'm using a 64gb Sandisk Extreme flash drive.

1st off - using the Windows tool that comes in the installer from Jide's website (downloaded file I have is Remix_OS_for_PC_Android_M_64bit_B2016072603.zip ) to "install" RemixOS onto the flash drive works flawlessly but after that I'm unable to see any other volumes other than one called REMIX_OS which is not a system volume. I've formatted the flash drive 4 times already and redid the installation each time. Each time the install is perfectly bootable but in terms of being able to boot into windows and brows the RemixOS folder to modify system files there is no change, I'm unable to see all volumes on the flash drive. I only see one volume while in windows and that one appears to be an SD CARD (It's called REMIX_OS and only has an Android and Lost folder in it) rather than the system volume for Android.

If I insert the flash drive into my Macbook I'm able to see two volumes, the volume called REMIX_OS I referred to earlier and another volume called REMIXOSSYS which does have the system files in it (with the initrd.img and system.sfs that need to be replaced) . .

So after using the RMXTools on my Windows machine to create a system.img file (which ends up ballooning to 2.6gb, is that the right size?) and downloading the requisite initrd_rw_3.0.101.img and renaming both original files on the REMIXOSSYS volume (using my Mac) and copying the new ones onto the flash drive volume I'm able to boot into RemixOS on my PC normally.

Everything works fine until I actually try to edit build prop as a test at which point I'm unable to. The system itself operates just fine otherwise but system still isn't writeable.

I'm not quite sure why others are easily able to do everything they need to do on their PC's using windows explorer to modify the system files and I'm not. I tried it on both my home and work PCs and the result is the same. Nonetheless I'm thinking that since all that is supposed to be required to make system writeable is to replace the initrd.img and system.sfs with the modified initrd.img and a system.img file then it really shouldn't matter if I do it using a Mac or a PC . . i'm confused at this point lol.

Any thoughts?
[Remix OS for PC] lollyjay:
Method works only for hdd installations afaik
[Remix OS for PC] Amfakh:
wow thanks for this, now since we have an open system, can we install xposed framework?
[Remix OS for PC] lollyjay:
So far I haven't seen anyone reporting success
[Remix OS for PC] electrikjesus:
I haven't seen anyone else post about this one yet, but in the latest version of RemixOS, if you add REMOUNT_RW=1 to the grub entry, it will convert the system.sfs to system.img in boot, and allow you to make your edits.

Example:

menuentry 'Remix OS' --class android {
search --file --no-floppy --set=root /RemixOS/kernel
linux /RemixOS/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 REMOUNT_RW=1 DATA= SRC=RemixOS CREATE_DATA_IMG=1
initrd /RemixOS/initrd.img
}
[Remix OS for PC] lollyjay:
Well I'll be darned....

Will try it out on another computer
[Remix OS for PC] lollyjay:
Where is the grub located?
[Remix OS for PC] wizmart:
grub folder on c:/ assuming you installed on it then menu.lst
[Remix OS for PC] electrikjesus:
If you are using UEFI, it is located on that hidden partition.
[Remix OS for PC] lollyjay:
Hmmm.. Didn't find it there
[Remix OS for PC] lollyjay:
Mine's legacy
[Remix OS for PC] lollyjay:
What folder would it be in? I can see the remix_install.log
[Remix OS for PC] electrikjesus:
It's in C:\RemixOS\menu.lst for my w500
[Remix OS for PC] lollyjay:
So your installation of RemixOS is on c: drive?
[Remix OS for PC] wizmart:
Hypo, i did get stickmount running after installing supersu fine but when rebooting i got stuck in the process, i solved it by removing supersu files but i was wondering if smthg had to be changed in grub menu to allow supersu and boot?
[Remix OS for PC] HypoTurtle:
No, don't think so; something else is probably causing that stall. I haven't had any boot issues with su; but I've denied su to stickmouht as it auto-runs and I couldn't fix a disable switch.

What system are/were you running? System.img or systemless-root?
[Remix OS for PC] wizmart:
I m running 3.0 32b on ext4 rw install, System on folder i have both 403 and 3.0 on the same stick, with 403 and SuperSU I have no issues
[Remix OS for PC] muzzy996:
As an update, I did a hard drive install onto my D: drive and still didn't get RW access using this method BUT once I reverted back to stock system.sfs and then followed electrikjesus's method to edit the menu.lst a new file system_dev.img was created and I got RW. Was then able to install SuperSU and Stickmount just fine. Not sure why I couldn't do it the way it was described in the OP though, it should have worked.

Appreciate this guide thread a LOT!
[Remix OS for PC] nikhilsnigam:
Deleted. Nevermind
[Remix OS for PC] electrikjesus:
Are you honestly asking me to make a walkthrough showing you how to edit a text file or search XDA for how to edit UEFI boot entries??
[Remix OS for PC] nikhilsnigam:
deleted. Never mind
[Remix OS for PC] electrikjesus:
Why don't we make this as easy as possible then. Please post a link to your menu.lst or grub.cfg so we can see what you see, or in the least, a screenshot of what you are looking at.
[Remix OS for PC] irvanray7:
I can't find temp folder in my directory even it not showing any error
[Remix OS for PC] lollyjay:
If there was no error then it created a temp wherever you told it. You need to search for it
[Remix OS for PC] irvanray7:
I searched it, but nothing came out
[Remix OS for PC] lollyjay:
Well then do it again and make sure you type the command EXACTLY. Whad drive letter is your Remix OS folder on? I will send the correct command
[Remix OS for PC] irvanray7:
I install it on C: tho
[Remix OS for PC] lollyjay:
Well I have made this for installations on separate partitions. Anyway try:

unsquashfs.exe -d c:\temp c:\RemixOS\system.sfs
[Remix OS for PC] irvanray7:
It works bro, many thanks ????
[Remix OS for PC] lollyjay:
My pleasure :good:
[Remix OS for PC] lollyjay:
Hey all of you who have downloaded RMXtools please if you can donate to imadlach. He has helped so many users with his apps
[Remix OS for PC] Luke_99:
help #lollyjay I followed to the letter the guidance of and the results are seen in remixos folder but when I start the system does not change anything, and the directory / system still remains in read-only... I have to do a few simple steps at started system?
[Remix OS for PC] lollyjay:
Did you move the system.img from the temp folder into the RemixOS folder?

Did you rename system.sfs to oldsystem.sfs in the RemixOS folder?

If you open the RemixOS folder you should see:

oldsystem.sfs

system.img

oldinitrd.img

initrd.img
[Remix OS for PC] HypoTurtle:
Alternatively:

system.sfs

system_dev.img

initrd.img

Should also work [i.e. no modified initrd.img needed]

Just to clarify; the stock initrd.img looks for:

system_dev.img first and mounts it rw

system.sfs second; which can only be mounted ro

system.img third; and mounts it ro

Altered initrd.img can mount system.img rw; but the others take precedence
[Remix OS for PC] Luke_99:
[IMG="Schermate"]https://postimg.org/image/4emwusmld/[/IMG]

this is the folder Remix OS screen. Boh I do not know what can be wrong ...
[Remix OS for PC] lollyjay:
I was referring to the steps he was to follow in the OP.
[Remix OS for PC] kretex:
Add REMOUNT_RW=1 on menu.Ist its worked...its initrd.img still need to replace???
[Remix OS for PC] lollyjay:
Please... If you have different methods then start a new thread.