yashsingh1/xdaforums huggingface dataset:
[Android Software Development] digitalhigh:
Okay, version 1.6:

https://www.androidfilehost.com/?fid=95916177934519376

It was a challenge figuring out a method to auto extract system images in Windows. I first tried Ext2Explore, but that wasn't working for me. So, I found OSFMount by Passmark will allow me to actually *mount* the system.img file as a writable, removable disk. That's pretty cool, and much easier than other methods I've seen which specify using Cygwin and creating a loop block device and ....ech.

The tricky part about it was that OSFMount requires admin access, which is also tricky to get via batch. I can do it in the installer, but passing back the path to the file to be extracted gets wonky. So, like I've done with some of the other apps, I rolled up the .bat file into a .exe, only this time giving it an admin manifest.

The script then looks for the first free drive, mounts the system.img to it, and xcopies all the files from it to the same directory as the system.img file, using a time/datestamp and _system as the name. It then unmounts the image and sends you on your way.

Repacking the system images...that's a bit iffy, because Linux and Windows don't have the same Permissions systems, so touching a system.img in Windows and then just extracting it will probably cause issues. However, you could still use it as a container when flashing, then set the necessary permissions via update-script as usual.

Either way....it's still not 100% where I want it. I need to add better error checking for all bits of the routine to make sure what it thinks is happening is really happening. I want to add support for a -m flag so that we can just mount the system image. (This is still doable via the OSFMount GUI, but I want it built-in like everything else).

I want to add a check on the end of the .img extractor for if it's not boot or system - to try mounting with explorer. Same thing with .jarfiles - figure out a way to see if it's not an android jar, and launch with java if it isn't. Also, the right-click option for .img files is a bit weirder, becuase of how explorer treats image files to begin with.

Either way, I tested it on two different machines and it worked on both as expected. Let me know what you guys think.

Changelog:

01.28.15 -

Now supports system.img extraction!

Cleaned up installer. Added some smarts, removed some duplicates, fixed some names.

Added checks and install for osfmount and ext2fsd. Installs have to be manually clicked through...use the default paths and check all the boxes in ext2fsd.

Uh...lots of cleanup in the stuff for unpacking apks and jars.

Added a little script called NPP.bat that just calls notepad++. Thought it could be useful to call from command for opening files.

If NPP is installed, it will now add associations fo xml, prop, conf, config, and .smali files.

Better method for adding path values.
[Android Software Development] espaciosalter20:
[MENTION=3400685]digitalhigh[/MENTION], i have see that you're (like me) a big fan of aroma installer... Did you think that it will be possible (on a very future release) that included an easier way to configure an aroma config setup with error check to make debugging an easy task? :)

Enviado desde mi Nexus 7 mediante Tapatalk
[Android Software Development] digitalhigh:
Here's a hint. For Aroma and updater-script, you can usually specify it's a Bash file in Notepad++ language menu, and get fairly decent syntax highlighting.

However, yes, I'd like to write proper language definitions for both Aroma and Edify at some point in time.

In the meanwhile, I've taken the liberty of exporting my own custom language files from Notepad++ for .smali and logcat (recognizes .lca and auto-highlights).

Also....threw in Sdat2img for the new format used in CyanogenMod, and then linked it to UnpackImg. The result is a one shot, double-click to decompile method that will recognize the system.transfer.list file, use Sdat2Img to convert it to a System.img, and then unpack THAT into a timestamped system folder for your convenience.

What else. Better error reporting on the unpacking stuff for system images now, added a "mount" option for system images on right-click so you can edit the file directly...eject in "my computer" when done.

Re-did the path stuff again in installer...it was having issues at times. Also removed the nags on image extractor.

Oy...I'm tired. I'll post a proper changelog in the OP in the morning.

https://www.androidfilehost.com/?fid=95916177934519948
[Android Software Development] digitalhigh:
https://www.androidfilehost.com/?fid=95916177934520469

V1.8

Fixed some issues w. image unpacking script, added sexy progress bar.
[Android Software Development] arbit12:
Hi,

When I try to unpack system.img, it says ofsmount not recognised as a command. I went back to the installation, and it did not install ofsmount, with the message that it needs an x86 system. I have a win64 system, so maybe it is not installing the x64 version if the x86 test fails?
[Android Software Development] digitalhigh:
That's odd. In the install folder is teh x64 version of OSFMount as well. I'd try installing it, then run the installer again just to make sure the paths are getting written.
[Android Software Development] arbit12:
Installed ofsmount_x64 . Checked that it is installed by running it independently.

Then ran installer.bat again and tried unpacking system.img.

Screenshot enclosed.
[Android Software Development] digitalhigh:
Grrr. That's frustrating. What you can do is go to control panel > system > advanced > environment variables

Find the Path variable. Double-click it. Add

;C:\program files\osfmount

Making sure there is a semicolon between that and the the previous entry.

You may have to reboot or restart explorer, then it should work. I'll work out the path issues in installer before the next release.
[Android Software Development] arbit12:
Okay, thanks for that.

Now it mounts the system.img as z, then windows tells me I need to format it before I can use it. if I cancel, it says Z is not accessible and volume does not contain a recognised file system ??
[Android Software Development] arbit12:
Should have clarified that happens if I do right click and Mount.

So I tried unpackimg system.img

It creates the SYSTEM_xxxxx directory, but it is blank. Also get some errors.
[Android Software Development] digitalhigh:
Install ext2fsd, also in the installer folder. You're close!
[Android Software Development] berryman13:
This is really cool. Not sure if the installer was just checking for certain installations before doing it's own but it through a whole list of errors before finally isntalling properly, the registry stuff was all straight.
[Android Software Development] goofwear:
This is an amazing program. I downloaded it and used it about 6 months ago. I had to sign in just to thank you and let you know. :)
[Android Software Development] goofwear:
Do you have any updates for a newer version of this?
[Android Software Development] digitalhigh:
Holy mother of god! Has it really been over a YEAR since I've posted about any updates for this?!

I create a lot of these things mostly "for myself" and sometimes forget that there are versions out there that others may actually use.

Well, funny that you've asked. Your post actually motivated me to go over things and do a proper cleanup, trying to make head and tails of all the nonsense I've added and removed since then.

Basically, yes. There are a ton of updates, ones which I've actually been syncing rather frequently to the .git for this project. Apparently, I've had this on github since July and not thought to post about it. Sorry.

Here's a little changelog/list of features:

Update smali, baksmal to v. 2.1.1.
Add shell script for oat2dex (not implemented in context menus, just avaialable for now)
Update APKTool to latest version
Add dx.jar - for converting java classfiles to .dex (just available for now)
Add ext4 and ext2 tools - For manually unpacking images if needed. These are GUI based, not my work.
Add rimg2sdat - For converting .img to sparse (Not implemented yet)
Update sdat2img to latest version by xspirit, added python to installer as required.
Add zipalign function (Not implemented, can be called via "za filename.apk"
Add decompile to pure Java:
This utilizes a few tools to take apk's and jarfiles and decompile them to as close of an android package as we can get without having the actual source code. While we cannot at this time recompile these into apk's, it is very useful for analysis when trying to implement other mods. Like...really helpful. This one can be accessed by right-clicking a decompileable package and picking "decompile to java".

There are also a number of undocumented (read, I forget what they do) programs included for all kinds of various stuff I've ran across in ripping things apart. I will try to sit down and make up proper documentation, as well as finish the shell implementations for the other commands.

Either way...enjoy!

https://github.com/d8ahazard/DroidShell
[Android Software Development] goofwear:
Thank you very much. I love this and the Debloater program some one else made on XDA.
[Android Software Development] dgadelha:
It's Java.. :/
[Android Software Development] digitalhigh:
It should be noted that I've done some more updates - the installer is now adding to PATH correctly, and I've reworked the .img extraction tool as it wasn't playing well anymore.

I need to redo the ability to extract system images - right now, EXT2FSD doesn't work correctly with Windoze 10. So, other OS'es should be fine, but you have to use EXT2Explore and EXT4Unpacker in the droidshell folder to manually extract (for now).

When you extract a boot image - it will now create a subdirectory for that file (like when we extract an APK). Makes it easier to work on multiple boot images in one folder.

Lastly, I still need to rework the ability to extract sparse system images. .transfer.list. Shouldn't be hard, but with EXT2FSD broken, I'd been focused on that...

What is java? Why do I get the impression this is a spam post?
[Android Software Development] silver770:
how did you fix the error

ERROR: Invalid syntax.

Type "REG ADD /?" for usage
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Zixx:
So i recently Updated to NK2 and everything was just normal, until lately i kept on trying to save a pic or an Mp3 on my sd card with no success, so i decided to format itto see if the issue would go away.

To my surprise i tried to format it and it wont let me, i tried on my phone , on my Pc, on a ubuntu Pc and it would say "format successfu!" yet I would insert the sd card on my phone and everything was still there!.

i dont know what else to try!.

it wont let me save, erase or ,format the Micro sd!.

Any help is greatly appreciated!

Thanks.

P.s.: It's a "SanDisk Ultra 64 GB microSDXC Class 10 UHS-1"
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Rakuu:
Have you tried formatting as root? There could bave been some weird permissions fluke that happened. Is your device rooted? You need root to enable being able to write to the sd card yourself from the phone, otherwise only apps can if i understand it correctly.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Zixx:
yeah I'm rooted and all.

The case is that my Micro sd card happens to be a bad batch of cards which I recently found.

I was researching on it and this card happens to lock itself, apparently there is no way to unlock it, according to Sandisk.

so I contacted Sandisk and see if I can excange it (Hopefully, I am Still under warranty) otherwise I'm stock with a card full of music and pictures I no Longer want, and that it wont save any other files , until i buy myself a new one.

thanks thought!
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Rakuu:
Wow that blows, glad you got it figured out though.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Matttrix:
Sandisk cards have lifetime warranties as long as you have proof of purchase your good to go. I exchanged mine with no issues but I ended up getting a 64gig Samsung card.
[ONE Q&A, Help & Troubleshooting] AlphaX2025:
I have a OnePlus One running TWRP, CM12 and Franco.Kernel.

I found that my bootsplash screen ( not bootanimation ) has been upscaled. That is earlier "Powered by Android" at bottom, was showing completely. But now first few second it is completely displayed, but after that a large part of it is hidden!

Please explain me what is happening and how to fix it!

Thank you!
[ONE Q&A, Help & Troubleshooting] ogrillion:
Its a bug in the newer nightlies I noticed it too.

In short don't worry about it, cm will fix it
[ONE Q&A, Help & Troubleshooting] ek69:
CM did that. There's nothing to fix

Sent From Lollipopified Bacon Goodness!
[ONE Q&A, Help & Troubleshooting] AlphaX2025:
User ' sidharth.gtm ' just posted a fix. Problem solved!

http://xdaforums.com/oneplus-one/themes-apps/fix-splash-screen-cm12-cm11s-restore-t3013574

Kindly close this thread.
[Android One (First-Generation) Cross-Device Genera] akhilnarang:
I made a tool to install recoveries-custom/stock, lock and unlock bootloader.

Its for Linux.

If on Ubuntu do

sudo apt-get install android-tools-adb android-tools-fastboot git-core

To install

git clone https://github.com/akhilnarang/sprout-tool.git
cd sprout-tool
./sprout-tool.sh
[One (M8) Q&A, Help & Troubleshooting] Hieu604:
Hi guys I am trying to install cyanogenmod but it gives me this error

"This package supports bootloaders: 3.18.0.0000, 3.19.0.0000, this device has bootloader 3.16.0.0000"

I searched the forum for those bootloaders but seem like i cant find it. Anyone know how i can install this?
[XDA Assist] XDA Visitor:
I have installed lollipop rom but want to restore back to official sony jellybean rom..I m having xperia C...how to restore back to official rom as I have no backup of official 4.2.2 build 16.0.B.2.16....how to install it???
[XDA Assist] Darth:
Hi

Here is a guide on flashing stock firmware for your device, read it carefully before proceeding. If you need extra help, you will need to register on XDA and ask about your issue in the thread,

Legacy & Low Activity Devices > Sony Xperia C > Xperia C General > [HOW TO] Install/Restore Stock Android System on any Xperia Device

Good luck!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] QA Bot:
Q&A for [ROM][CM10][ALL MDPI] Touchwiz 5 Nature UX 2.0 V2 2013-08-01

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM][CM10][ALL MDPI] Touchwiz 5 Nature UX 2.0 V2 2013-08-01. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rapidly.reac:
update links

hi..plz update link for lww dev-files..
[Miscellaneous Android Development] nobreak1970:
Here is a thread where we can all have a central spot to have fun with our phone. :)

I would like to turn this into an "All Things Root" thread. I'll maintain it as things progress. :)

All info is available between this thread and the one linked.

Here is THE link to get the ball rolling on root.

http://xdaforums.com/showthread.php?t=3007547

FIRST AND FOREMOST THANK [MENTION=2577276]stevotdo[/MENTION] FOR MAKING ALL OF THIS POSSIBLE!!!!!!!! His talent and time got us ROOT
[Miscellaneous Android Development] ShapesBlue:
Hmm I'll have to check this out on my daughters phone. Root is nice but the bootloader unlock is even better!

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Miscellaneous Android Development] nobreak1970:
I love the phone. I believe it will be one of the most underrated mid-tier phones this year. It's a Huawei is the reason; although I've owned many Huawei phones my first being the T-Mobile Comet years ago. :)
[Miscellaneous Android Development] ShapesBlue:
Yea I just want root to remove all the bloat on it, don't really need the bootloader unlocked because my daughter doesn't really have a clue what either is really

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Miscellaneous Android Development] nobreak1970:
Check out stevotdo's link. Have to do both because he made a rooted kernel image for us. Can't flash anything until the bootloader is unlocked. :)

He lays it out in a very easy and manageable way. The thing that takes the longest is emailing Huawei and getting the phones unlock code.

It took about 4-5 hours for them to reply to mine. Seems some people are not getting replies. My recommendation is to send an email late in the day. Check the time difference between where you are and China. If you send it when they are in the office you'll most likely get a response like I did. :)

I titled mine "REQUEST: Y536A1 Bootloader Unlock Code"
[Miscellaneous Android Development] ShapesBlue:
I just want root, I could care less about the bootloader. If it was my phone I'd surely unlock the bootloader but it's not my phone, I only pay the bill lol

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Miscellaneous Android Development] johnmjohnson:
Had anyone been able to remove all the att bloatware? I cannot get uber, yp and that damn flamingo program to come off.
[Miscellaneous Android Development] jace:
Can't seem to install xposed framework on this phone even with root. I verified root was working properly with root checker but I still get the message "The latest version of Xposed is currently not active. Did you install framework and reboot?" I gave it root permission, installed/reinstalled, and rebooted several times and still get that error message.
[Miscellaneous Android Development] ShapesBlue:
Might just be incompatible

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
[Miscellaneous Android Development] jace:
Found the solution to xposed not installing. It's a workaround but some modules won't work with it. http://xdaforums.com/showpost.php?p=52801382&postcount=8

EDIT: GravityBox wont work :(
[Miscellaneous Android Development] lunar aura:
Finally I have been waiting for root since last November thanks!

Now does anybody know how to get portable wifi tethering hotspot to work without it giving the verifying authorization & "temporary network problem that prevents the enablement..." error?
[Miscellaneous Android Development] nobreak1970:
Yeah I was very disappointed.
[Miscellaneous Android Development] nobreak1970:
I'm going to add the exposed instructions and the bloatware removal instructions to the OP later tonight.
[Miscellaneous Android Development] nobreak1970:
See OP for Xposed installation.
[Miscellaneous Android Development] jace:
I would advise against removing AT&T address book. When I removed it, my "Contacts" would still try to open AT&T address book and wont finish loading. Titanium backup had trouble restoring it and I had to do a factory reset. It would be helpful to have a list of bloatware apps that are safe to remove but I use this device as my main phone and I can't risk testing every app and breaking it.
[Miscellaneous Android Development] nobreak1970:
Can someone post the .apk of this? It'll save from having to factory reset.
[Miscellaneous Android Development] nobreak1970:
If you all want a real good program for lock screen notifications I recommend an NiLS. After you install it make sure it's checked in accessibility then go into program manager and make sure it has access to drop zone
[Miscellaneous Android Development] nobreak1970:
Also it's really cool if you use the new version of Google and Google now launcher you can set it up to where you can say ok Google while the screen is off
[Miscellaneous Android Development] sparktronics:
AT&T Address Book

I have attached the APK for the AT&T address book
[Miscellaneous Android Development] nobreak1970:
Is anyone else enjoying this new version of EmotionUI? Thank goodness they added the app drawer. :)
[Miscellaneous Android Development] nobreak1970:
HOLY CRAP MY OP!!!!!!
[Miscellaneous Android Development] ShapesBlue:
Wow what happened to the post? Just looked at it myself

Sent from my Nexus 5
[Miscellaneous Android Development] Shadicbypass:
At&t Address Book apk

Sorry it took awhile to post this up I forgot someone needed this file.
[Miscellaneous Android Development] Shadicbypass:
Fast boot for y536a1

This requires root

Make a backup in twrp before doing this. It is not my fault if your phone is softbricked or bootloops and you can't restore because you did not make a backup. If you follow directions exactly you should have no issues though.

OK I figured how to enable fast boot on our phone.

1. Download a build.prop editor. I recommend prop editor from google play store.

2.open the prop editor and grant root access.

3.look up ro.config.hw_quickpoweron and enable both.

4.open the menu at the top and click save.

5. Reboot phone.

6. Check settings. You should now see a option to turn fast boot on and off near the bottom of the list.
[Miscellaneous Android Development] Shadicbypass:
Fast boot y536a1

Here is a picture.
[Miscellaneous Android Development] Shadicbypass:
I know our phone does not have the best volume. I have discovered a solution if you google viper for android and install that audio driver. You can modify the volume on this phone. It is not as loud as a flagship but i t is better.
[Miscellaneous Android Development] Shadicbypass:
I know this post is real old but if you use a custom launcher on this phone and have the brightness all the way up. The 720p screen really shows. I find the stock launcher just does not take advantage of the screens resolution so I use nova launcher beta.
[Miscellaneous Android Development] nobreak1970:
You know I never had the brightness up all the way on this phone before it is nice.

Less battery drain than auto brightness?
[Miscellaneous Android Development] Shadicbypass:
No the battery will drain a little faster with auto brightness off. But if it is on it dims the screen but saves a little battery.

Sent from my HUAWEI Y536A1
[Miscellaneous Android Development] nobreak1970:
I believe that interest in our phone is dead. ?
[Miscellaneous Android Development] ShapesBlue:
Sadly it looks like your right. I have noticed at least in store Walmart doesn't seem to carry the phone anymore

Sent from my Nexus 5
[Miscellaneous Android Development] Shadicbypass:
My Walmart still carries this phone.
[Miscellaneous Android Development] ShapesBlue:
That's good, I've been to more than one Walmart and it's no longer there

Sent from my Nexus 5
[Miscellaneous Android Development] nobreak1970:
Just one dev to port a rom. I can't find one. ?

Even just a Port of EMUI 3
[Miscellaneous Android Development] ShapesBlue:
If I knew how to I would do it, sadly I don't

Sent from my Nexus 5
[Miscellaneous Android Development] codelover:
Replaced the buggy recovery with TWRP 2.8.6.0 for Huawei Y536-A1, which should fix the horrible mis-aligned buttons & text.

This is how the recovery supposed to look like.
[Miscellaneous Android Development] nobreak1970:
Awesome [MENTION=4893922]codelover[/MENTION] thanks!!

Now for cyanogenmod

?
[Miscellaneous Android Development] Shadicbypass:
I have discovered that our phone's stock kernel has built in swap support. I have tried several swap enablers but I only found 1 that worked. I am using roehsoft ram expander for swap support on my 64 GB force formatted fat32 GB class 10 microsd card. The app costs 10 dollars. There might be another one that works.

Here is a link to the paid app.

https://play.google.com/store/apps/...ander&pcampaignid=APPU_1_ypVoVeZ4xLHIBM-ig8gP
[Miscellaneous Android Development] nobreak1970:
This will make things much easier!!!

Kingroot WILL root this phone.

Leave the stock kernel. Don't flash the prerooted one.

http://xdaforums.com/showthread.php?t=3107461

---------------

Admin Note: this thread has a dedicated questions and answers section which you can access here -->.