yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Questions & Answers] JosVermeulen:
I know that there should be the new 9.2.1.0 firmware, but I can't find it on the forum. Does anyone know where I can download and what changes it brings?
[Samsung Galaxy S7 Edge Questions and Answers] GalaxyRSR:
Hello world. So thing is... Knox is tripped.. No Samsung stuff is working.. As usual.. But once I've read something that said it can be fixed by changing the mainboard (or whatever it's called). Is that true? If so.. How?
[Samsung Galaxy S7 Edge Questions and Answers] benjamen50:
What?

I've tripped Knox on so many Samsung Devices, it should work no problem if you don't flash files wrong on the device.
[Samsung Galaxy S7 Edge Questions and Answers] GalaxyRSR:
I know.. What I meant was Samsung pay, Samsung health, and these applications are not working. The phone is okay, working like a charm, but I'm curious if changing the mainboard will fix knox or not.
[Samsung Galaxy S7 Edge Questions and Answers] benjamen50:
Well yeah, if you obtain a logic board that hasn't had a custom binary (kernel / root / custom rom) flashed to it.
[Samsung Galaxy S7 Edge Questions and Answers] GalaxyRSR:
Alright. My phone is still "under warranty" but I don't know if they can fix it or not. Last time the company I bought a phone did repair it, even after the phone was rooted. But I don't know how Samsung does its stuff.. Should I try at them before or change it myself?
[Samsung Galaxy S7 Edge Questions and Answers] benjamen50:
They will most likely charge you an out of warranty replacement, though replacement logic boards aren't that expensive in my opinion.
[Samsung Galaxy S7 Edge Questions and Answers] GalaxyRSR:
Well.. I'll try.. If that doesn't work well.. I don't know..?
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
This thread is about Linux port for J120F. Test build is currently in beta state. But if you're a Linux user you can try it.

Status:

Display and touchscreen work

Hardware and software keyboards work

Wi-Fi works (and Firefox onboard :) )

USB works as OTG or serial gadget with a console (115200n8). UART JIG also works

Bluetooth. You can run hciattach (@115200) to get BT device but most tools don't see it

Known issues:

Touchscreen won't work if phone was started by attaching USB or charger. That's because Android can't start this way (phone shows battery status and goes off).

For same time after boot you can't click anything but cursor moves. Just wait ~30 sec.

This will be fixed in v1.3. Or you can execute:

rpm -ev --nodeps xinput-calibrator

Fixed:

Onscreen keyboard doesn't work. Sad but true

"Connect to Wi-Fi" button is out of screen. It's next to "DHCP" combobox in TAB order.

Display goes to sleep and can't be turned back on. You can restart X from SSH or USB console to turn it on again. (No timeout - no bug :D )

How to install:

Create 3 partitions on SD card. 1st is FAT for your Android data. 2nd for Link2SD (make it tiny if not needed). 3rd is ext2 for Linux (500 MB should be enough for now).

Extract rootfs.tar.xz contents to 3rd partition. It should be done as root and from terminal. GUI tools aren't good for this.

Flash kernel (boot.img) with heimdall. It can work as recovery too. In this case you will get dualboot.

Milestones:

1.0 Make it boot

1.1 Bring up major hardware

1.2 Make ROM easier for testing and building

1.3 Organize included software

My next major tasks:

Improve BSP. Make image recipe.

Make toggle screen on/off feature by power button.

Improve onscreen keyboard layout. Make keys bigger.

Done tasks:

Sort out all the patches I've made to FS. Make a BSP (OpenEmbedded machine layer).

Find a problem with USB serial gadget and make it work as console. For now I use UART JIG but only few people have such hardware.

Get Wi-Fi to work. Smartphone is not a smartphone without internet connectivity.

Make connman-gnome window usable with such small display. Currently you need to do blind TAB to connect to Wi-Fi.

Find a problem with on screen keyboard. The only way to input text now is USB keyboard over OTG.

Improve BSP. Integrate FS patches into it. Fix kernel so it can be built inside OE.

Fix screen timeout bug. (Timeout disabled so far)

Photos:

View attachment 4414623 View attachment 4414624 View attachment 4414625

Link to my ROMs folder on MEGA.

Kernel source on GitHub.

OpenEmbedded Layer (BSP) source on GitHub.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Wi-Fi works!

dmesg from Android helped me to start Wi-Fi. To finish initialization you need to run

cat /proc/deferred_initcalls

Seriously!

View attachment 4411244
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Good news!

SSH is working over Wi-Fi.

USB gadget works after all!

To activate it do:

echo connect > /sys/class/udc/13580000.usb/soft_connect

Now I will try to make a build with all those things activated on boot :D
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Version 1.1 released. It's MUCH more user-friendly but you still need some skills to install and use it.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] jlfedmmc456:
It's possible to do this on Galaxy J120H?
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
OS image should start on J120H but you need a special kernel. So there are two answers on two kinds of questions:

1) No. This is impossible to [just] install kernel and OS from J120F to J120H because of different hardware.

2) Yes. This is possible to port this project to J120H. It's easy if you're ROM maker.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] cıyanogen:
Good job. Thank you for this ROM.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Set up both keyboards.

To activate software one:

/etc/X11/Xsession.d/80matchboxkeyboard.sh

#!/bin/sh

. /etc/formfactor/config

CMD="matchbox-keyboard -d"

if [ "$CMD" ]; then
# Delay to make sure the window manager is active
# by waiting for the desktop to say its finished loading
dbus-wait org.matchbox_project.desktop Loaded && $CMD &
fi

To activate hardware one you need new kernel. It is on MEGA already (linux_1_2_boot.img).

Buttons:

RECENT -> Context menu

HOME -> My Computer

BACK -> Esc

Power and Vol keys are Power and Vol keys :D

To make HOME work as "show desktop" button add:

XF86MyComputer=desktop

to kbdconfig file.

That's all for now :cool:
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Fixed Samsung kernel. Now it builds inside OE.

IIRC bitbake should be able now to build OS image without any "tricks".
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
BSP v1.2

Made proto BSP in a form of diffs. Changes are listed in fs_files.diff file. New files are in files folder. Patches are in diffs folder. New packages are in rpms folder.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] puargs:
Hey really great work; I have created 2 forks of your project for J120A here in the states... I haven't used bitbake before. I went and installed it, but not sure how to use it with the 2 projects you've uploaded. I tried "bitbake J120A" and "bitbake world" but that doesn't seem to be the thing to do. Can't seem to build the kernel manually with "make" either. Could you tell me what commands/config I need to do with bitbake to get this working? Thanks again for your hard work!
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
You don't need bitbake. You need OpenEmbedded.

https://www.openembedded.org/wiki/Getting_started

https://www.openembedded.org/wiki/OE-Core_Standalone_Setup

Then add some layers. I have:

meta (oe-core)

meta-oe

meta-multimedia

meta-networking

meta-filesystems

meta-gnome

meta-initramfs

meta-perl

meta-python

meta-webserver

meta-xfce

meta-browser

meta-j120f

Setup a MACHINE to build for.

MACHINE ?= "j120f"

And allow non-free licenses

LICENSE_FLAGS_WHITELIST += "commercial"

Now you can try to build "core-image-sato". OE needs huge amount of free space and time to build! (~100GB)

You can also build packages: bitbake firefox

I doubt that F kernel will run on A version. So you need to port all my patches to the Samsung kernel source for J120A. It shouldn't be hard.

Then diff my linux defconfig with original one (for j120f) and add those changes to your (j120a) defconfig.

After that unpack stock boot.img for your device. And pack your zImage with original DT file.

This is how I do this:

android_img_repack_tools/mkbootimg --kernel zImage --ramdisk NONE --dt boot.img-dt --base 10000000 --pagesize 2048 --board SRPOI21A000RU -o new_boot.img

Now you can flash new_boot.img with heimdall

heimdall flash --BOOT new_boot.img

I think you should start with kernel. Patch, build, pack img and flash it. (Don't forget to unlock bootloader first!) Then you can install my OS build on SD card (replace /etc/wifi and /lib/firmware with your files). I hope v1.2 will be released already. And if it works you can start to build your own OS image :)
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] puargs:
This is really great information, thank you so much for the assistance! I have gone through and started work on what you mention, but I realized I'm not sure which Kernel you originally downloaded for your device. There are a lot available for the J120F:

https://imgur.com/a/OeI9u

Do you remember which one you started with? It will make filtering down the diff a lot easier.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
You don't need to know it. Just take a look at commits: https://github.com/LONELY-WOLF/kernel-j120f/commits/master
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Version 1.2 ready

ROM made more user friendly. Most patches are integrated in BSP. It's far more easier to test and build ROM now.

Fixes not included in 1.2:

xinput-calibrator should be removed as it's useless for modern touchscreens

keyboard layout was reworked but I still need to make keys bigger

removed "Ethernet" option from connman-gnome. This fix is available in proto_BSP_1.2 archive

Version 1.3 will be about included packages.

I want to delete and install some packages. Busybox will be replaced first!

BSP will get image recipe.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
BSP builds without errors! My Ryzen 1700 (OC to 3800MHz) builds OS image in ~1 hour.
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] echelon9:
-W_O_L_F- thanks for leading work on a custom kernel and Linux userspace on SM-J120x. Great to see the improvements you've made on top of the vendor kernel to make it easier for developers to test (e.g. packaged boot.img, and userspace).

puargs: I'd also like to see a version for SM-J120A, however I expect we will be blocked running custom RECOVERY as the SM-J120A ships with a locked bootloader. So far I've been unable to find any bootloader unlock methods for SM-J120A.

Tried flashing linux_1_2_boot.img to RECOVERY with heimdall in "download mode" as a test, with no success.

The download mode recognizes an unexpected RECOVERY image, and reports "SECURE CHECK FAIL : (RECOVERY)" on the device.

Have you had any success? Perhaps you found a method that works?
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] Growtopia Jaw:
Wow, this is some serious development going on for the SM-J120F! I'm surprised to see such projects for the Exynos platform.

Keep up the good work and may your project become successful!
[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] -W_O_L_F-:
Project moved to new hardware: Galaxy Note9.

https://xdaforums.com/galaxy-note-9/development/linux-porting-native-linux-to-galaxy-t3936077
[Google Pixel 2 XL Questions & Answers] umbrokhan:
DuckDuckGo search engine Recommends iOS over Android for More Privacy.

https://spreadprivacy.com/how-to-remove-google/

Google is now tracking you on 76% of websites, with Facebook lurking on about a quarter. The data they collect as you browse the web, combined with your search history, likes, and other information, leads to huge personal profiles that are used to target invasive ads at you across the Internet.

what do you think about Duck Duck Go comments?
[Google Pixel 2 XL Questions & Answers] umbrokhan:
they making us addicted to pyramids and one eye, that's why they keep showing us in games, cartoon, movies. i bet Google is the pyramid and one eye in one dollar note. all seeing eye, we watching you!
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
Hi guys; i just need some help here. I want to root my N6, and it's gonna be my first time. Yesterday i managed to reach the point where i type fastboot oem unlock in a command prompt, and the device ask me if i want to wipe my data. But i didn't because i don't know whats next.

Today, i downloaded the Nexus Root Tolkit, and 3.0.3.0 shamu.img and SR3-SuperSU-v2.79-SR3-20170114223742 from android file host because the app could not do it. Now it says all files are up to date.

I'm on Android 7.1.1, build number N6F27M. The nexus root tolkit will work properly?

Thanks in advance!
[Nexus 6 Q&A, Help & Troubleshooting] greenmasser:
The toolkit is super easy and never failed me across multiple phones. You just need to know what you want to do. Unlock, flash, root...
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
Ight, so i need to unlock the bootloader to root the phone. My question is, how to return to Nougat 7.1.1 after rooting? If i am not wrong, after rooting i 'ill be back to Lollipop.

Thanks.
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
Or you could just do it the way you started and end up understanding what's happening ? toolkits are fine...until something goes wrong then you'll have no idea where you are.

The N6 is super simple. There's a discussion in the Nexus 6 All-In-One Beginner's Guide thread. Start at post # 838 for current information.

Unlocking the bootloader wipes all user data from the device. It's a security thing so that someone who finds your device can just install a custom ROM and then get access to your files. Back up anything you don't want to lose.

Good luck!
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
Thanks for the help! I just unlocked the phone. I downloaded the twrp-3.2.1-0-shamu.img and Magisk V15.3 code 1531.

I renamed the shamu.img to "recovery.img" and moved it to "plataform-tools". But when i typed "fastboot flash recovery recovery.img" on the command prompt, it says "cannot load image". I tried other commands i saw in here, but keeps saying the same error. I'm running windows 10.

:(:eek:
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
I haven't used windows in .... Sorry can't remember :) So, I'm not the best hope for how to do things on W10.

I would first give the full path to the image file (C:\xxxx\recovery.img). I'm assuming that since you unlocked the phone ok, it's recognized correctly by fastboot, but it wouldn't hurt to try "fastboot devices" and double check.

BTW, that error is saying that fastboot can't find the file your trying to flash. That's why I suggest using the full path. It might be a naming/typing error.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
Ight, that must be. I was not typing the full path. I will try.

And in the other hand, where i have to put the magisk rar? In platform tools, o i have to download it in the phone?
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
The Magisk file should not be in "rar" form. It should be a zip file. Please make sure you download from the official Magisk Stable thread.

The Magisk zip file needs to be on the device where TWRP can access it to flash. Typically, we just download through the phone, double check the md5 using whatever app from the playstore, then reboot to recovery to flash it. It would be flashed within the "install" option of TWRP. On reboot, you need to make sure the Magisk Manger app (also in the 1st post of the previously linked thread) is installed to be able to manage app access to root.

Once rooted with Magisk, future updates to Magisk can be installed through the Magisk Manger app.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
I downloaded magisk zip and magisk manager apk on the device. Now, when i type the full path (C:\Users\augus>C:\Users\augus\Desktop\platform-tools\fastboot flash recovery recovery.img) it says no such directory or file.

I double checked fastboot devices, the serial number still appears. When i right clicked the recovery.img it was locked by windows for safety, i unlocked it, but still the same error.

Just for give it a try, i typed "C:\Users\augus\fastboot flash recovery recovery.img" and it says the file it's damaged...

Lol, it's the final step and i cannot make it work :mad:
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
Try something like:

fastboot flash recovery C:\Users\augus\recovery.img

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
Okay, i ill give it a try. In the how-to thread say's the path is "Desktop/android-sdk-windows/platform-tools", but i assume it's different for all, cause when i installed all the drivers, automaticly made the plataform-tools in the desktop, not into android-sdk-windows...
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
You may have to provide the path to the fastboot binary, however you get a proper response to the fastboot devices command is fine.

The point I'm trying to make it you *must* give a path to the recovery image. That's the error message your getting. Fastboot can't figure out what image to flash to recovery. Make sure there are no typos [emoji6]

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] def1003:
open the platform-tools folder hold shift and right click inside the folder and click "open command window here" then proceed... easiest way good luck, if you dont have twrp yet wait till you get that until. you worry about magisk 8)
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
Ight, i don't know if this has been donde properly. I managed to open a command prompt in the folder platform-tools, and writted the commands. It says everything ok, so i moved on to recovery. There, i flashed the magisk app. When donde, i rebooted.

Now, i have TWRP and Magisk Manager instaled.

There is any way to know if i'm rooted? Cause when i enter to magisk manager, it says last version instaled, and below says instal, uninstal, and i have options for superuser and magisk hide, etc.

Thanks a lot
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
Good job! Always scary the first time :) When you open the Magisk app, the first page should show a green check next to Magisk version 15.3 (or something like that).

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
It says latest version instaled 15.3.

But i only have magisk manager. It says instal and uninstal below.

Another thing i saw, its that now the Enable OEM Unlock let me check the box. It doesnt say anymore that i'm unlocked :rolleyes:
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
I'm not sure what you mean by "only have magisk manager". As far as an app is concerned, that's all you need. If the phone is not rooted, the app will make it very clear. You could also download one of the many root checkers from the app store.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
I tought i miss something, cause it says instal and uninstal and a mask symbol. I just downloaded root checker and it says im rooted!:o

Thanks a lot, man. One more thing. Why now the Enable OEM Unlock let me check the box? Does that mean im locked again?
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
I doubt you're locked, you would have had to send a fastboot command to do that. Which you should not do.

If you would like a reassurance that you are unlocked, boot to the bootloader, the screen with the robot laying on its back with the belly open. There will be a line that says "bootloader unlocked code 3" or similar - I can't remember :)

Whether the box is checked or not changed over the course of software updates. I've been on custom rooms for so long I don't remember what the thing says.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] Galati93:
I just rebooted the phone and a open lock appears blow the google symbol. I just installed double tap to wake, and it works just fine. Which honestly was the whole point of rooting :D.

Thanks a lot guys, wouldn't have been able to do it without you!
[Windows Mobile Development and Hacking General] met3ora:
Very nice work. Reading your post was very insightful, and I hope this can provide the basis for some new and exciting apps!
[Windows Mobile Development and Hacking General] rorydaredkign:
great app... and well done for not just thinking that seems easy... but actually doing it...

ive been a victim of that myself
[Windows Mobile Development and Hacking General] nik_for_you:
very nice work man.. one question in which tool did you write code.. i mean it looks like C but how you test and all..
[Windows Mobile Development and Hacking General] xplode:
Great app, i see that it is just proof of concept at this stage, but i see that it can be used in future applications control

Continiue with your great work :)
[Windows Mobile Development and Hacking General] mr_deimos:
It is C, (no "++", no "#", no ".NET", just god old C :) ) compiled with opensource compiler CeGCC (works under linux, or under windows using cygwin - a unix emulator), developed in opensource IDE Vham (but even a notepad, or better notepad++ would do), tested directly on my Wizard (without emulator). I used XFlib which simplifies graphics and input handling to a level where anyone who ever programed anything at all should be able to handle it - it providea an additional layer between the programmer and the OS. You talk to Xflib, and Xflib talks to the OS. I decided to use this library, because i wanted to try it out anyway.

If i decide to rewrite it and make an actual launcher or anything else out of it, i'll have to use something with a bit faster and more direct screen access (probably SDL, since i already done some programing for desktop PC with it) - XFlib concentrates on usage of sprites - like 2D console games. every single "blob" of the gesture trail is a separate sprite , which has to be drawn each time the screen is refreshed - that is what slows down the app so much. The gesture recognition itself is really fast.
[Windows Mobile Development and Hacking General] imfloflo:
Very good program i just test it and it works very well some combinaison are pretty hard to realize but i like this blue point turning red with command2 and 934. Goond luck , i'll continue to see your job maybe you'll code a very interesting soft.
[Windows Mobile Development and Hacking General] hi-tech:
Interesting work.... would like to see this implemented in an app, could be very useful.
[Windows Mobile Development and Hacking General] Mollusk:
If you want I have some code I did for NDS coding, and which I ported on PocketPC for XFlib.

It works perfectly well and I use it in Skinz Sudoku to recognize the drawn numbers.

The method is pretty simple : when the stylus is pressed, enter the stylus coordinates in a big array. And when it's released, it takes 16 points (could be changed depending on what you need) at the same distance from each other, checks the angle, and gives you the corresponding 'char'.

To add new shapes, it's just a 15 character string which you link to any char (like, link right movement to 'r', or 'a', or a number, or whatever ^^). It works for pretty much any simple shape, and I even used it to do a graffitti-like thing on NDS which worked really well :)