yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Rayster:
Uhm can anyone help me?

I don't know if I am the first one who bricked a Lenovo P700 or I'm just stuck with this.

Anyways, the problem started when I rooted successfully my P700. Then after installing the applications I want to use, I played around with the ROM Toolbox Pro application modifying the Font of my phone. Since it required me to reboot, I rebooted and this is where I was stucked with 'lenovo' logo

I want to know what necessary steps to do in order for my phone to be functional again. I did a System Back-Up and Restore using the stock app by my P700 before I rooted my phone.Thanks!

Update: I encountered this 'odex' when I was modifying my phone's font using the Rom Toolbox Pro

-- I'm really new to this stuff, please go easy on me..
[Android Q&A, Help & Troubleshooting] Rayster:
Uhmm anyone? Sorry for the spam. :crying:
[Android Q&A, Help & Troubleshooting] cybermaus:
I never done any multilang. I may start doing that at some future time, but then at first on a phone I own myself. So not the P770, sorry

This was discussed before, and the consensus was the Etotalk has the specs listed incorrectly, and the A660 does not have a magnetic sensor.

Interesting, thanks.

Your best bet is to use the flash utility (link to guide in post#1 of this thread) to flash the factory ROM. Your backup is not usable, as it only backs up data and apps, not the ROM itself. Find a ROM called P700_ROW_S113 and flash that, or contact your vendor for whatever ROM they put on it. Remember the factory ROM only has English language.
[Android Q&A, Help & Troubleshooting] Rayster:
It seems like I understand and done everything the hard way :crying:

I am currently flashing my P700 using the ROM P700_ROW_S113 I have found from EpsilonTheGreat the moment I see your reply. On the brighter side, I know now how to do this kind of things.

Next step: Update my S113 to S114, restore my back-up and root again. This time, I'll be cautious.
[Android Q&A, Help & Troubleshooting] myxal:
sdcard vs. sdcard2 - repartitioning the internal flash?

Hi,

Can anyone explain the purpose of having ~2GB of the internal storage allocated to a fake sdcard?

The Lenovo ROM allows me to use either the fake SD, or the actual SD partition, but apparently not both at the same time. If I always have a real sd card in my phone and never remove it, what's the point of having the fake partition anyway? I'd be much happier if I could use those 2 GB to increase /data and/or /system partitions.

Which brings me to the next question - can this repartitioning be done? Even if the ROM isn't able to function without fake SD, I'd be happy with shrinking it down to ~200 MB and give the free space to /data, which is woefully small unless I move the apps to SD card using the application manager.
[Android Q&A, Help & Troubleshooting] bgcngm:
What you want is possible and I have done that for both ZTE V970 and Huawei U8836D. The latter has a strange way of mounting sdcard partitions, but I suspect that Lenovo implemented it the same way ZTE did. What is your phone, by the way?
[Android Q&A, Help & Troubleshooting] myxal:
I have the Lenovo A789. The ROM (both cybermaus and etotalk) have an option in Settings -> Storage:

[I]Default write disk:
(_) USB storage
(o) SD storage[/I]

Basically, the setting affects which of the partitions gets mounted under /mnt/sdcard, while the other is mounted under /mnt/sdcard2. The /sdcard symlink in root always points to /mnt/sdcard. Both are fat32 partitions.

When I connect the phone to a computer in USB storage mode, both become visible on the PC. The real sdcard is visible as-is, with partition table and any other partitions that might be on it, while the "USB storage" is visible as a superfloppy partition (no partition table).

I honestly see no reason to even have the USB storage partition. OK, maybe it's useful for windows users who need to get the driver which is on it, but allocating 2GB for that seems a bit ridiculous. :rolleyes:
[Android Q&A, Help & Troubleshooting] bgcngm:
And do you want to extend userdata and completely disable that virtual internal sdcard? I will create the modified MBR/EBR1 for you to test.
[Android Q&A, Help & Troubleshooting] myxal:
I don't expect to actually use it, but I fear that some Lenovo apps (Settings?) might freak out if the partition is outright not present. So I'd go with shrinking the virtual SD card to ~70 MiB.

Let's have a look where that space would go - the present state is:

# df
Filesystem Size Used Free Blksize
/dev 236M 52K 236M 4096
/mnt/asec 236M 0K 236M 4096
/mnt/obb 236M 0K 236M 4096
[B]/system 502M 408M 94M 4096
/data 754M 676M 78M 4096[/B]
/cache 502M 8M 494M 4096
/mnt/sdcard 21G 19G 2G 16384
/mnt/secure/asec 21G 19G 2G 16384
[B]/mnt/sdcard2 1G 10M 1G 4096[/B]

I recall cybermaus mentioning, that some apps were removed from the ROM due to lack of space. As I understand, Ti-Backup can be used to turn any installed application into a "system" application, which is the same as if the app came with the ROM, correct? I plan to restore some apps which were bundled with the etotalk ROM (ADW Launcher EX, some tethering apps, etc.) into /system, but don't know the space requirements yet. I say increasing /system to 640 MiB should be enough for everybody. :)

The rest would then go to /data, which should grow to approx 1,5GiB, if I'm counting correctly.

Any links to more info on that? At the moment, I don't know what that is or what would I do with it.
[Android Q&A, Help & Troubleshooting] bgcngm:
I wouldn't intend to mess with any partitions other than userdata (/data) and the virtual internal sdcard. With the proper changes the virtual sdcard can be completely disabled... that works fine for both of my devices.

To know more about this process go to one of my threads and have a look into post #4. I'm not at home right now so I can't send you the modified files.
[Android Q&A, Help & Troubleshooting] cybermaus:
To be precise, on the latest A789/A660/P700i ROW builds, I mentioned I kept out some build in apps because they were huge, and push system close to 98%, which made me feel uneasy. And I felt apps like GooglePlus, Facebook, Chrome should be user apps, not system apps.

Also, I never put a lot of effort into repartitioning, because if you set the storage to external SD rather then internal SD, it works just as well. I do not think anyone actually had a problem with 768MB being too little. It's more the 'idea' that you have another 1.8GB unused space, but next to the 8GB or 16GB cards people have, that is really not too significant.

And I am slightly worried of some people then flashing other ROM's, and starting to complain the phone doesn't work anymore. So I am in doubt myself: Go along with you guys, purely for the challenge, or keep as is, to avoid problems.

I need to decide though, as a new P700i_ROW came out last week. So I need to rebuild the A789/A660/P700i series.

Also, if I would re-partition, I wonder if I would not also add a swap partition. Not because I think it would speed things up, but because people are asking for it, and that way they can see it does not really help (or alternatively, I can be proven wrong, and see it does help)
[Android Q&A, Help & Troubleshooting] cacofonix3:
I will make a sill question, sorry about that.

I want to buy a charger and usb cable for Lenovo A750, what should I choose?

EU plug

I am asking this because I tried twice, and there is problem with voltage.
[Android Q&A, Help & Troubleshooting] cybermaus:
Problem with voltage? How do you mean?

As far as I know Lenovo A750 does not have any speedcharge mode, so any USB cable and any USB charger should do, which means 5V to max 5.2V voltage and 750mA or more.
[Android Q&A, Help & Troubleshooting] cacofonix3:
Input: 100-240V

50/60Hz 0.2A

Output: 4.8V - 0.4A

I lost my charger. This is an LG one.
[Android Q&A, Help & Troubleshooting] myxal:
The charger for my A789 is rated for 0.7A at 5V. I thought that was pretty much standard for smartphones - I'm surprised that LG is only 0.4A :confused:

Check the status in Settings -> About phone -> Status -> Battery status - you should be getting Charging (AC) on a wall charger, and Charging (USB) on a computer. From the 3 phones I've had, all of them distinguished between wall charger and computer by detecting closed circuit between USB data wires.
[Android Q&A, Help & Troubleshooting] cacofonix3:
The problem started from etotalk...They sell chargers with adapters...but these adaptors are low quality...so they can break...finally i lost it and a friend gave me hid adapter...

Now i have to buy one usb with plug from eBay since I don't like theses...
[Android Q&A, Help & Troubleshooting] cybermaus:
Like myxal, I am surprised those values even exists (as a USB charger). Like I said before: 5 to 5.2V. 0.7A or up.

There are thousands of them on eBay for less then US$5. Though maybe you should not go for the absolute cheapest one. And if you want one *now* and/or be certain of the quality, all phone shops around your area also have them, maybe for a Euro or 10.
[Android Q&A, Help & Troubleshooting] leFloyd:
USB ports are standardized to provide 500 mA. So as cybermaus said, you can use any charger that provides at least this amount.

I'm not sure about speed modes as the A750 charges faster using a separate charger than using USB port.
[Android Q&A, Help & Troubleshooting] fbbpoa:
Hello Cybermaus, I have 2 problems here. When I call to someone my screen lights off and even if I press the power button nothing happens, the screen just turn on again when the person in the other side calls off, Do you know how to fix that? I want to know too how to proceed to install another language which in the factory firmware has.
[Android Q&A, Help & Troubleshooting] sipnotrip:
Sorry for saying this but ... i really do not understant anything of this flashing /rooting ... not everyone here is working in IT... so why nobody does a Jailbreak like sollution for the rest of us who really do not want to know anything about custom roms ..or whatever other recovery /etc ...
[Android Q&A, Help & Troubleshooting] bugunjito:
Problems with speaker

hello guys, I have a problem with my lenovo a789, the speaker stopped working after it that after a while with a strange hum, as if too high and distorting the sound, once he stopped working, my suspicion is that it has bricked or something ever happened to any of you? i have a friend that have a htc evo 3d and it did the same thing, then he did a hard reset and went back to work, that will work in my case? can you explain me how to do a hard reset on my lenovo? after that I'm just having trouble using the phone on speaker out or bluetooth headset. my rom is apkhot.

I do not know what else to do.:confused:
[Android Q&A, Help & Troubleshooting] cybermaus:
Reboot into recovery and select options to wipe data and cache. If you still have the factory recovery, you can also select 'factory reset' from the menu, but you should not take that last one if you replaced with a custom recovery.
[Android Q&A, Help & Troubleshooting] osoer4:
Hello, it was my problem earlier. The "screen protector" was wrong and the calibration was wrong! Without screen protector worked fine, and it is working well with a new "screen protector"!

Post NO.: #460; #461; #473; #474
[Android Q&A, Help & Troubleshooting] fbbpoa:
Thank you brow, I did this, removed the screen protector, ran the calibration and apply again the screen and now it's working without problems :good:

somebody can explain me how to get the portuguese language found on factory firmware and apply in this cybermaus rom?
[Android Q&A, Help & Troubleshooting] bgcngm:
If your phone contains Portuguese language support it is not a factory ROM, it's a modified one. That's for sure. ;) Lenovo stock ROMs only bring English and Chinese language support. Well... the overseas versions (so called ROW) also bring a few more (Indonesian, Russian and Vietnamese) languages.

Unfortunately you can't easily achieve what you want. The only way was to reverse engineer both ROMs and port the translated strings from one to the other.

Better wait for cybermaus to add support for more languages or flash his ROM anyway and keep the phone in English. Of course, you can use MoreLocale to force locale to be set to PT and applications such as Google apps will show in Portuguese, but not system apps...
[Android Q&A, Help & Troubleshooting] cafemu:
I use your ROM to Lenovo A789 V3.1, but yesterday I try use the video call and not work front camera in this call. Work back camera, but not front.

My ROM: A789_ROW_S106_cybernaus_ICS_V3.1

Anybody test this?
[Android Q&A, Help & Troubleshooting] fbbpoa:
Cybermaus, how much I need to donate to get the portuguese language support in this rom?
[Android Q&A, Help & Troubleshooting] cybermaus:
@fbbpoa;

Well, that would not be called a donation, that would be called a commission. For bespoke work.

Here is the problem. I have never added any languages to any ROM. I think I understand what is needed, but I have never done it because of two reasons: a) I am happy with English myself. b) too busy with other stuff. That means it would be my first time and take a lot of time.

So I am very sorry, but no.
[Android Q&A, Help & Troubleshooting] cybermaus:
Some feedback please

Question to all Lenovo owners (with some shell experiance)

Especially P700 owners, but also A789, P700i and A660 owners:

Please run this command for me and report results (for example using the ADB terminal from MTK Droid tools:

adb shell
su
cat /sys/board_properties/virtualkeys.mtk-tpd

it should return something like:

A750: 0x01:139:80:850:160:100:0x01:172:240:850:160:100:0x01:158:400:850:160:100

A789: 0x01:139:60:850:120:100:0x01:172:180:850:120:100:0x01:158:300:850:120:100:0x01:217:420:850:120:100

Edit: as I suspected, the kernel reports for every key:

scancode, X-coor, Y-coor, Width, Height

Pity it is read only, a reported kernel value, probably determined during kernel config.

Anyone has the A660 values?
[Android Q&A, Help & Troubleshooting] myxal:
My A789:

0x01:139:60:850:120:100:0x01:172:180:850:120:100:0x01:158:300:850:120:100:0x01:217:420:850:120:100
[Android Q&A, Help & Troubleshooting] fbbpoa:
@Cybermaus;

Ok, I understand you, but anyway let me ask you some things.

In the original firmware that came with my cellphone it had portuguese language support, but how I've changed it for your ROM I guess I lost this one right? Do you know where I can find this firmware again or even better a updated version because this firmware that came was too bugged.

And do you know this software?

http://www.xda-developers.com/android/b-a-r-t-helps-you-translate-android-roms-the-easy-way/

I'm very newbie on this android things and I didn't understood how it works.
[Android Q&A, Help & Troubleshooting] cybermaus:
@fbbpoa;

Interesting link. I will surely play with it. Mind though, as it mentiones deodexed ROM's, the ROM will be slightly slower. Also, me promising to play with it does not mean a result is forthcoming.

The best place to get your original ROM, is by contacting the seller. If for example it was Etotalk, they can resend it to you.

And BTW: The 'buggy' part is also why I am not pushing myself to do 'fancy' things like change notification icons, languages, etc. No Lenovo ROM comes with Portugeese, so your 'original' ROM was already a 'tampered' one. I have the suspicion that all this de- and recompiling, mixing in 'foreign' items is not the best for stability. Which is why I mentioned before that my strategy is to do as little as possible, only cleaning up the ROM, making sure GMS and location services work, and other minor stuff.

Edit: You never actually said *which* phone you have....
[Android Q&A, Help & Troubleshooting] lukedan:
I changed again my SIM with a different design one from same provider and now all is ok.

Finnaly Lenovo give me an answer:

"The Lenovo P700i only support 1.8V and 3V. 5V is not supported. You may check the operating voltage of your SIM card through your network provider. "
[Android Q&A, Help & Troubleshooting] oz42:
I tried this BART tool on the Cybermaus ROM. Worked great, but some parts were English, e.g..settings and phone.apk, some were German. I did not feel well about that and restored my backup. But at least this tool looks promising.
[Android Q&A, Help & Troubleshooting] cybermaus:
Ok. So now we know, no 5V SIM's. Good find. Hats off for your persistance too :cowboy:

Next up: Anyone has any idea's on how to find out if a SIM is 5V?

Also, how did you convince your provider to give you a non-5V SIM? I am pretty sure it is not a checkbox on their SIM request form.
[Android Q&A, Help & Troubleshooting] leFloyd:
I guess 5V SIM is somewhat older. I don't wanna open my phone right now, but I remember reading V and memory size printed on a SIM card I ordered as 32kb was something really new and cool. And all your contacts and messages were saved on it.
[Android Q&A, Help & Troubleshooting] cybermaus:
No, just checked a whole stack of old foreign SIM's. None had anything that could be interpreted as voltage (one did say 128K-3G though).
[Android Q&A, Help & Troubleshooting] pakarbu:
hi...i'd use V3.1 rom on my A789..it a very good rom..:good:

except it seem that it always hang when i switching from back camera to front camera on video mode...

i dont know my device or this rom that had something error...thanks..
[Android Q&A, Help & Troubleshooting] myxal:
Re: re-partitioning

Hi.

OK, I've read the post (this one, right?) and have come up with this:

I'll go with your suggestion and leave /system/ alone. In that case, could you prepare MBR and EBR for a setup with sdcard partition reduced to 100MiB and all the freed-up space going to /data?

The post mentions also flashing RECOVERY. Why was this necessary? It seems to be placed before either of the affected partitions, so it shouldn't be affected, or am I wrong?

Could you share/point me to a howto on generating the MBR/EBR? the terms seem to belong to the MBR partitioning scheme - please don't tell me this is what Mediatek uses to partition the built-in eMMC? Though I guess the upside is that I could use any generic partitioning tool to generate the MBR and EBR?

---------- Post added at 07:03 PM ---------- Previous post was at 06:57 PM ----------

Here's a thought, if anyone wants to investigate further: SIM card readers and writers for USB (like this one) exist. I suppose the software that comes with it can report what voltage the card operates on?
[Android Q&A, Help & Troubleshooting] myxal:
I actually made a mistake in my first post on repartitioning, and my FAT partition is already at 1 GiB. That't still too big for my preference.

"55 AA" - So it is the bad old DOS partitioning scheme!! :crying: I'll have to read up on that.

Yeah, I got that from bgcngm's post in the ZTE topic. :) I was hoping you guys had a script/spredsheet ready for this, but never mind.

Most likely, I can't and/or don't want to use your MBR, so I'll have to whip up the Calculator app and hand-edit my own. :fingers-crossed:

Any hints as to which MBR record is for which partition?

From your MBR record, the entries seem to be, in order: Extended, Linux (system?), Linux (data?), FAT32 (fake SD?).
[Android Q&A, Help & Troubleshooting] myxal:
I was going to say "yeah, my fat partition isn't big enough to give me enough space to expand data beyond 2GB anyway, and then it hit me: Where the heck is all that space anyway? The sum of partition capacities doesn't add up anywhere near to 4 GB (I realize some are not visiible inside Android, but that's just peanuts compared to ROM, cache, data and FAT).

So, looking at /proc/emmc:

shell@android:/ # cat /proc/emmc
partno: start_sect nr_sects partition_name
...
emmc_p6: 00391f40 [B]003a99c0[/B] "fat"

Assuming 512B sectors, that number should make for a partition, which is a hair over 1850 MiB. WTF? Why is my fat partition much smaller?

I'm going to investigate this further and report back.

---------- Post added at 09:11 PM ---------- Previous post was at 09:00 PM ----------

Well, that was easier than I thought - hook up to the PC, switch to USB storage, and...

# dmesg | tail
[572906.263509] sd 16:0:0:0: Attached scsi generic sg4 type 0
[572906.263940] sd 16:0:0:1: Attached scsi generic sg5 type 0
[572906.294336] sd 16:0:0:0: [sdd] Attached SCSI removable disk
[572906.295074] sd 16:0:0:1: [sde] Attached SCSI removable disk
[574368.758002] sd 16:0:0:0: [sdd] 61521920 512-byte logical blocks: (31.4 GB/29.3 GiB)
[574368.758990] sd 16:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[574368.763495] sdd: sdd1 sdd2
[B][574370.790133] sd 16:0:0:1: [sde] 3840448 512-byte logical blocks: (1.96 GB/1.83 GiB)[/B]
[574370.791119] sd 16:0:0:1: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[574370.795530] sde:

Etotalk or Lenovo (whoever's responsible) - you bunch of dolts!!! If you're going to go the lazy way of slapping on a FS image instead of copying files, at least take the extra 30 seconds to grow the FS to its full size!! *facepalm*

Oh, my mistake. It turns out the FS is sized correctly, but android's shell's builtin df reports capacities in rounded-down integers only. My bad.
[Android Q&A, Help & Troubleshooting] ber31inger:
Hi all,

any willingness to create a custom ROM for Lenovo Ideaphone A800? Still lot of Chinese stuff in there and also the etotalk app is strange...I just need to have a pure android system in English and all functions to work...I am willing to pay as well...thank you
[Android Q&A, Help & Troubleshooting] cacofonix3:
Good idea. Just bought it for my brother from etotalk, I will have in 1-3 days.
[Android Q&A, Help & Troubleshooting] myxal:
Alright, I now somewhat have an idea what's going on here and what the target partitioning should look like. Note to self:

data-new should be at 0x211740, size 0x4f7800
fat-new should be at 0x709740, size 0x32000

So I've looked at the MBR.

$ hexdump -C -n 64 -s 0x1be MBR
000001be 00 00 00 00 05 00 00 00 20 00 00 00 ff ff ff ff |........ .......|
000001ce 00 00 00 00 83 00 00 00 40 ac 00 00 00 28 00 00 |........@....(..|
000001de 00 00 00 00 83 00 00 00 40 07 01 00 00 00 10 00 |........@.......|
000001ee 00 00 00 00 83 00 00 00 40 0f 11 00 00 00 10 00 |........@.......|

The good news is, the horrible-to-calculate CHS fields are empty, so calculation should be easy, as LBA values are used exclusively. The bad news is, all primary partitions are type 83, corresponding to sec-ro, android, and cache, so both fat and usrdata are in EBR1, which is actually just another MBR-format partition table:

$ hexdump -C -n 64 -s 0x1be EBR1
000001be 00 00 00 00 83 00 00 00 [B]20[/b] 17 21 00 00 00 18 00 |........ .!.....|
000001ce 00 00 00 00 83 00 00 00 [B]20[/b] 1f 39 00 [b][u]df e0 c6 ff[/u][/B] |........ .9.....|
000001de 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001fe

Type 83... Rrrriiiight... :rolleyes:

So it looks like I'll just have to edit & flash EBR1. Wait nope, now I'm confused - compared to values I'v seen in /proc/emmc, the LBA location in EBR1 for both partitions is off by 0x20 (no big deal) and the size of fat partition is completely different. Whats's that all about? :confused:
[Android Q&A, Help & Troubleshooting] motherninja:
Hi all, I want to flash SemiAOSP custom ROM from Russian's Lenovo Mobile Forum (URL: lenovo-forums.ru/topic/612-custom-rom-codenamesemiaosp-%D0%B4%D0%BB%D1%8F-lenovo-ideaphone-p700i/), this ROM is what I wanted for my Lenovo P700i since it have a stock ICS looks. But it needs to update the original firmware to SW 107 (I had SW 106), can somebody explain how to do this? I already have CWM recovery.