yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] TechnicalZombie:
Hi All!

I bought this android 10 head unit, one of the many on the market, which features the com.tw.video, radio, music, etc bundle. It must be a parallel version of the one you mentioned before in this thread. They kind of work great, but it annoys me the fact that com.tw.music can only access "storage/extsd*" and "storage/usb*" (it's a 128 gb unit so I want to store the music in the unit itself, instead of a USB pendrive). It can also do something via internal storage "iNand/DCIM" but I have no idea of what iNand is and neither I can find any info on the web (my understanding is that it reads the playlist from a .music file under DCIM but it's stupid imho). So let's just ignore the iNand system for the time being.

So I was wondering if you can help me recompile this apk changing some lines of code (make storage/extsd* point to, say "storage/emulated/0/music", so that under SD card option I can see files inside my music folder. Maybe increase the apk version so I can run the apk as update?

I believe this is the code to change (TWMusic.java):

private void initRecord() {
try {
this.mSDRecord = new Record("SD", 1, 0);
File[] fileSD = new File("/storage").listFiles(new FileFilter() {
/* class com.tw.music.TWMusic.AnonymousClass3 */

public boolean accept(File f) {
String n = f.getName();
if (!f.canRead() || !f.isDirectory() || !n.startsWith("extsd")) {
return false;
}
return true;
}
});
if (fileSD != null) {
for (File f : fileSD) {
addRecordSD(f.getAbsolutePath());
}
}
this.mUSBRecord = new Record("USB", 2, 0);
File[] fileUSB = new File("/storage").listFiles(new FileFilter() {
/* class com.tw.music.TWMusic.AnonymousClass4 */

public boolean accept(File f) {
String n = f.getName();
if (!f.canRead() || !f.isDirectory() || !n.startsWith("usb")) {
return false;
}
return true;
}
});
if (fileUSB != null) {
for (File f2 : fileUSB) {
addRecordUSB(f2.getAbsolutePath());
}
}
this.mMediaRecord = new Record("iNand", 3, 0);
loadVolume(this.mMediaRecord, "/mnt/sdcard/iNand");
this.mCList = this.mPlaylistRecord;
if (this.mCList.mCLength == 0) {
if (this.mSDRecordArrayList.size() > 0) {
this.mCList = this.mSDRecordArrayList.get(0);
} else {
this.mCList = this.mSDRecord;
}
if (this.mCList.mCLength == 0) {
if (this.mUSBRecordArrayList.size() > 0) {
this.mCList = this.mUSBRecordArrayList.get(0);
} else {
this.mCList = this.mUSBRecord;
}
if (this.mCList.mCLength == 0) {
this.mCList = this.mMediaRecord;
if (this.mCList.mCLength == 0) {
this.mCList = this.mPlaylistRecord;
}
}
}
}
} catch (Exception e) {
Log.i("md", "initRecord " + e.toString());
}
}

thank you!

GG

UPDATE: by rebooting the device, iNand now works (I've seen the youtube video you posted before), but you cannot put subfolders, wtf?! Like you can organize music in folders on USB and SD, but not under iNand, it only reads first level mp3 files!
[Android Head-Units] old.splatterhand:
Ignoring the iNand thing is the wrong way, my friend.

Indeed, iNand is the synonym for the internal memory of the device and works fine for me!

You should have in internal storage ( storage/emulated/0/ ) an iNand folder where you can place either *.mp3 itself or folders with the *.mp3 files inside.

I have just tested it myself on my unit and my music is recognized in the iNand tab after a reboot:

First two screenshots, i have tested with a single mp3 file, then the next three pictures with a folder with mp3 files.
[Android Head-Units] TechnicalZombie:
Nevermind, it works. I just had to reboot the thing. Thanks anyway!
[Android Head-Units] old.splatterhand:
Well, i'm not sure if i want to do that. Last time i've tried apk's from a newer allwinner headunit it crashed my radio app and i was not able to get my "old" radio app to work again without factory reset and full flash of the firmware.

What is your music app looking like?

But anyway, that is what the iNand tab is for, storing the music files on internal memory.

If your unit is new, i would contact the seller or manufacturer and ask him for a solution. Some manufacturer provide a own forum, like pumpkin, with helpful admins, for example.
[Android Head-Units] old.splatterhand:
I've tried it, but your apk isn't even recognized by my head unit.
[Android Head-Units] old.splatterhand:
It also doesn't decompile. Do you have your framework.res by hand?
[Android Head-Units] TechnicalZombie:
no, I don't even know what that is. I used some online tools to decompile the apk, which I took from priv-app.

Here's the output, but some code is missing (decompile errors being commented out)

EDIT: oh wait, I've found it under /system, I'm attaching framework-res aswell. Hope is what you're looking for
[Android Head-Units] old.splatterhand:
You'll find the framework-res.apk in the framework folder.

It is needed for a successful de/recompile.
[Android Head-Units] TechnicalZombie:
https://app.box.com/s/6txsa5mgp71isqsssrnl6rfaisthw5i1 there you go sir, too big to attach
[Android Head-Units] old.splatterhand:
Ok, with the framework-res i can de/recompile the apk. I have changed the sdk level to sdk 23 Android 6.0.1.

Let's see tomorrow, if my headunit can handle it.
[Android Head-Units] old.splatterhand:
Sadly the music app is still not recognized by my HU.

Now i changed from the apk you gave me the paths listed under iNand (1x in MusicService$1.smali, 2x in TWMusic.smali)

from

/mnt/sdcard/iNand

to

/storage/emulated/0/music

Nothing else is changed.

After that i recompiled it successfully.
[Android Head-Units] TechnicalZombie:
Brilliant, thank you! Ill try that.

Kind of puzzles me how the apk fails to install on your device
[Android Head-Units] old.splatterhand:
It's a system apk, not a normal apk. Maybe it needs other things from your HU to work (framework or something like that).

And it's compiled for Android 10, my HU is Android 6. Maybe there are other things to do to get it to work on older unit's that i don't know.
[Android Head-Units] Bestsniper:
Hi guys, i tried to replace the following files in my head unit :

com.tw.bt_305c app not launched at all

com.tw.radio_78cc end with success

SystemUI end with succes

The APK's are from the same android version 8.1.0,If any additional files should be replaced also for Bluetooth to work?

Please help
[Android Head-Units] Cipri0203:
Hello please can you help me i deleted bluetooth app from system priv/app and app and i try to install another app but it's impossible and now i can't go back i lose my Bluetooth car... Also i do à factory reset wipe data but bluetooth app don't get back.... Search to all internet but i don't find answers for this issue
[Android Head-Units] old.splatterhand:
It won't come back if it's deleted. I don't know what HU you have and it is very important to use a device/manufacturer apk. An Allwinner apk don't run on Rockchip Soc's.
[Android Head-Units] old.splatterhand:
Well, have you tried to use an app from here?

Permission set correctly?
[Android Head-Units] Cipri0203:
I will try tomorrow your bluetooth app.. Need only to replace your apk to system priv/app?
[Android Head-Units] Cipri0203:
And i don't know how to give permissions correctly? I have root my HU
[Android Head-Units] old.splatterhand:
Check the first post under "Instructions", i described it there.
[Android Head-Units] Cipri0203:
Ok tks for your answers tomorrow i will try and come back to you (hope this will work) 🙏🙏
[Android Head-Units] Cipri0203:
Hi can't open the app
[Android Head-Units] Cipri0203:
It's work tks soo much 🙏 where i can pay you a coffee?
[Android Head-Units] old.splatterhand:
Well, not sure if you're just kidding 😁

...but if you really want, my PayPal address is old.splatterhand@freenet.de

I'm glad i could help you!
[Android Head-Units] Cipri0203:
Did you receive your coffee?
[Android Head-Units] old.splatterhand:
Yes, thanks a lot!
[Android Head-Units] Cipri0203:
👍🏻 Tks for your help
[Android Head-Units] MilaDesign:
Hi

Can you tell me how did you decompiled that give you pretty good source code!

When i decompile using jadx codes are not readable.
[Android Head-Units] TechnicalZombie:
I used the same... Needs some deep understanding, yes
[Android Head-Units] MilaDesign:
Can you help me. when i decompile it i get this:

can you decompile attached file for me please.
[Android Head-Units] old.splatterhand:
I use "Advanced ApkTool (v4.2.0) by BDFreak" for this files here (with updated apktool inside).

For your file, i was able to decompile and recompile (without changes) without errors.

Decompiled folder is in attachement. Unpack the rar file to get the decompiled folder.
[Android Head-Units] MilaDesign:
Thanks. but i have smali files. i just want java files.

I used jadx to get java files and fixed it myself. now first i test it on my head unit then if everything was ok i will add some new features to it. (like choose folder, remove file, new ui, etc...)
[Android Head-Units] MilaDesign:
Finally i redesigned music app.

Download link
[Android Head-Units] aliali55:
Possible way to install app and do you need roor

When installing it appears not installed
[Android Head-Units] old.splatterhand:
Most likely you need root to replace the original system apk.
[Xiaomi Mi A1 Questions & Answers] Dovahkiin.:
So guys i just bought the handset today.

Everything was running smooth until i turned on the manual mode and started focussing manually, a clicking noise came from the camera everytime i change the focuss.

A little bit of noise is also there even when using auto mode.

I wanted to know if this issue is with everyone or it's just with mine.
[Xiaomi Mi A1 Questions & Answers] PsychedelicPeace:
Same problem here, like a shutter sound every time i switch from front camera to rear.

Have you try something to fix it? i haven't this problem on nougat.
[Google Pixel Questions & Answers] Poebat:
I can't get Xposed to install to stock 7.1.2. I looked into the error code and the xposed installer checks for /system/build.prop. Since that file doesn't exist the installer aborts... But when I boot into the OS and navigate to /system/ build.prop exists. I'm not sure what to do. Any ideas?
[General Ground Zero ROMS Discussion] Char_G:
Just wanted to wish everyone a wonderful holiday season, from the Ground Zero team. Bring on 2018 #GZRfamily ✌️❤️
[General Ground Zero ROMS Discussion] Pkt_Lnt:
Happy Holidays to you too. (found on Twitter, seems appropriate) :D
[General Ground Zero ROMS Discussion] Char_G:
Oh I love that, thank you so much ❤️
[Huawei Mate 9 Guides, News, & Discussion] idealfall1:
Hey guys!

Here is a litte guide to get oreo for your Mate 9. I'm sorry that i can't provide you any screenshots, because i already done it by my self.

What to do:

Launch the HiCare App

Go to the "Me" Tab

Go into settings

Change the country to "Belgium (Netherlands)"

Go back to the "Service" tab

Click on "OS Update" (or something like that)

Click on the Shortcut to directly install oreo

done ;)
[Huawei Mate 9 Guides, News, & Discussion] _Drifter_:
Not working here.
[Huawei Mate 9 Guides, News, & Discussion] kazprotos:
No luck here L09C432 321 Oreo Beta
[Huawei Mate 9 Guides, News, & Discussion] qrtnielsen:
Hi,

it worked for me instantly on MHA-L29C432B198 (which I changed to from C636 using a couple of days on funky).

Thanks, Kurt
[Huawei Mate 9 Guides, News, & Discussion] cfds:
Worked for me to from MHA-L29C432B198 to MHA-L29 8.0.0.361 (C432) ...Thx for the tip.

I hope battery life remained as before under N!
[Huawei Mate 9 Guides, News, & Discussion] idealfall1:
For me it's above average like on nougat, I'm around 4-6 hours of screen on-time.
[Huawei Mate 9 Guides, News, & Discussion] dwcasey:
Will I get upadate without SIM?

Dumb question, but I was hoping to hang on to my current phone until my Mate 9 gets Oreo. Which means my M9 does not have a SIM in it. However, I am connected to WiFi.

I'm waiting on official push versus Region changes or FF installs.

I have the US version, MHA-L29C567B190 . Thanks.
[Huawei Mate 9 Guides, News, & Discussion] aindow:
It doesn't work for me in the UK. I've also checked using firmware finder and the only firmware approved for installation is for 636 however I have a 432 direct from Huawei as a replacement for a broken Nexus 6P that was still covered under EU warranty.
[Huawei Mate 9 Guides, News, & Discussion] redhotneo:
you can upgrade manually.. Hwota way.. but can be tricky if u dont know what you doing
[Huawei Mate 9 Guides, News, & Discussion] drlsd:
100/100 WORKS thank u very match,100/100 ça marche merci bcp
[Huawei Mate 9 Guides, News, & Discussion] ekunagba:
It didn't work for me too. But I was able to update my MHA-L29C636 to Oreo 360 through FF about 26 hours ago.

Battery life is good and Oreo is smooth. I love the navigation floating button.
[Huawei Mate 9 Guides, News, & Discussion] Calingo:
Authentication Failed

:rolleyes: Changed the Region - Got the Update in HiCare App - Waited for the Download to Complete and In the End Got this!

Any Ideas? :confused:
[Huawei Mate 9 Guides, News, & Discussion] RDH001:
More information ? Full version number of firmware you downloaded ? What area are you in ?
[Huawei Mate 9 Guides, News, & Discussion] helli2:
Works for me here in DE (Germany). Thanks :victory:

Install ist working..
[Huawei Mate 9 Guides, News, & Discussion] ekunagba:
If you can use FF, I you'll get it.

search for MHA-L29 on FF.
[Android Apps and Games] Qizz:
Hi everyone!

I would like to present you my new racing game :)

[IMG="Logo"]https://dl.xda-developers.com/4/3/7/0/0/0/2/iPhone_180pt__3x.png?key=hzsD7_HnmM7DLxc2zj04fw&ts=1514236595[/IMG]

Google Play Link https://play.google.com/store/apps/details?id=com.qizz.RoadDraw

Road Draw Racing is new physics based driving game!

Draw your own road and climb the hill. Endless car racing odyssey.

GIF

View attachment 4369997

Screenshots:

• Ability to choose the transport that you like!

• Ability to improve the characteristics of the chosen transport

• Each transport has its own unique characteristics

• You draw the road yourself

• Great graphics

• Based on real physics gameplay

• Procedural level generation

• Endless gameplay

Any suggestions? :)
[Android Apps and Games] Qizz:
New weather system (rain, day\night)

New vehicle

New levels
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Mammouth:
May i upgrade with Dutty's Official WM6.1 directly over original tilt rom 6.0?

It is better to flash with TYTN II rom before ?

Thanks
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] _Alex_:
See the thread titled All Significant Kaiser Upgrading Links. Start Here! ? Read that!

DON'T FEED THE N00Bs. Teach them to read!!!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] P1Tater:
LOL, this is really starting to get good.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] _Alex_:
I think we should all be posting a message like that at the end of each of our redundant assistance posts. It certainly gets the point across...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] P1Tater:
I agree. I think I really needed the smiles I get from this. man I am one dimented person.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] _Alex_:
It certainly gets the point across, and it's fun reading for all!

As long as we don't get truly insulting and we always give them links, I think it should be fine.

We'll see if other members think we're being too harsh as we continue :D
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] jarek91:
And it's nice to see someone else join the club with me and tater :D

We can start rotating the flamethrower to make it fun for the whole family...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] P1Tater:
ROFLMFAO. Man if you guys could see my smile. My favorite so far has been "HEY FLAMEBAIT".
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] NotATreoFan:
Does this mean that your avatar is a real life picture of yourself? [I corrected the misspelling of demented] :D
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] P1Tater:
pretty close to it I hear.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Jay2TheRescue:
Give a man a fish and he eats for a day, teach him how to fish and he eats for a lifetime...

-Jay
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kinvid:
i got the same question, flash a duty 6.1 over 6.0 rom? i tried reading but can't find a question to it. is is YES or NO?:D
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] XtreMe_G:
no you cant flash dutty's 6.1 over a 6.0 rom. you either need some special hardware or you need a phone that is shipped with a 6.1 rom, which does not exist yet

this specific reason is why almost nobody uses dutty's 6.1 rom at all. if you take a look in dutty's thread, you will see hundreds of post of ppl who wish that they are able to use dutty's 6.1 rom.....if you had read a little more, you would find that dutty's rom is probably one of the least popular roms around here
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kinvid:
sorry for the wonderfulness of sarcasm, but I'm pretty new to this as I just got my Tilt a month ago and decided to customized my phone recently.... maybe I need to search more extensively through the "ROM Flashing FAQ for Newbies" thread to find out whether I can flash Dutty's new 6.1 ROM directly over my original at&t 6.0 ROM. Beside its fun, is it necessary to perform a ROM update whenever an "improved" cooked ROM is officially release or can I just find a popular tweaked out ROM and stick to it for the rest of year?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mark43:
Point #1: You are not "newer" than I am. If I can do it so can you.

Point #2: It is not a maybe but a DEFINITE need for you to read more.

Point #3: Car dealers come out with updated models of cars each year. Do you NEED to buy the new model each year? Flash a ROM, if you like it keep it if not try another one. You will find that even when you find the ROM of your dreams a master chef like Dutty comes along and makes the ROM you loved feel like you are running a triathlon in chain mail.

Ron <stepping of the soap box>
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kinvid:
point #1: i am newer despite the fact i joined before you. I joined in December and only browse through the forum just enough to decide if this phone is worth buying over an Iphone. in terms of flashing, I am new. Yes i can do it if you can, so encouraging of you.

point #2: Glad i found this forum, but I did not read enough to know how exactly how I can flash. i've been flashing satellite boxes for years so yes I definitely need to read more if i didn't know something so simple about flashing a ROM in a phone. I guess installling Windows Vista over XP on a desktop is no different than trying to install Mobile Windows 6.1 over 6.0 or over 5.0 DUH...i feel stupid, thanks for pointing that out

point #3: Not a good analogy, cars require monetary investment and undergo drastic changes typically every 4 years while cook ROM only your own "personal peference" and some good knowledge and understanding on how to flash. That is what i'm trying to do, I already know the procedures but if i get bash left to right by seniors just by asking one simple question in a thread i did not start, i'll go get help elsewhere.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ach2:
Welcome to the wonderful world of sarcasm :)

Yes - you can flash Dutty's 6.1 rom (or any other 6.1) directly on a 6.0 rom.

No - you don't need to upgrade whenever a new rom comes out... only if you want to try new or better aspects of your rom, or if you become a flash addict like the rest of us.

Before you start make sure you have installed Hard SPL - if you can't get that flashed to your phone then don't go any further or you run the risk of bricking your phone.

Also, read the threads in the WIKI and all of THIS STICKY before you start. Even if some of them don't seem relevant to what you want to do they give you pointers to what can go wrong.

Lastly, when you flash, if you get problems such as no sound, camera not working, keyboard layout wrong etc do a search - most problems have been found before and can be easily resolved.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kinvid:
I have not posted much and this is the first warm, welcoming reply I ever got. I ask questions if and only if I can not find the answers to my own questions in these ridiculously amount of posts within pages of threads. Thanks for the kind reply.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mllittle:
I am new to flashing roms on the Kaiser as well, but I managed to read through a handful of postings to find out the steps and files necessary. All the resources are out there and they are easy to find. Just hope that you don't have an important incoming call before you install the 6.1 radio. That happened to me. Good luck and make sure you do your homework before you start.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kinvid:
LOL....incoming call...i waited til 3am to flash my phone. well it's all done and said. Just install hard spl and flash it with a 6.1 radio and Dutty's 6.1 ROM. Wow i like the cube function and phone is much faster. easier than I thought. flashing hour is up! back go sleep.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
"QUICK" Guide - BNTV450 Nook 7

Unlock Bootloader

THIS WILL VOID YOUR WARRANTY.

Unlocking the bootloader WILL wipe and Factory Reset your device. Make sure to copy, backup and logout of everything before you begin.

Note: adb and fastboot need to be installed and working.

On device

Go to Settings - About and tap on the build number seven times to enable Developer options.

Go to Settings - Developer options and Enable OEM unlocking and USB debugging

Connect to computer and Allow USB debugging?

On computer

adb reboot bootloader

Wait for device to boot into fastboot mode then.

fastboot flashing unlock

On device

Follow the prompts on the device.

Unlock bootloader?

If you unlock the bootloader,you will be able to install custom operating system software on this phone.

A custom OS is not subject to the same testing as the original OS, and can cause your phone and installed applications to stop working properly.

To prevent unauthorized access to your personal data,unlocking the bootloader will also delete all personal data from your phone(a "factory data reset").

Press the Volume UP/Down buttons to select Yes or No.

Yes (Volume UP):Unlocking(may void warranty).

No (Volume Down): Do not unlock bootloader.

After it returns to fastboot mode, use the power button to turn off, unplug it from computer and then turn on.

It will reboot a few times, including an Erasing... screen.

Once device reboots, run through the initial setup.

Note: Sometimes mine would get stuck on the nook .... animation screen. Give it a few minutes (I wait at least 5 minuets) then power off and power back on.

Note: You will now have the annoying boot delay and "Orange State" message.

Orange State

Your device has been unlocked and can't be trusted

Your device will boot in 5 seconds