yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] osm0sis:
Probably just had to trigger the system to rescan once it was totally gone. Glad it's working. :):good:
[Android Software/Hacking General [Developers Only]] Sr. Zé Alguém:
[MENTION=4544860]osm0sis[/MENTION] do you know if it is possible or impossible to compile BusyBox with CONFIG_FEATURE_DATE_NANO enabled?
[Android Software/Hacking General [Developers Only]] osm0sis:
Likely simple as switching it on, what's it do?

Edit: A quick Google search shows me it actually isn't that simple, and the NDK doesn't support nano timestamps unfortunately: https://github.com/meefik/busybox/issues/58#issuecomment-366510664
[Android Software/Hacking General [Developers Only]] Sr. Zé Alguém:
Yes, but his answer is not very clear as to what happens if one tries to compile with this toggle set to active, or specifically where it fails. Also a simple Google search "NDK nanoseconds" indicate it is possible to use nanoseconds and I see some functions using it...

It leads me to another question: are Toybox ARM versions compiled with anything other than NDK? Because using it nanoseconds do actually work...

Edit:

Maybe BusyBox is lacking proper implementation of "ts.tv_nsec" variable. It also mentions "ts.tv_nsec = statbuf.st_mtim.tv_nsec;" but I can't find definition of the later. Perhaps it just need implementing clock_gettime(CLOCK_MONOTONIC, &ts); like it happens in Toybox: https://github.com/landley/toybox/blob/master/lib/lib.c#L1394

What do you think?
[Android Software/Hacking General [Developers Only]] osm0sis:
Possibly, but I recently had to disable monotonic syscalls because it caused issues on x86 with wget. I haven't tried a test build with ls nano enabled since it's not a default enabled option, but I'll give it a go the next time I have the chance. Feel free to explore it more yourself and make a test build, since you seem fairly capable. :)
[Android Software/Hacking General [Developers Only]] notstevek:
So FYI, FlashAfterUpdate does not work if you have an encrypted user partition. I just learned that the hard way. LineageOS pushed an update today, so I hit install from the update menu to test it out. It doesn't let you enter your password to decrypt your user partition, so it can't see the folder/zips. This kinda messed up things for me because it didn't flash magisk, so I had to reboot and manually install update and magisk again, but the script kicked in during the manual install of the update, so my phone started bugging out because of an aroma installer for ElementalX that the script triggered, for some reason the screen would flash back and forth between the script and aroma installer. Luckily nothing bad happened and I flashed update, magisk, and ElementalX successfully. I feel like an idiot lol, anyway, yeah, script doesn't work if your user partition is encrypted.
[Android Software/Hacking General [Developers Only]] osm0sis:
I really wish they'd just add proper FlashAfterUpdate support like Omni..
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Latest busybox module breaks youtube vanced module, as soon as I update busybox no longer youtube vanced will get mounted, I see it installed in magisk manager but the icon won't appear - as soon as I uninstall busybox yt vanced reappears in the app drawer...

That's happening with the current version of both modules on my N4 (latest official lineageOS 15.1) and my N7 2012 (pure AOSP nougat based), it's however not the case on my OnePlus 5t running latest OOS Beta, if you need anything [MENTION=4544860]osm0sis[/MENTION] I'll gladly provide it (logs, etc.) but it's actually absolutely reproduceable and probably a 32bit issue, just guessing...
[Android Software/Hacking General [Developers Only]] osm0sis:
Damn, weird. Is vanced in Magisk's /sbin/.core/img/ still? What's actually happening? Logs from the installs of each and Magisk's boot log would be helpful. I can try it on my Galaxy Nexus to see what happens on a truly ghetto old device. Did it work on older versions of either module? If so, any idea what changed?
[Android Software/Hacking General [Developers Only]] whiteak:
Thanks for posting this, I was trying to work out why Vanced was not working anymore, you are spot on, once I remove busybox and reboot, vanced works again.

edit: So I uninstalled both busybox and vanced, rebooted, installed Vanced, rebooted, tested vanced (works), reinstalled busybox, rebooted, tested vanced (worked).

So what worked for me for the time being was just have to install Vanced first, then Busybox after.
[Android Software/Hacking General [Developers Only]] DragonFire1024:
I have a small issue with the adb/fastboot flash zip. It works perfectly when using it as adb, and I can boot the device I talk to into fastboot mode, but I can't get it to acknowledge the device in that state. I'm using a Galaxy S4 CM 13 to talk to an Amazon HD 10 on lollipop stock rom 5.1.1 (fireOS).
[Android Software/Hacking General [Developers Only]] osm0sis:
Could be something about the Fire forks of things. No idea, really, it works with my devices, and these aren't my compiles so there's not much that can be done.
[Android Software/Hacking General [Developers Only]] DragonFire1024:
Wouldn't surprise me. I already discovered several bin and xbin files amazon replaced with their own like /bin/bootanimation. Looks like i have a few more to replace.
[Android Software/Hacking General [Developers Only]] osm0sis:
If your device with my module installed is arm64 you could also try the older armeabi fastboot included to see if it works instead. Just extract it from the zip, rename the binary, and overwrite the fastboot in the installation.
[Android Software/Hacking General [Developers Only]] DragonFire1024:
If you mean the Amazon device, you might actually be right about that. Some things see it as a arm64, like Xposed, where as others see it as armeabi. The device isn't quite all the way to 64, so this may actually work. Ill let you know.
[Android Software/Hacking General [Developers Only]] osm0sis:
I believe you said you were trying to connect to to the Amazon Fire using the S4, which would mean the S4 has my zip flashed to it to add the binaries, no? But either way, try the armeabi fastboot if the included newer arm one doesn't work.
[Android Software/Hacking General [Developers Only]] NLBeev:
Has anybody tried to extract the system.img from one of the Essential PH-1 images?

(PC windows 10)

EDIT

I mean extract the system files from 'system.img'

Seems the img-format is different....
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Here's a installation log of magisk 16.7, after the install of busybox youtube vanced vanishes, so the workaround mentioned by [MENTION=8898246]whiteak[/MENTION] doesn't seem to work on my N7 & N4 (didn't checked the 5t as it is working there), and please check the screenshot, "vanced" seems to be still in sbin/.core/img/....

https://drive.google.com/file/d/11tCD20MxsVkvJAGbKdjGBOhcoJ4NCFvs/view?usp=drivesdk

Edit: if you need anything just let me know!
[Android Software/Hacking General [Developers Only]] osm0sis:
Log from Magisk booting would be good. Honestly this is sounding more and more like a Magisk issue/limitation.. from so many bind mounts perhaps? Thoughts, [MENTION=4667597]Didgeridoohan[/MENTION]? [MENTION=4470081]topjohnwu[/MENTION]?
[Android Software/Hacking General [Developers Only]] Didgeridoohan:
[MENTION=7125933]Sam Nakamura[/MENTION] [MENTION=4544860]osm0sis[/MENTION] Usually when a module isn't mounted properly it's caused by a broken post-fs-data script in another module. The Magisk log would be good to see as well, since it might actually be some other module that is the real culprit.

I have both [MENTION=4544860]osm0sis[/MENTION] Busybox and Youtube Vanced installed on my devices (Nexus 6 and Oneplus 3T) and haven't seen anything of the described issue.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Yeah, it's only present on my 32bit devices, I mentioned that earlier - I'm grabbing more logs later on...

Edit:

Here's a Magisk debug log from right after installing busybox & reboot, simultaneously youtube vanced disappeared:

https://drive.google.com/file/d/16xwMIAysNCapPgKPA9rZF_fO8yLxWbg2/view?usp=drivesdk

https://drive.google.com/file/d/1klss3PdttdSUsPO5Kyz7YwkQmBnG37sc/view?usp=drivesdk
[Android Software/Hacking General [Developers Only]] Didgeridoohan:
I know... The Nexus 6 is 32-bit. :D
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
lol, was reading 6p... It's early in the morning here :laugh:

I edited the previous post and added a log by the way

Edit: [MENTION=4667597]Didgeridoohan[/MENTION] do you have any idea about the magisk debug log taken from /data/adb/, it seems there're only old entries (from 7th August), so I deleted it and did another install / uninstall with busybox but now the log in /data/adb won't reappear? It's just gone...

So what I'm I supposed to do to get useful logs? Any hint would be appreciated, I mean I can get boot logs with adb if this would help but I really wonder what happened to the "debug log"...
[Android Software/Hacking General [Developers Only]] Didgeridoohan:
I was just about to say that the log is a bit old... :laugh:

The debug log isn't used anymore and the Magisk log is the only log available now. It's not as verbose as it could be in the official builds, but that's another topic.

Your log from Magisk 1671 does not look right at all. Magisk is trying to run the late_start service scripts before even having mounted the Magisk image (hence it can't find the service.d directory)... And then it just stops. Hm...

I don't know. Maybe you could test with different combinations of modules installed, and maybe even doing a reinstall of Magisk.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Yeah, I was thinking about starting from scratch before in case that it tends to be a messed magisk installation, weird thing is that it's same on my N7 (and even on my lenovo a3500 mtk tablet), youtube vanced vanishes only if busybox module is present no matter what I install first, no other module makes it to disappear... On my 5t however there's no such issue, that's probably the magic of magisk :)
[Android Software/Hacking General [Developers Only]] osm0sis:
This is giving me a bit of deja vu.. maybe it's a regression? From what I recall it was the fact that busybox creates such a large number of links that it will show such issues in Magisk where other modules won't.

Can you upload your will magisk.img zipped?
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
That's /sbin/.core/img, right?
[Android Software/Hacking General [Developers Only]] osm0sis:
That's where Magisk mounts magisk.img, the actual file is in /data/adb/. The issue with all the mounts was with its "Magisk mounting" such a large number of files into the live filesystem.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
All right, thanks for pointing this out! :highfive:

Here's the magisk.img located in /data/adb/magisk.img:

https://drive.google.com/file/d/1pCV7FhTxznL6dTRdX94NaE2XuWHAd5On/view?usp=drivesdk
[Android Software/Hacking General [Developers Only]] osm0sis:
Using this exact magisk.img on my OP5T reproduces your issue completely, and I'm on an internal Magisk 1675 beta, so it seems unrelated to bitness, and just looks like a Magisk regression in general. I'll forward your magisk.img to [MENTION=4470081]topjohnwu[/MENTION]. :good:

Edit: Hmm, or not? Vanced just wasn't showing because of a YouTube update was already installed via Play Store, so that was in /data/app and superceded the /system Vanced APK. Disabled YouTube to revert to the "factory" (i.e. system) version, enabled again, and Vanced showed up and worked fine.
[Android Software/Hacking General [Developers Only]] notstevek:
Yeah it doesn't seem like it would be hard to implement from taking a look at your script, don't know why they won't add it either. There's no way to force mounting with your script? Like add password in the script manually, kind of making a fstab of sorts for the script? I don't know Java though, if I did I'd make a pull request.
[Android Software/Hacking General [Developers Only]] osm0sis:
More of a recovery fault.. TWRP should be decrypting even if it's triggered from an OpenRecovery Script.
[Android Software/Hacking General [Developers Only]] notstevek:
Maybe we can ask nicely and have them add it lol.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Hm, that's weird, when uninstalling busybox I'm always greeted by the youtube vanced custom icon, so that it's almost impossible that I missed a unintentional youtube update - even weirder is that now that I'm booting up my Mako I can confirm that vanced shows up with busybox being present, the first time since 2 previous busybox releases where this issue originally started for me.

Can it be that there's a randomness in this mounting issue? As I didn't do anything besides booting up the device and this hasn't done anything to solve the problem the last weeks...
[Android Software/Hacking General [Developers Only]] osm0sis:
Probably. It smacks of race condition.
[Android Software/Hacking General [Developers Only]] m0han:
ADBsync sdcard Backup adb.exe issue?

i used your latest release today and could not get it working. my device was listed in 'device manager' in win7 ultimate x86, but running adb devices in the bin folder of your package got me screenshot 1. i then replaced 3 files in your package with the files inside the zip file attached to this post (see screenshot 2) and my device got detected (see screenshot 3). but, the process gets interrupted whenever a ? mark is encountered (in the filename). anyway, the process completed without further hitches after the ? mark was removed from the filenames (see screenshot 4). can this be overcome someway so that i can just walk away after running the batch file? many thanks for your work.

1. View attachment 4586310 2. View attachment 4586311 3. View attachment 4586312 4. View attachment 4586313 5.
[Android Software/Hacking General [Developers Only]] osm0sis:
Yeah sounds like adb just needed updating on your device.

There are known issues with certain characters the Linux filesystem accepts and Windows does not. That's why I set up the exclude+zip functionality, but it's not perfect. I had asked [MENTION=4474482]Renate NST[/MENTION] to update adbsync with some character replacement (: is also very problematic) but I think it got backburnered indefinitely
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Sir waiting for the ZipSigner for Mobile Version...

I am running on stock touchwiz KitKat 4.4.2...

Thanks
[Android Software/Hacking General [Developers Only]] FlemishDroid:
I installed this module but when I type "su" and "busybox" in terminal I get the message that busybox isn't found. In the past it was working. I'm on Los 15.1 on Mido. Thanks.

Verstuurd vanaf mijn Redmi Note 4 met Tapatalk
[Android Software/Hacking General [Developers Only]] osm0sis:
Thanks for the log.
[Android Software/Hacking General [Developers Only]] marcdw:
Besides the aforementioned log you forgot to include, any other useful info you can provide? How is busybox installed. Magisk module, SuperSU systemless, classic (/system/xbin). What did you do recently that may have changed from "in the past". If using Magisk, did you just update to v17.x. Been seeing a lot of issues across threads with that.

Dev can't help you without some nuggets.

Moto G5S Plus XT1806, OmniROM, microG (NoGapps), MultiROM, XDA Legacy
[Android Software/Hacking General [Developers Only]] osm0sis:
Moving this over to my Complete Shell Zip and Signing thread: https://xdaforums.com/android/software-hacking/dev-complete-shell-script-flashable-zip-t2934449
[Android Software/Hacking General [Developers Only]] mrrocketdog:
[MENTION=4544860]osm0sis[/MENTION] , confirm.# 98R50282HC160631V.

ty for your work/time/knowledge.

dave

err on the side of kindness
[Android Software/Hacking General [Developers Only]] osm0sis:
Wow! Thank you so much for your generosity! Again! Very truly appreciated. :)
[Android Software/Hacking General [Developers Only]] Rom:
Hello @osm0sis :)

I hope you're doing well.

I'm trying to compiling iproute2 for all android archs with the NDK on Debian 64.

I have difficulties to find a recent thread to know where put the iproute2 source files and how to setup the NDK compilation.

Previously, all iproute2 binaries founded wasn't work on my aarm64 device, as i'm on Nougat, it breacked my data.

I already install android-sdk,android-sdk-platform-tools, lib32ncurses5, lib32stdc++6 and downloaded/extracted android-ndk-r17b-linux-x86_64 in my /home dir, and make an export ANDROID_HOME=/usr/lib/android-sdk.
[Android Software/Hacking General [Developers Only]] osm0sis:
For compiling usual C source with Makefiles, etc. you should use the NDK to create standalone cross-compiler toolchains for the arches you're interested in.
[Android Software/Hacking General [Developers Only]] flyingsaucer75:
Very nice collections and thanks for your hard work
[HTC Droid DNA] jbela1911:
I am switching over to a GSM service and will be giving the DNA to my wife. What would you guys recommend for stability? I would like to set her up with something that has some tweaks and optimizations, but stability is priority. Any suggestions will be greatly appreciated. Thank you.
[HTC Droid DNA] munchy_cool:
Newts Sense 5, using it on my ATT line and no reboots or hangs till date, been a month since I rebooted my phone
[HTC Droid DNA] jbela1911:
Thank you. I'll have to give that one a shot.
[Xperia Z Q&A, Help & Troubleshooting] zecoolerking:
I've been messing with this phone for a week since I got it and I've tried every APN setting I could find. Does anyone who is using the phone on AT&T have MMS working and can they share with me their APN settings? Also of note, I have made sure my plan is a smartphone 4G plan with att. I've talked to 10 people at ATT and they really don't know what they're doing. If I can't get MMS working I'm afraid I'm going to have to return this phone.
[Xperia Z Q&A, Help & Troubleshooting] lstrike:
Go to Settings>Xperia>Internet Settings

Follow the instructions which will download an app that will install the proper APN settings. I fought with the same issue and this made all perfect! MMS to your heart's content.
[Samsung Galaxy Nexus] ca.reaper:
This might seem like an odd request. I searched google and xda with no luck so I apologize if this is covered somewhere already. A point in the right direction is appreciated.

I got my gnex used on ebay right before 4.2.2 got pushed. I got the update and everything is working well, except for a few hiccups. I would like to flash the stock 4.2.2 image without unlocking the boot loader, or rooting if possible, but I am certainly not opposed to it. What is the best way?
[Samsung Galaxy Nexus] animal24:
by definition you cannot flash things without unlocking your bootloader. Unlocking will factory reset your phone, so be sure.
[Samsung Galaxy Nexus] Zepius:
guess the sticky in the general section eluded you:

http://xdaforums.com/showthread.php?t=1626895
[Samsung Galaxy Nexus] ca.reaper:
Thank you. As I said in my original post, I apologize if this was already covered. I had trouble finding it for one reason or another.

Mods please feel free to delete this thread if it is detrimental to the forum.
[Samsung Galaxy Nexus] almahix:
Use the GNex toolkit. If the one in the stick doesn't yet for 4.2.2, make a donation to the developer and get a key to update it easily. Apply the update and you can do what you want.
[Samsung Galaxy Nexus] Pirateghost:
WTF? you have to donate to be able to do something that Google gives you freely?

There is a problem with this
[Samsung Galaxy Nexus] kalerparamvir:
Download Nexus Root Toolkit v1.6.3 from http://www.wugfresh.com/nrt/ and follow the steps.

It is by far the easiest method to root/flash Nexus 4.

Param.
[Samsung Galaxy Nexus] ca.reaper:
Great looking app. I know what I will be doing this weekend.

Cheers.
[Samsung Galaxy Nexus] Zepius:
the price you pay for ignorance and laziness.
[Samsung Galaxy Nexus] ca.reaper:
You do not need to Donate to use the GNex toolkit, It just adds an auto update function. I don't consider the unlock/root/flash scripts to be lazy, just convenient. With a kid in the house and another on the way I don't have much time to sit at a computer and hack away at my phone. If I need something done and it can be done with a few clicks, that's great, as long as you understand whats being done and how it works. I haven't used adb much since I moved from my OG droid, but I do know how to use it.
[Samsung Galaxy Nexus] ca.reaper:
Used it this morning. Great app. I just unlocked and rooted for now. Thanks again.
[RAZR HD Original Android Development] mattlgroff:
MOVED/UPDATED for 1.21. Thread saved/closed for any help/assistance/value left in it.
[RAZR HD Original Android Development] killrhythm09:
Thanks for posting the updated utility. :)

Number 4 explained mentions TWRP again instead of CWM though.
[RAZR HD Original Android Development] mattlgroff:
That's what I get for copy pasting it ;)

Fixed
[RAZR HD Original Android Development] Tomsgt:
Nice work Matt
[RAZR HD Original Android Development] helloterence:
Will this work on the latest OTA 9.16.6? I know the previous version did not and I have been waiting to root my phone. If yes, do I simply do options 6, then 5, and my choice of either 3/4?
[RAZR HD Original Android Development] mattlgroff:
Yes it will work. The unlock requires root so use Motochopper first to root :)
[RAZR HD Original Android Development] anoninja118:
took all of 10 minutes to be stock then be re-downloading all my apps on AOKP, great work man!!

sent on the fly from my RAZR HD
[RAZR HD Original Android Development] strike3:
I'm so glad I found the original Droid Razr HD Utility. I almost downloaded a rip off utility copied from you by a guy named after an illness that people "shake" from. Begins with a P if you know who I mean.

I love my Razr HD. iPhone 5 and S3 didn't work out for me. Poor WiFi performance. I like the idea of a TWRP so I can make a full backup to my SD card.
[RAZR HD Original Android Development] LifeAsADroid:
Matt,

First, let me say thanks for all your amazing work developing this phone and for the two utilites (I am very grateful for 1.10 and looking forward to using 1.20).

Before I jump into the utility, I want to (as briefly as possible) explain my situation (and now looking back, ask a ton of questions): I have 4.1.1, rooted, and have performed the Wireless Hotspot hack procedure. I am unable to take the 4.1.2 update (most likely due to my hacking of the hotspot app, though I may have done something else that I don't remember). Will I be able to use this utility to upgrade to 4.1.2? And unlock my bootloader? And keep (or re-do) my hotspot hack? What is the correct order for me? I'm thinking since I am rooted, I unlock the bootloader, then install 4.1.2, correct? Does this keep my root intact, or do I need to use VooDoo OTA Rootkeeper to unroot prior to performing the 4.1.2 update in the utility, then re-root?

Finally, is there a way to copy and save my currently installed apps (and pics, etc) so I don't have to re-install them all? Is this the function of Titanium Backup, or is there a different/easier way to do it?

Thanks again!
[RAZR HD Original Android Development] mattlgroff:
Unlock your bootloader before you try to do anything, it's the best safeguard to have.

You can go to 4.1.2 with it from 4.1.1 yes.

This is not a rootkeeping utility. If you unlock you can always flash a root.zip like Superuser.zip, SuperSu.zip, etc. in CWM or TWRP to root. You don't need Voodoo anymore.

Backups is up to you. Titanium Works AFAIK.

I think I got all the questions hidden in that blob of text, hopefully ;)