I need help g7 power - Moto G Power Questions & Answers

To flash the original ROM of the G7 Power and I could not, I tried to create from the GPT.bin a file Parition.xml and I get the following error.
C:\Python27>GPTAnalyzer.py gpt.bin > partition.xml
Traceback (most recent call last):
File "C:\Python27\GPTAnalyzer.py", line 644, in <module>
main()
File "C:\Python27\GPTAnalyzer.py", line 622, in main
fbuf = get_part_table_area(f, gpt_header)
File "C:\Python27\GPTAnalyzer.py", line 145, in get_part_table_area
fbuf = get_lba(f, part_entry_start_lba, first_use_lba_for_partitions - part_entry_start_lba)
File "C:\Python27\GPTAnalyzer.py", line 49, in get_lba
fhandle.seek(LBA_SIZE*entry_number)
OverflowError: long too big to convert
and I do not know what to do, someone who can help me making this file to create the Patch.xml and rawprogram.xml
I leave the GPT.bin and I hope someone can help me please

Related

Awn Manager not opening

I did some googling and can't find the answer to this. Is there any way to put an app onto the dock? I know the best way would be to install xfce but I quite like the look of the dock.
thanks
Ok I try and run awn-manager from the terminal and it spits this out
[email protected]:/$ sudo awn-manager
(process:12909): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/bin/awn-manager", line 49, in <module>
from awnPreferences import awnPreferences
File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 40, in <module>
defs.i18nize(globals())
File "/usr/share/avant-window-navigator/awn-manager/awnDefs.py", line 91, in i18nize
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python2.6/locale.py", line 513, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

[Q] WhatsApp Xtract can not extract .bak file.. how to ?

When I am trying to recover .bak files of WhatsApp they are not recovering ..
they giving me this error.
"
C:\Users\------\Desktop\------>python "C:\Whatsapp_Xtract_
V2.51_2013-03-15\whatsapp_xtract.py" "C:\Users\-------\Desktop\-----\messageStore.db.w.1387906045344.bak"
Python Version 2.x
Detected non-SQLite database, potentially an encrypted Android database
Trying to decrypt Android database...
Traceback (most recent call last):
File "C:\Whatsapp_Xtract_V2.51_2013-03-15\whatsapp_xtract.py", line 2678, in <
module>
main(sys.argv[1:])
File "C:\Whatsapp_Xtract_V2.51_2013-03-15\whatsapp_xtract.py", line 1440, in m
ain
decoded = cipher.decrypt(open(options.infile,"rb").read())
File "C:\Users\Shubham\AppData\Roaming\Python\Python27\site-packages\Crypto\Ci
pher\blockalgo.py", line 295, in decrypt
return self._cipher.decrypt(ciphertext)
ValueError: Input strings must be a multiple of 16 in length
Press any key to continue . . .

[Q] Build Error (stuck)

generating changelog...
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 338, in _handle_tasks
for i, task in enumerate(taskseq):
File "/usr/lib/python2.7/multiprocessing/pool.py", line 260, in <genexpr>
self._taskqueue.put((((result._job, i, func, (x,), {})
File "/home/novaswift/giveup/.repo/repo/subcmds/forall.py", line 216, in <genexpr>
for cnt, p in enumerate(projects))
File "/home/novaswift/giveup/.repo/repo/subcmds/forall.py", line 157, in _SerializeProject
'lrev': project.GetRevisionId(),
File "/home/novaswift/giveup/.repo/repo/project.py", line 1190, in GetRevisionId
self.name))
I'm trying to build but the build is stuck here for a long time.I tried Googling it but no luck. Anybody know how to fix it.

Invalid Boot.img when trying to extract kernal and ramdisk.

A very warm Hi! to the XDA community
My phone, the Sony Xperia E4, does not have a recovery - so I am slowly learning how to develop one. It has an MT6582 chip.
In the process I have obtained the stock boot.img (via boot.sin) from the phone's stock .ftf firmaware file.
I wish to use MTK droid tools to create the recovery, however it first gave me the error that the boot.img file is not split. After some research I came to learn that such boot.img files need to be split into the kernal (Zimage i believe) and ramdisk.
After some further research I came across this seemingly helpful guide and tool on how to split the boot.img file on Windows (unfortunately I do not have Linux at my disposal atm).
Now to my issue: (referring to the aforementioned guide & tool) When running the command
Code:
bootimg.exe --unpack-bootimg boot.img
I get this error:
Code:
AssertionError: invald bootimg
Which leads me to believe the boot.img file I have extracted may be corrupt or extracted from the wrong .sin file.
If you are still with me, how can i confirm that the boot.img file from the stock rom is indeed "working" and contains ramdisk and kernal?
Some extra information:
This is the guide I used to initially extract the boot.img file from my phones stock firmware. They highlight that boot.img is extracted from the kernal.sin file. My firmware has no such file. Later in the comments it mentions that newer Sony phones have the boot.img file in the appropriately named "boot.sin" file. This is the file i used to extract my boot.img. Thus from here I cannot see why the boot.img file cannot be split.
The full command line and response is:
Code:
C:\Users\\Downloads\Cofface>bootimg.exe --unpack-bootimg boot.img
arguments: [bootimg file]
bootimg file: boot.img
output: kernel[.gz] ramdisk[.gz] second[.gz]
Traceback (most recent call last):
File "<string>", line 2213, in <module>
File "<string>", line 1424, in unpack_bootimg
File "<string>", line 151, in parse_bootimg
AssertionError: invald bootimg
Thanks very much in advance!

Issue With repo

When using `repo sync` with my current source tree it spits out a Python stack trace and I am not sure why. I tried reverting my changes to the manifest, but that did not help.
Code:
$ repo sync
Traceback (most recent call last):
File "/home/gudenau/gud_android/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/gudenau/gud_android/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/gudenau/gud_android/.repo/repo/main.py", line 158, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/gudenau/gud_android/.repo/repo/command.py", line 67, in OptionParser
self._Options(self._optparse)
File "/home/gudenau/gud_android/.repo/repo/subcmds/sync.py", line 189, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/gudenau/gud_android/.repo/repo/manifest_xml.py", line 360, in default
self._Load()
File "/home/gudenau/gud_android/.repo/repo/manifest_xml.py", line 428, in _Load
self._ParseManifest(nodes)
File "/home/gudenau/gud_android/.repo/repo/manifest_xml.py", line 481, in _ParseManifest
remote = self._ParseRemote(node)
File "/home/gudenau/gud_android/.repo/repo/manifest_xml.py", line 657, in _ParseRemote
return _XmlRemote(name, alias, fetch, pushUrl, manifestUrl, review, revision)
File "/home/gudenau/gud_android/.repo/repo/manifest_xml.py", line 78, in __init__
self.resolvedFetchUrl = self._resolveFetchUrl()
File "/home/gudenau/gud_android/.repo/repo/manifest_xml.py", line 88, in _resolveFetchUrl
manifestUrl = self.manifestUrl.rstrip('/')
AttributeError: 'NoneType' object has no attribute 'rstrip'
The repo version is 1.23 with a hash of e147f0392686c40cfd7d5e6f332c6ee74c4eab4d24e2694b3b0a0c037bf51dc5, just as Google says it should be.
Any idea what I have done wrong with this? All I have changed so far is a couple lines in frameworks and the manifest, the idea being to add the microG signature spoofing patch at the moment.
The manifest if you need to take a look.

Categories

Resources