yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] gps3dx:
Hello,

I'm using nougat custom rom on my device, (CM/LOS based ) - i.e it is already installed.

I wish to edit the framework.jar internal dex files - AFTER/POST installation of the rom.

I know

I can & how to edit the dex & jar, I already made it.

note: I wish to make those change POST rom compiling, since i'm not a rom dev nor know how to compile a rom ( nor need/want to waste time to know how ).

i.e the changes I want to make are to bin/compiled framework.jar that is already installed on the phone.

My problem is that after I replace the orig framework.jar (/system/framework/framework.jar) with the modded one, I get bootloop with errors like:

Failed to open dex file from oat file. File: /system/framework/framework.jar:classes2.dex Error: Failure to verify dex file '/system/framework/framework.jar:classes2.dex': Bad checksum (0c7053f1, expected 282a531b)

Could not create image space with image file '/system/framework/boot.art'.
Attempting to fall back to imageless running.
Error was:
Failed to generate image '/data/dalvik-cache/arm/system@framework@boot.art':
Failed execv(/system/bin/dex2oat --image=/data/dalvik-cache/arm/system@framework@boot.art --dex-file=/system/framework/core-oj.jar --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/framework/okhttp.jar --dex-file=/system/framework/core-junit.jar --dex-file=/system/framework/bouncycastle.jar --dex-file=/system/framework/ext.jar --dex-file=/system/framework/framework.jar --dex-file=/system/framework/telephony-common.jar --dex-file=/system/framework/voip-common.jar --dex-file=/system/framework/ims-common.jar --dex-file=/system/framework/apache-xml.jar --dex-file=/system/framework/org.apache.http.legacy.boot.jar --dex-file=/system/framework/telephony-ext.jar --dex-file=/system/framework/org.dirtyunicorns.utils.jar --dex-file=/system/framework/telephon
Attempted image: /system/framework/boot.art

after I upload the modded jar I made sure it got 644 permissions & I wipe dalvik&cache from recovery.

I even tried the above + wiping "/data/dalvik-cache/arm/system@framework@boot.art" - but still got bootloop...

I know i'm really close to success... but I know i'm missing something...

I think that system@framework@boot.art isn't "regenerate" when I wipe dalvik&cache or when I wipe it manually.

I think also it have something to do with build.prop values like "dalvik.vm.dexopt-data-only=1" or "dalvik.vm.dexopt-flags=m=v,o=y"

if I could only bypass the checksum... everything I guess would work.

I hope someone can help me ( or tell me which sub-forum in xda can help me with this Q ).\

edit:

I understand now that because I hex edit the classes.dex of framework.jar I get that "checksum error" because I should *somehow* "re-calculate" the checksum for that dex file.

I wonder how to do that,

without

decompiling &recompiling the dex.... anyone ?

I'll appreciate any help,

Thanks.
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
Hi.

first off i have to say im completely new to this, and been googling all day for how to update my phone from 5.0.1 to 6.0 as it doesnt get it automatic but cant find what i feel is the right way for me. so i feel pretty stuck :P

this far i figure i most likely have an asian modell of m8, would like to upgrade it so i later on will get automatic updates (if it will ever be more coming for this one :P )

so as a noob i need some help on how to solve this issue

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.18.708.12

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: **************

(bootloader) imei: **************

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B13000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
you can update it using RUU.zip

however you have s-off device which is heavily modified ( supercid,dev ed or t mobile mid and Asian firmware )

so if you want t update the current firmware then

downoad this RUU

https://mega.nz/#!nQUTEQgS!705whK7tyPvtUgUQwLenweGTJepoHQDeBgsiHhrYVlQ

and follow this instruction to flash it

https://xdaforums.com/showpost.php?p=64926626&postcount=6

start from "2. Download htc_fastboot.exe" all the steps and files before this step is not for you

p.s backup your files before flashing as the RUU will wipe your internal storage
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
that didnt work to well, tryed several times (even with different usb ports, same result) :(

C:\htc>htc_fastboot.exe flash zip RUU.zip

sending 'zip'... (53966 KB) OKAY

sending time = 3.056 secs

writing 'zip'... (bootloader) rom parsing start ...

(bootloader) rom parsing finish ...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAILED (status read failed (Too many links))

Execution time is 3(s)
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
try the other method to flash the RUU

rename the RUU to 0P6BIMG.zip then put it in sd card ( formatted as fat32 ) and reboot to bootloader ( hboot )

it will scan for the file and asks to flash it just confirm

let's see how this goes
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
uhm, nope thats not working eighter :P

cant see/mount card when booted normally eighter :P
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
try to flash this firmware first ( flash using the same commands i the earlier guide i linked above )

https://mega.nz/#!bMpgkRrY!74hn2pGPKaX6aQhNDchSany6JmRtROm-zeozzhoSWac

note: if you are not on the stock rom/kernel flashing the firmware will wipe the os so you will need to flash the firmware then flash the RUU

after flash the firmware with success reboot to bootloader then reboot to RUU mode and flash the RUU again

if you see this error

“Error 90 hboot pre-update..."

repeat the flashing command again immediately
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
Failed :P

C:\htc>htc_fastboot flash zip fw_6.16.708.1.zip

sending 'zip'... (53849 KB) OKAY

sending time = 3.025 secs

writing 'zip'... (bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

FAIL41 model id check fail

FAILED (remote: 41 model id check fail)

Execution time is 4(s)
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
that's because your mid is 0P6B13000 and cid supercid

the right mid for this firmware is 0P6B63000 and cid HTC__622

you have tow options

1- flash the developer edition marshmallow firmware and RRU.exe

2-change the MID to 0P6B63000 and flash the asian firmware/RUU again

your choice and i think both options are valid for you

option 1

flash this firmware https://mega.nz/#!iZJHDKZK!wKL6TkHz8u5eXA6HfhUfgPDdfeTcCZMxygc9Mm_GGg8

then reboot to bootloader and run this RUU.exe from your pc as a normal app http://www.htc.com/us/support/htc-one-m8/news/

direct link for the RUU.exe

http://dl3.htc.com/application/RUU_...2.1540.4.exe?_ga=1.5739063.5870829.1473114560

option 2

change the mid to 0P6B63000

reboot to twrp ( flash it if you don't yet ) and connect your device to pc

type this 4 commands in cmd window ( press enter after each command )

adb shell

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x33\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

the above command is very sensitive and long command just copy and paste it not write it your self

exit

adb reboot bootloader

then flash the firmware again and followed by the RUU

source for change mid https://xdaforums.com/showthread.php?t=2708581

your mid command isn't available in this thread i edited a close one to be valid for 0P6B63000 ( i'm not an expert )

and i recommend you to choose option 1 ( any way it's your choice following my own command or use the most trusted option 1 )
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
flash firmware was sucessful.

but the ruu.exe loads up and i accept the terms and hit next, then the app just dies/quits, only thing i see is that languagebar icon flashes when this happends

im running genuine windows 7 64bit, does it need to be runned in a compability mode of some sort ?
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
Try again with RUU and if possible reboot both devices ( pc and phone )

try with another usb port

Windows 7 is the most compatible os to run the RUU so try again
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
still a no go, tried all 4 availible usb ports and rebooted between them all, downloaded ruu once more . still app just dies when i accept and hit next :(
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
now i have tried from another two computers, with just the same result, ruu.exe dies upon accepting terms and hitting next. :(
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
you are missing some libraries

download and install this

https://www.microsoft.com/en-us/download/details.aspx?id=26368

then run the RUU again
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
there it goes, worked perfectly and now up and running updated :)

thanks a lot for your time struggeling with my noobyness, would not have get this done right without you.

atleast now i know what to do next time i buy a new phone on ebay ;)

just one last question, if i now go into meny or hboot and do factory reset, will it restores it to current flashed image again or mess things up? just so i dont mess this up in a year or so, if things starts to hang up :D
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
there is a button for that ;)

no worry you are on complete stock state anytime you will make a factory reset it will just wipe the user data

but no need for that now as it already wiped everything on the device :good:
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
Good to know :)

Guess this thread can me marked as SOLVED! :good:
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If you like, you can do that yourself, by going to the top post and editing the thread title to add [SOLVED].

The mods don't go around looking for threads to mark as solved.
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
will it be possible to flash my phone with this one ? 0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed

.zip

maybe im wrong but i think maybe this would be my solution to get lte/4g working for telenor norway, as it wont connect to other then gprs/hspa now.

??
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Looks like you already answered this question yourself based on the thread you started here: https://xdaforums.com/htc-one-m8/help/help-to-change-radio-basebands-htc-one-t3582804

Please try to avoid bouncing around to different threads. Or at a minimum, if you answer your own question, go back and post what the solution was, so folks don't waste time trying to help you with a question which was already self answered.
[One (M8) Q&A, Help & Troubleshooting] rmhalvorsen:
noted ;) edited this to solved :)

well, can atleast say that the rom worked on my phone....(but did not solve the problem in my other thread.)
[Huawei P9 Lite Questions & Answers] mrmajco:
Can you somebody help me with migrating from Meticulus Lineage OS to another ROM for P9 lite?

Thank you very much! :)
[Huawei P9 Lite Questions & Answers] Potato997:
In this case the only thing you have to do is to delete registered fingerprints and do a factory reset when you install the new ROM.
[Huawei P9 Lite Questions & Answers] robi10101298:
Even if I'm on 7.0, can I update to Lineage OS from Revolution Recovery? Thanks!
[Huawei P9 Lite Questions & Answers] Potato997:
No, you have first to downgrade to MM and use Meticulus's TWRP
[Android Q&A, Help & Troubleshooting] Lumnos91:
Hey, I'm new here and I'm generally pretty new to flashing and rooting android phones.

I've been stuck with this the whole day, started at 10am, it's 7pm now and I've still made no progress at all.

Anyway here's the problem....

I've got an HTC Desire 516 Dual Sim, (Europe), and over night the Phone just reset itself while it was charging. Was able to turn it back on in the morning, but eventually it reset and went into a boot loop ( Endless HTC Logo, Sometimes black screen just after).

I couldn't access anything, os I went into CWM Recovery and Wiped/Reset the phone to factory defaults. (Previous owned apparently put CWM on it.)

The problems persisted and the phone wouldn't get past the HTC Logo, not even black screen anymore. I've done some google searches, tried to boot into Fastboot and flash it with SP Flash Tool, found a ROM here, but the Fastboot (Volume Down + Power) Doesn't do anything, phone just boots into HTC logo and stays there.

Tried putting the rom onto an SDcard and installing it through CWM, wiped Dalvik Cache and everything, but once I start to flash the rom in CWM, the process just aborts automatically.

Anyway, I've been doing this the whole day, and I'd appreciate any help, plus, explain like i'm 5 please, since i'm not really that android savvy.

If there's an option to just completely reinstall the Recovery+Fastboot+Android System and it takes a very long time, I'll take it, since I can't really get a new mobile phone at the moment, hence why I'm stuck with the 516 in the first place. :(

Thanks a bunch for the replies guys :)
[Sprint Samsung Galaxy Note II] internetpilot:
I noticed that Lineage OS is officially available for another variant of the Note 2 (I believe AT&T), but is anyone working on a version (unofficial or official) for the Sprint Note 2?

I'm using a Nexus 6 as my daily phone, but my trusty ol' Note 2 is my backup. Right now it's on CM 12.1, but I'd really like to get it on Nougat, especially now that my son's Galaxy S3 actually has an official version of Lineage OS 14.1! I even have Lineage OS 14.1 on my Note 10.1 2014 edition tablet, but there doesn't appear to be any love for our Sprint Note 2?
[Sprint Samsung Galaxy Note II] nydriek:
I am curious about this too! My main phone is a Galaxy Note II from Sprint. It has been chugging along with CyanogenMod but I really wanted to try out LineageOS. Maybe it is time to finally upgrade? :laugh:
[Sprint Samsung Galaxy Note II] Krillen:
I too would like to know this. Yes I know I am not able to know a date but at lease would like to know if one was being worked on yet since the room is for these Note 2 models: Galaxy Note II (GSM LTE) (t0lte),

Galaxy Note II (Korea) (t0ltektt), Galaxy Note II (SK Telecom) (t0lteskt), Galaxy S II (Intl) (i9100). Hopefully we can find out if one is at least being worked on officially or unofficially since it's for those other models.
[Samsung Galaxy S7 Questions and Answers] echogen:
Hi All,

I am facing issues with my Samsung S7 Bluetooth connectivity to my Samsung Level U headset.

I can play media normally, however i am not able to engage in any kind of phone call (Whether over GSM or through VoIP)

Hence i can play music, record a whatsapp voice note, however regular phone calls, whatsapp calls, viber, line and all such things don't work.

What happens is that the Bluetooth icon becomes active in the call, however nothing can be heard... i would require to disable the Bluetooth icon in the calling application in order to hear again through the phone speakers.

I tried the following workarounds and none of them worked.

- Wipe the cache

- reset Bluetooth settings

- installed new firmware

- reinstalled Bluetooth application from samsung...

PS. the headset works great on other phones (iPhone, Samsung S5....) so i don't think it is a headset issue..

Appreciate your support and Thank you!
[Samsung Galaxy S7 Questions and Answers] woodmj:
Is 'Phone Audio' clicked on in the Bluetooth connection for the headset along with 'Media Audio'?
[Samsung Galaxy S7 Questions and Answers] echogen:
Hello woodmj,

Yes it is
[HTC One Max] sfa135:
i am do format but same problem

and same problem with differnt modem and differnt places

rom 5.0.2 offical

plz help me
[OnePlus 3T Questions & Answers] belumira:
I'm rooted with SuperSU 2.79 systemless on OOS 4.1.0 and I can't get permission to write on /system.

I tried using ES FIle Explorer and the option keeps changing to RO. I also tried via recovery. Root permissions are granted and It's properly root.

Any clues?
[OnePlus 3T Questions & Answers] Naprzod:
I had the same issue. I don't remember what I did. Try uninstalling super su from the app and then install it again.
[OnePlus 3T Questions & Answers] belumira:
Did that, I even clean flashed OOS again nothing seems to be working.
[OnePlus 3T Questions & Answers] Vaibhunk786:
I also had problem with ES File Explorer while writing to system. Try solid Explorer. It's better
[OnePlus 3T Questions & Answers] belumira:
Still nothing. For some reason permissions won't change.
[OnePlus 3T Questions & Answers] martinklaus:
You have systemless root?

If yes I think you can only modify data Partition. Maybe you need a magisk module?
[OnePlus 3T Questions & Answers] OcazPrime:
Remove superSU and just go with Magisk. It works much better than SuperSU ever will. It's easily removable and won't adjust partition permissions, including system. Make sure you mount system in twrp before flashing any root access zip file as well. It helps prevent problems like this.
[OnePlus 3T Questions & Answers] jhill110:
Fix To Grant ES File Explorer SuperSU Access Using Terminal Emulator

Start Terminal Emulator. Type su.

ENTER EXACTLY LIKE THIS: echo "BINDSYSTEMXBIN=true" >> /data/.supersu

Spaces.......................................................................................... ^....^.........

Make a backup first incase ****e goes south... This has worked for me on a couple of devices.

Standard disclaimer... Yada...
[OnePlus 3T Questions & Answers] mate9-109:
I have the same problem.

Sorry but I dont understand what I have to write, I understand type su

and type echo "BINDSYSTEMXBIN=true" >> /data/.supersu

but whats mean:

Spaces.......................................................................................... ^....^.........

Mean: ^ ^

doesnt mean anything? :crying::crying:
[OnePlus X Q&A, Help & Troubleshooting] DrDuty:
Hi guys,

i have the new bootloader installed with a custom rom on android 7.1

is it possible to go back to Marshmallow or do i need to downgrade the bootloader aswell?

thx
[OnePlus X Q&A, Help & Troubleshooting] yuv93:
Yes it is possible. I don't think you have to downgrade bootloader to go back to marshmallow.

You can simply flash any MM custom rom that supports new bootloader, coz many MM custom roms support new bootloader. So you have to see the description before flashing any MM custom rom.

OOS MM support new bootloader.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] jerrys0828:
The upcoming Tab S3 is the first tablet that I've seen that seems like it would be a good replacement / upgrade for the Note 10.1 2014.

Here are some PROs and CONs as I see it:

PRO:

- battery life

- processor

- "HDR"

- USB-C

- Fingerprint Sensor

- Low weight

- look / feel

- magnetic keyboard option

- 4096 levels pressure sensitivity

- larger rubberized s-pen

CON:

- portrait button orientation

- price

- pen does not fit inside tablet

- pen doesn't have eraser (not important for most, but leaves me using old pens that don't take advantage of the heightened pressure sensitivity)

- Big one: early reviews suggest s-pen input lag

The main con for me is really that custom ROMs have made my Note snappy enough that I don't feel like I really need to upgrade (aside from my aging battery life). With 7.1.1 ROMS (currently on LiquidDeath, but Lineage is great, too) I finally don't get s-pen lag when drawing or writing and would be frustrated to have to deal with that again.

I don't think I can justify the expense right now, but if I had the cash this would seem like a solid choice. Opinions?
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] pmdevita:
I agree with everything you've listed.

I was a bit worried about losing screen size so I calculated some stuff.

Note: 8.6 x 5.4in - 46.44 sq in

Tab: 7.8 x 5.8in - 45.24 sq in

The tab loses a bit of length but gains it back in width. Not going to be as big for widescreen movies and such but hopefully not too bad.

I'm also not a fan of the reduced PPI but I'm going to Best Buy sometime to compare.

The pen not fitting inside is a big issue since it's easy for me to lose them (and the replacement is $60). I would probably put something on its belt clip to keep it attached to me.

However, the pen's gained size may feel nicer in the hand and make it more difficult to lose.

We'll get ROMs eventually. Except if the bootloader is tied down like on the S7 (is it?)
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] Stevethegreat:
IMO it has 3 big cons not listed here.

Aspect ratio. It's bad for for android. Most iOS apps are optimized for 4:3, so it's a good fit for iPad. Most android apps actually look bad on 4:3 (used Mi tab, apps didn't look good). 4:3 is bad for media consumption. Websites are optimized for widescreen.

Lack of MHL is a big con for me too. I frequently use my tablet as my portable computer (booting linux) or portable media center. I don't find wireless a good alternative (things like chromecast), too much input lag and requires live Internet connection most of the times.

The smaller battery. Sure Note 10.1 has a more power hungry screen and SoC but the difference in battery capacity is so great that with a power efficient rom you always get better autonomy with Note 10.1
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] pmdevita:
Does it not support DisplayPort over USB-C? If not, on Reddit there is a guy with a solution that works for the pixel, which also doesn't support DP over USB-C and that may work. Can't post the link since I'm still new but you can google "google pixel is wired output possible" to find the post.

Went to Best Buy recently and tried it. Couldn't do much since it was locked in demo mode (so I couldn't see how badly apps handle the 4:3 screen) but it seemed like a nice device.

Have you guys seen the Chromebook Plus/Pro? It's a Samsung Chromebook with an Spen, Android app support, and it folds into a tablet. It supports DP over USB-C. Downside is no button on pen. Might be a better fit if you are using the tablet as a portable computer and it will run Linux even better than the tab.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] Stevethegreat:
I think only S8 supports video output over usb C at this point. Display output over usb 3 (as per the reddit page) is buggy at best. Tried it to one of my laptops, it's good for quick work, I wouldn't trust it for real work.

Chrome book plus is better for work. But an ultrabook is even better.

It's very bad as a tablet though. I've found out that the further away we are from 500 grams / 1 lbr mark the less people use the said device as a tablet. There is a reason , most books do not weigh more than 1lbr for easier reading. A tablet plays a similar role, the heavier it is the more unusable. Note 10.1 2014 is on the heavy side (would prefer if it had 100 less grams) but still very usable. 1KG tablet/laptops are not though. You may make the occasional tablet use, but no way you get it in the couch for media viewing or reading, or on a trip as a handheld, pretty much why the 2in1 idea never flew (people find that they don't use them as tablets so prefer to go the ultrabook route all the way).